Resetting the TCP/IP Stack on a Domain Controller

Resetting the TCP/IP Stack on a Domain Controller


You want to uninstall and re-install the TCP/IP protocol on a domain controller as part of a disaster recovery or troubleshooting operation.


Using a command-line interface
	> netsh ip reset <Log_File_Name>


Beginning in Windows 2000, the TCP/IP protocol has been installed as the default network protocol for Windows server and client products. In Windows 2000 in particular, uninstalling TCP/IP was a fairly laborious process involving numerous registry changes. This was greatly improved in Windows Server 2003 with the addition of the reset commands within netsh. Resetting the TCP/IP stack using netsh will remove all configuration information, including the default gateway and any configured DNS and WINS servers. This procedure might be necessary during a disaster recovery situation where you're restoring System State data to a server with a dissimilar hardware configuration, for example, as the restore process might corrupt the TCP/IP stack on the destination computer.

Using a command-line interface

In addition to resetting the TCP/IP stack, you can also reset Winsock using the following command:

	> netsh winsock reset

Use this command with care, though, as resetting Winsock can cause network applications such as antivirus scanners to malfunction and require re-installation.

See Also

MS KB 317518 (How to Reset "Internet Protocol" (TCP/IP) in Windows Server 2003), MS KB 325356 (How to Remove and Reinstall TCP/IP on a Windows Server 2003 Domain Controller, and MS KB 299451 (How to Remove and Reinstall TCP/IP on a Windows 2000 Domain Controller)

 Python   SQL   Java   php   Perl 
 game development   web development   internet   *nix   graphics   hardware 
 telecommunications   C++ 
 Flash   Active Directory   Windows