Microsoft KB Archive/228805

= How to Troubleshoot the NetID Component in Windows 2000 =

Article ID: 228805

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q228805



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
You can use the Network Identification tab in the System tool in Control Panel to configure workstation or member server NetBIOS names and domain membership. This is also referred to as NetID.

The article describes how to troubleshoot NetID issues.



MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To enable logging of the NetID component:  Install the "checked" build of the Netid.dll file in the System32 folder. Add or change the following registry value

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\AdminDebug\NetID

to a REG_DWORD value of 0xFF0003.

The 0xFF0003 value provides full logging to a file and to debugger output of all NetID operations. The log file is named %SystemRoot%\Debug\Netid.log.

The DWORD value is a bit mask. The high word is a mask of logging levels:

 0x0002 - Trace constructor and destructor calls 0x0004 - Trace AddRef and Release calls 0x0008 - Trace function entry and exit 0x0010 - Output trace messages</li> 0x0020 - Output log header with build and time stamp</li> 0x0040 - Capture the call stack for each invocation of operator new</li></ul>

The low word is a mask of output options:

<ul> 0x0001 - Output to file in the %SystemRoot%\Debug folder</li> 0x0002 - Output to debugger (OutputDebugString)</li></ul> </li></ol>

Registry Keys for NetID
The following registry keys are used by the NetID component:
 * HKLM\SYSTEN\CurrentControlSet\Control\ComputerName\ActiveComputerName

Contains the current NetBIOS computer name.
 * HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName

Contains the NetBIOS computer name that the computer will acquire the next time it is started.
 * HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

Contains the following values:


 * Hostname: The current host name (short computer name) of the computer.
 * NV Hostname: The host name the computer will take when it is restarted.
 * Domain: The current DNS domain name of the computer. This value may be empty or not present. The full computer name is  + "." +.
 * NV Domain: The DNS domain name that the computer will use when it is restarted. After the computer is restarted, the full computer name will be NV  + "." + NV.
 * SyncDomainWithMembership: If not present or if non-zero, the DNS domain name value will be changed when the computer joins a Microsoft Windows NT domain. The name will be that of the DNS domain name of the domain.

Keywords: kbenv kbinfo kbtshoot KB228805

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.