"Error 3758096385" Error Message After You Finish a Non-Authoritative Active Directory Restore (329871)



The information in this article applies to:

  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Server

This article was previously published under Q329871

SYMPTOMS

After you finish a non-authoritative restore of your Active Directory directory service database, the Windows Internet Naming Service (WINS) on the domain controller does not start. If you try to manually start WINS you may receive the following error message:
Could not start the Windows Internet Name Service (WINS) on the Local Computer. Error 3758096385
You may also find one or more of the following events in the Event Viewer System log: Event ID: 7023
Description: The Windows Internet Name Service terminated with the following error: %3758096385

-or-

Event ID: 4165
Description: WINS has encountered an error that is causing it to shut down.

-or-

Event ID: 4291
Description: WINS tried to get its addresses but failed. Troubleshooting, even if it includes restoring the WINS database or removing and reinstalling WINS, does not resolve this issue.

CAUSE

This issue may occur if there is a damaged TCP/IP configuration on your server.

RESOLUTION

To resolve this issue, remove and then reinstall TCP/IP and its associated services. To do this, follow these steps.

Start in Directory Services Restore Mode

  1. Shut down Windows, and then restart Windows in Directory Services Restore mode. To do this, follow these steps:
    1. When your computer starts and the status bar appears at the bottom of the screen (the words "Starting Windows" appear above the status bar), press F8.
    2. Select Directory Services Restore Mode (Windows 2000 domain controllers only), and then press ENTER.
    3. Click the correct Windows 2000 installation, and then press ENTER.
    4. Log on by using the Directory Services Restore mode credentials that you supplied when you configured the domain controller.
    5. Click OK to confirm that you are using Safe mode.

Remove TCP/IP-Related Services

  1. Click Start, point to Settings, and then click Control Panel.
  2. Double-click Add/Remove Programs, and then click Add/Remove Windows Components.
  3. In the Windows Component Wizard window, click Networking Services, and then click Details.
  4. In the Networking Services dialog box, note (write down) which of the following check boxes are selected, and then click to clear them:
    • Domain Name System (DNS)
    • Dynamic Host Configuration Protocol (DHCP)
    • Windows Internet Name Service (WINS)
  5. Click OK, and then click Next.
  6. Click Finish, and then click Close.
  7. In Control Panel, double-click Network and Dial-up Connections.
  8. Right-click Local Area Connection, and then click Properties.
  9. Click Internet Protocol (TCP/IP), and then click Properties.
  10. Note the IP address configuration, and then click OK.
  11. Remove all the remaining network components by going into the properties of the network adapter and removing each component. Do not restart the computer if you are prompted.
  12. Remove the network adapter from the Device Manager.
  13. Open Registry Editor (Regedt32.exe), locate, and then delete the following subkeys in the registry if they exist:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DhcpMibAgent

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DhcpServer

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FTPSVC

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\LPDSVC

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NetBT

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RFC1156Agent

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SNMP

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SimpTcp

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tcpip

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\TcpipCU

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\TcpPrint

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wins

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WinsMibAgent

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCP

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DhcpServer

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FTPSVC

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lmhosts

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LPDSVC

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SimpTcp

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Wins

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<NetDriver><x>\Parameters\Tcpip

    Note: For this last subkey, <NetDriver> is the name of the network adapter that is installed on the computer, and <x> is the number of the network adapter.

  14. You may also have to remove the following registry subkeys.

    Note: To remove the following subkeys, you may have to make a change to the rights on them. By default, the rights setting for "Everyone" is "Read". To change the rights, click to select the subkey that you want to delete, click Security, click Permissions, and then change the rights for "Everyone" to Full Control.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\Legacy_DHCP

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\Legacy_Lmhosts

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\Legacy_LPDSVC

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\Legacy_NetBT

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\Legacy_TCPIP

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanManServer\Linkage\Bind

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanManWorkstation\Linkage\Bind

  15. Log off Windows, and then restart Windows in Directory Services Restore mode.

Reinstall TCP/IP-Related Services

  1. Click Start, point to Settings, and then click Control Panel.
  2. In Control Panel, double-click Network and Dial-up Connections.
  3. Right-click Local Area Connection, and then click Properties.
  4. Click to select the Internet Protocol (TCP/IP) check box, and then click OK.

    Note: After you select the Internet Protocol (TCP/IP) check box, the Client for Microsoft Networks and the File and Printer Sharing for Microsoft Networks check boxes should be automatically selected. If these check boxes are not selected, click to select them now.
  5. In Control Panel, double-click Add/Remove Programs, and then click Add/Remove Windows Components.
  6. In the Windows Component Wizard, click Networking Services and then click Details.
  7. In the Networking Services dialog box, select the services you noted in step 4 in the "Remove TCP/IP-Related Services" section of this article.
  8. Click OK, and then click Next.

    Note: If you are prompted for the Windows 2000 Server CD-ROM, insert the CD-ROM in the disc drive, and then click OK. You may also receive a prompt to configure TCP/IP settings to support WINS. Configure your TCP/IP settings based on the information you noted in step 12 of the earlier "Remove TCP/IP-Related Services" section, and then click OK.
  9. Click Finish, and then click Close.
  10. Click Close.
  11. Shut down your computer, and then restart Windows in normal mode.
  12. Change the startup type of the Net Logon service to Automatic. To do so:
    1. Right-click My Computer, and then click Manage.
    2. Expand Services and Applications.
    3. In the right pane, click Services, and then double-click Net Logon service.
    4. In the list of options for the startup type, click Automatic.
  13. After the reinstallation of the network components, the Net Logon service has a dependency of LanmanWorkstation. You must also add a dependency for LanmanServer. To do this:
    1. Start Registry Editor. Locate and then click the following registry subkey:

      HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Netlogon

    2. In the right pane, double-click the DependOnServicesubkey. Only LanmanWorkstation should appear in the Value data list.
    3. On the line below LanmanWorkstation, type LanmanServer, and then click OK.
  14. Quit Registry Editor, and then restart the computer.
  15. Start Registry Editor (Regedt32.exe), and then locate and then modify the following registry subkey:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters

    Make sure that your computer name or domain name is the value for the following registry subkeys, and if needed, add these items:

    Hostname REG_SZ: computer name
    Domain REG_SZ: fully qualified domain name
    NV Hostname REG_SZ: computer name
    NV Domain REG_SZ: fully qualified domain name

    Note After you rebuild TCP/IP, these four subkeys are blank. To note that the computer does not have an entry under either Full Computer Name or Domain, click My Computer, click Properties, and then click Network Identification.

Modification Type:MinorLast Reviewed:4/26/2004
Keywords:kberrmsg kbprb KB329871