The following registry value names control network identity:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName\ComputerName is the current NetBIOS computer name.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName\ComputerName is the NetBIOS computer name that will be used when the computer is restarted.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Hostname is the host name of the computer.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\NV Hostname is the host name that the computer will take when it is restarted.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Domain is the current DNS domain name. Domain may be empty or not present. The full computer name is the values of Hostname + Domain.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\NV Domain is the DNS domain name that the computer will use when it is restarted. The full computer name after a restart is the values of NV Hostname + NV Domain.