Windows 10 When a user renames a computer to a name with length greater than 15, where does Windows 10 store the fullname for restart?

  • Thread starter Thread starter Jackie Z
  • Start date Start date
J

Jackie Z

Guest
The only two registry keys relating to computer name I know of are:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName

and

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName

but when I rename my PC to be a name longer than 15 characters (ex: OneTwoThreeFourFive) and recheck HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName, I only see the first 15 characters and it's in all caps, abiding to NetBIOS format (ex: ONETWOTHREEFOUR).

However, when I restart my computer, my computer name changes to OneTwoThreeFourFive. $(hostname) gives me the full, true name just fine as well. Where is the name being stored?

More...
 
Back
Top