How to Troubleshoot the NetID Component in Windows 2000

ID: Q228805


The information in this article applies to:
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Professional

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

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: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

To enable logging of the NetID component:

  1. Install the "checked" build of the Netid.dll file in the System32 folder.


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


    • 0x0020 - Output log header with build and time stamp


    • 0x0040 - Capture the call stack for each invocation of operator new


    The low word is a mask of output options:

    • 0x0001 - Output to file in the %SystemRoot%\Debug folder


    • 0x0002 - Output to debugger (OutputDebugString)




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 Hostname + "." + Domain.


    • 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 Hostname + "." + NV Domain.


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




Additional query words:

Keywords : kbenv kbtool kbtshoot ntdomain
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.