Reinstall and Reset TCP/IP (Internet Protocol) in Windows Vista, 2003 and XP
If you facing network connection issue, or more accurately unable to access or connect to Internet or network problem in Windows Vista, Windows 2003 and Windows XP, and repair WinSock settings plus workaround for Vista IE7 strange no connection problem do not save your from Internet woes, you can try to reinstall and reset TCP/IP stack or Internet Protocol, one of the core component of the operating system, which cannot be uninstalled.
Again, with a corrupt TCP/IP stack, the same woes may happen - unable to establish a connection to the server, unable to load a web page, unable to browse and surf the Internet, even though network connection to broadband router or wireless router appear to be OK.
When all means run out, try to reinstall the IP stack with NetShell utility. NetShell utility (netsh) is a command-line scripting interface for the configuring and monitoring of Windows XP, 2003 and Vista networking service.
To reinstall and reset the TCP/IP stack (Internet Protocol) to its original state as same as when the operating system was installed in Windows XP and Windows 2003, simply use the following command in command prompt shell. A log file name must be specified where 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 resetlog.txt
For Windows Vista, things work a little different due to introduction of UAC (Guide: Disable UAC). Use this guide to perform a reinstalling of TCP/IP protocol in Vista:
- Click on Start button.
- Type Cmd in the Start Search text box.
- Press Ctrl-Shift-Enter keyboard shortcut to run Command Prompt as Administrator. Allow elevation request.
- Type netsh int ip reset in the Command Prompt shell, and then press the Enter key.
- Restart the computer.
The command will remove all user configured settings on TCP/IP stack and return it to original default state by rewriting pertinent registry keys that are used by the Internet Protocol (TCP/IP) stack to achieve 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\
Share and contribute or get technical support and help at My Digital Life Forums.
Related Articles
- Easy Method to ReArm and Reset Windows Vista Activation for Unlimited Times with Vista Reset
- Repair and Reset Windows Vista TCP/IP Winsock Catalog Corruption
- Backup and Save the Windows XP Activation Status (WPA.DBL) to Reinstall Without Activate Again
- Restore and Reset File Association in Windows Vista Back to Original Default
- Reset and Fix Broken Windows Vista File Ext and Type Associations (Include EXE, COM, SYS, ZIP, LNK, Folder, Drive)
- Forgot Windows Administrator Password? Ways to Recover and Reset Password in Vista/XP/2003/2K/NT
- Delete and Reset Windows Vista Folder Views or Folder Types Settings to Default Clean State
- How to Uninstall Windows Internet Explorer 8 (IE8) in Vista
- How to Reset iPhone and iPod Touch (Hard Reset or Reboot)
- Restore, Enable and Display the Missing Internet Explorer (IE or IE7) Icon on Windows Vista Desktop


























June 19th, 2007 22:16
[...] also possible to reset TCP/IP Internet Protocol stack. Get help or contribute tips or tricks at My Digital Life [...]
June 20th, 2007 15:39
[...] surf or browse the Internet pages, the error may because also of ARP cache corruption, other than TCP/IP corruption or Winsock [...]
July 31st, 2007 17:14
[...] 2.0.0.5 gibt es
October 21st, 2007 00:37
hello!
i’m experiencing this same problem, and i tried to do this, but it still did not work. i’ve also tried the winsock which didnt work too. basically, the problem with my computer is that it detects the connection, but all of my other programs cannot connect to the internet for their updates and all. so do my web browsers. but what’s puzzling is that my yahoomessenger, msnmessenger, and my torrent manager (Bitlord) can still access the internet. i’m actually using the browser function of bitlord right now to get to here. so i was wondering, do you have any idea what’s going on and what other possible solutions there are? i’m on windows vista home premium. i hope you really could help me with this. thanks so much!
December 19th, 2007 15:47
Hey!
I’ve tried to do the same thing that Gen did but also did not work, I still can connect a P2P program and the MSN. So I was wondering do you have another solutions?Did you Gen get anything else? have you fixed your PC? Thanks a lot!
March 9th, 2008 23:55
[...] Originally Posted by stormblast well i am having a weird problem with vista. everything seems to be working ok but the net is just working too slowly compared to windows xp. am using dual boot. msn messenger wont even connect. google talk connects. browsing is extremely slow. te or thl or erodov takes atleast 15seconds to open. no idea what the issue is. when i reboot into xp the connection is fine. os = vista ultimate x64 & windows xp x64 net = exatt 256k for config you can check the signature below. any help or inputs are welcome. Did you try resetting tcp/ip? Heres a link on how to do it. Had a similar problem resetting helped. Reinstall and Reset TCP/IP (Internet Protocol) in Windows Vista, 2003 and XP My Digital Life [...]
March 10th, 2008 13:43
[...] you try resetting tcp/ip? Heres a link on how to do it. Had a similar problem resetting helped. Reinstall and Reset TCP/IP (Internet Protocol) in Windows Vista, 2003 and XP My Digital Life #49 Today, 11:13 [...]
July 30th, 2008 03:02
Many, many thanks!! netsh int ip reset resetlog.txt worked on XP for me.
Thanks again!
August 11th, 2008 02:29
I tried everything around netsh on my vista to fix the - “page cannot be displayed” on my IE, which later on started happening on Firefox also. I’m only left with doing a complete reinstall of my OS.
Pls. let me know if there are any other ways of fixing this
-Bhaskara
September 5th, 2008 14:19
Ya I HAVE THE SAME ISSUE WITH 3 VISTA MACHINES.. ITS A UNSOLVED ISSUE AS PER MS.
Ive tried everything possible… my experience level is expert and frankly, i haven’t been able to resolve the issue and out of 2 dozen vista laptops i have, 3 are doing this so its a random issue.
September 23rd, 2008 21:43
Is there a way to reset the TCP/IP on MAC computers? Because on my MAC 10.4.11 I can ping the google.com IP address but I cannot ping the URL. I believe if I can just reset the TCP/IP on my MAC it will definitely solve the problem.
September 25th, 2008 11:28
netsh winsock repair
worked like a charm on my Vista x64 (after a few agonizing hours of trying all sorts of other things)
tx a lot!
November 7th, 2008 08:13
can’t seem to elevate my status to administrator, keeps giving me an error message telling me that I need to elevate, but the ctrl shift enter thingy ain’t working
November 11th, 2008 04:53
Hey Steve,
RIght click the CMD and select “run as admin”
November 12th, 2008 06:15
Gilmore:
Check your DNS settings, try putting in a different dns server like opendns (208.67.222.222) and see if that works. If you have a router check to make sure it’s dns settings are correct too.
IE problems:
If you’ve just had a spyware infection, check to see if IE doesn’t have a bogus proxy in the internet settings. Other applications use these settings too, and will experience similar problems.