Reset Windows Networking Stack
Sometimes after cleaning up a computer which had a virus or malware problem it gets into a state where it has an IP address and can ping other machines but will not display web pages in your web browser.
Here are some commands to reset the networking stack in Windows if your web browser fails to connect…
- Click Start and then command or cmd in the text field on the Start menu
- The Command Prompt icon will then appear in the Start menu
- Right click the Command Prompt icon to bring up a context menu
- From the context menu select Run As Administrator
- A dialogue box will then appear asking if you really want to run this command – Click Yes
- A scary black box should then appear (this is a good thing – you can now get stuff done)
- You need to type each command listed below into the black Command Prompt box and press Enter after each line.
ipconfig /flushdns nbtstat -R nbtstat -RR netsh int reset all netsh int ip reset c:\resetlog.txt netsh winsock reset
Typically only netsh int ip reset is needed but the other stuff doesn’t hurt and may clear other issues.