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...
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...