Reset to default corrupted TCP/IP on Windows XP/Vista/2003/2008 using netsh utility

Posted on March 5th, 2009 in Microsoft, Server 2003, Server 2008, Vista, Windows XP by Gil Kreslavsky

If you facing network connection issues, or you are unable to access Internet sites  or network problem in Windows Vista, Windows 2003 and Windows XP, and  WinSock repair didn’t help , you can try to reinstall and reset TCP/IP stack or Internet Protocol,  the operating system networking heart component, which cannot be uninstalled only reinstalled.

A corrupted TCP/IP stack, may cause the following problems – unable to establish a connection to the server, unable to bundle a web page, unable to browse and surf the Internet, even though network connection to broadband router or wireless router appear to be OK. Your Skype and MSN client’s can’t connect

When all other options run out, try to reinstall the IP stack by using NetShell utility.
NetShell utility (netsh) is a command-line scripting interface for the configuring and monitoring of Windows XP, Server 2003/2008  and Vista networking service.

To reinstall and reset the TCP/IP heap (Internet Protocol) to its original state  as when the operating system was installed, use the following command in command prompt shell.
A log file and cr have got to be specified at which actions taken by netsh will be recorded on newly created or appended if already existed file..

netsh int ip reset [ log_file_name ]

Example:netsh int ip reset logfile.txt

For Windows Vista, situations work a little different due to introduction of UAC (Guide: Disable UAC). Use this moment guide to perform a reinstalling of TCP/IP protocol in Vista:

1. Click on Start button, or press win key + R.
2. Type Cmd in the Start Search text box.
3. Press Ctrl-Shift-Enter keyboard shortcut to run Command Prompt as Administrator.
4. Type netsh int ip reset in the Command Prompt shell, and then press the Enter key.
5. Restart your computer.

The command should remove all user configured settings on TCP/IP heap and return it to first default state by rewriting pertinent registry keys too are used by the Internet Protocol (TCP/IP) stack to do the same result as the removal and the reinstallation of the protocol. The registry keys affected are:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\

and

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCP\Parameters\

Related Articles

Post a comment

CommentLuv Enabled





Search Kreslavsky.com
Custom Search