Microsoft KB Archive/299451

= HOW TO: Remove and Reinstall TCP/IP on a Windows 2000 Domain Controller =

Article ID: 299451

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server

-



This article was previously published under Q299451





IN THIS TASK
SUMMARY Requirements
 * Remove Network Components
 * Edit Registry Using Regedt32
 * Reinstall TCP/IP

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
This article describes how to remove and reinstall TCP/IP on a Windows 2000 domain controller.

When you troubleshoot an issue, you may suspect that a TCP/IP-related component is either corrupted or damaged, which may or may not include registry problems. To resolve your difficulties, you may try to remove TCP/IP and all related components, including registry entries, but you may find that you cannot continue because the computer is a Windows 2000 domain controller. The following procedure describes how to remove and reinstall TCP/IP on a Windows 2000 domain controller.

Note: You must consider the following procedure only when all other troubleshooting is unsuccessful in resolving the issue. If you use this procedure, it is strongly recommended that you back up your whole computer. Although this procedure has been successfully implemented on many occasions on other computers, it is possible that in certain circumstances this procedure may cause undesirable effects upon your computer.

Also, Microsoft recommends that you read this whole procedure before you start so that you have a clear understanding of the procedure.

back to the top

Requirements
Before you start the procedure, you must have the following items available:
 * Your Windows 2000 CD-ROM.
 * Detailed configuration information that can allow you to set up TCP/IP and other network components.
 * The drivers for your network adapters if drivers other than those provided with Windows 2000 have been used.

Note: This procedure does not delete databases that have been created by Windows Internet Name Service (WINS) and Dynamic Host Configuration Protocol (DHCP). After you use this procedure, your existing WINS and DHCP databases must still be intact. Any scopes and options that are configured in DHCP must be re-created, but the existing database of leases can remain as-is. Additionally, any shares you may have created on the computer are lost. You must re-create those shares after you complete this procedure.

back to the top

Remove Network Components
 Start the computer into the Directory Services Restore mode. This step can be achieved if you press the F8 key as soon as the status bar appears at the bottom of the screen during the start process (the words &quot;Starting Windows&quot; appear above the status bar). From the list of options, click Directory Services Restore Mode. Log on to the computer with an account that has administrator rights. Remove all of the networking components with the Add/Remove Programs tool.

For example, remove WINS, DHCP, DNS and other networking components. Remove all of 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.  Remove the network adapter from the Device Manager. back to the top

Edit Registry Using Regedt32
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.

 Locate and delete the following registry keys, if they exist, by using Registry Editor (Regedt32), where  is the name of the network adapter that is installed on the computer and where   is the number of the network adapter:

  You may also have to remove the following registry keys.

Note: You may have to make a change to the rights on these keys to remove them. The default rights for &quot;Everyone&quot; is &quot;Read&quot;. To change the rights, select the key that you want to delete. Then, on the menu, click Security, click Permissions, and then grant &quot;Everyone&quot; the Full Control right.

back to the top

Reinstall TCP/IP
</li> Restart the computer, and then boot the computer back into the Directory Services Restore mode again.</li> After you have restarted the computer, the network adapter is redetected automatically. If the network adapter is not redetected, then add it to the computer by using the Add/Remove Hardware tool.</li> Open the properties for that network adapter, and then add each of the components that had been previously removed. Do not restart the computer if you are prompted to do so.</li> Click Add/Remove Programs, and then add back DNS and any other components that had been previously configured.</li> Change the startup type of the NetLogon service to Automatic. To do so, right-click My Computer, click Manage, expand Services and Applications, in the right pane click Services, double-click NetLogon service, and then click Automatic from the options for the startup type.</li> The NetLogon service must also have a dependency added. After the reinstallation of the network components, the NetLogon service has a dependency of &quot;LanmanWorkstation&quot;. Also add a dependency for &quot;LanmanServer&quot;. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Locate the following registry key on the Local Machine\System\CurrentControlSet\Services\Netlogon folder:

</li> Double-click the DependOnService value. Only a dependency upon &quot;LanmanWorkstation&quot; should appear.</li> On the line below &quot;LanmanWorkstation&quot;, type LanmanServer, and then click OK.</li></ol> </li> Close Registry Editor, and then restart the computer.</li> Modify the following registry key:

Specify the following values:

Hostname REG_SZ:

Domain REG_SZ:

NV Hostname REG_SZ:

NV Domain REG_SZ:

Note: After you rebuild the TCP/IP, the four keys mentioned earlier are blank. You can click My Computer, click Properties, and then click Network Identification to note that the computer does not have an entry under either Full Computer Name or Domain.</li></ol>

back to the top

Additional query words: uninstall

Keywords: kbenv kbhowtomaster kbnetwork KB299451

-

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

© Microsoft Corporation. All rights reserved.