Fix Winsock and TCP/IP in Windows 7

Yesterday after disinfecting a customer’s Windows 7 PC, it could not connect to a network. I found that I had to reset Winsock and TCP/IP. There are some great programs that will do this for you on XP, but what about Windows 7? The solution I used was pretty simple:

  • In the start menu click in the search box and type “cmd” (without the quotes of course). You will see an item named cmd.exe.
  • Right click it and choose “Run as Administrator.”
cmd.exe

Run as Administrator

  • If UAC pops up go ahead and allow this program.
  • A window will open that displays the command prompt. We will enter two commands.
CLI magic

The Command Prompt

  • First type “netsh winsock reset catalog” and hit enter.
  • Next type in “netsh int ip reset reset.log hit” and hit enter.

That’s all there is to it. Enjoy!

Advertisements