How to reset TCP/IP in Windows or How to delete TCP/IP entries from Registry ?

Resetting TCP/IP solves many problems. So how to reset it ?

Actually all the parameters of the TCP/IP for every interface is stored in Windows Registry Database. Its not stored in a single location, but in many locations. So finding all the values and deleting them manually is not at all possible. It may disturb our system configuration if you edit the registry manually. My sincere request is backup your system registry before you modify anything, otherwise you will get lot of issues. :)


So to simplify this situation, we have a command in windows, which takes care of everything in resetting tcp/ip. Finally the beautiful command is “netsh”. It really helps us in many conditions. And it can be available as a download from for older machines.


How to work with it ?

1. Apply command netsh at the command prompt.

2. Type interface command at netsh> prompt

3. Type ip command at netsh interface> prompt

4. Type reset reset.txt command, to reset the tcp/ip.

But here what is reset.txt, we are just sending the output details to that file, if anything goes wrong you can get back to your previous config from this file.


5. Go and look at your tcp/ip properties tab, you will set to “Obtain Automatically Mode”, surprised!!!

6. This command is used in situations like follows….

sometimes DNS servers information will not erase from the registry

sometimes virtual ip settings also not erase from the registry

sometimes configuration changes doesn’t takes place


That’s it, thanks for you support, keep visiting my blog.


  1. Do you mind if I quote a few of your articles as long as I provide credit and
    sources back to your blog? My blog site is in the very same area of interest as yours and my users
    would genuinely benefit from a lot of the information you provide
    here. Please let me know if this okay with you.
    Thank you!

  2. Sure. Whats your blog BTW?


Post a Comment

Popular posts from this blog

VMWare Interview Questions & Tips

Windows: 2012 Server: Restoration of server from ransomware brute force attack – Real time experience

Windows and VMware : System Admin Responsibilities