Reset Winsock and TCP/IP in Windows OS


Symptom(s):
– Internet is not working properly (i.e. page cannot be displayed)
– Network: Unknown / The dependency service or group failed to start
– Winsock or TCP/IP stack is corrupted

1. Run the command prompt program as an administrator

For Windows XP/Vista/7:

– Click start icon >> All Programs >> Accessories >> Right click on command prompt >> Left click on run as administrator

For Windows 8, on Desktop

– Right click the start icon >> Right click on command prompt >> Left click on run as administrator
Cltr+C >> Search >> Type in cmd >> Right click on the command prompt >> Left click on run as administrator

 

2. To reset the winsock entries, type this command followed by enter:

For Windows XP:

netsh w r c

For Windows Vista/7:

netsh winsock reset catalog

 

3. To reset the TCP/IP stack, type this command followed by enter:

netsh i i r r

Alternatively, you can use:

netsh int ip reset resetlog.txt

 

4. Restart the computer for the changes to occur