Manually Repair DNS / Winsock

  Computer Repair

  Contact us

  Helpful? Link to us!

  
 
 

Manually repair Windows XP / 2000 DNS lookup properties

Doing this with Windows XP and 2000 is a little harder, due to the fact that TCP/IP cannot be removed, and if you delete the keys from the registry they will automatically be recreated, but empty.

First, you need to reset the TCP stack using Netsh. Click Start->Run and type in "netsh int ip reset resetlog.txt"

The default values for the reg keys are the same on all machines, so you can transplant them from a known good machine.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock2

Here is an export of the good keys, although I have personally never used them. I take no responsibility if it crashes the system it is used on. (Set a restore point beforehand) Windows generally will not load networking when in safe mode, so boot to safe mode to replace the keys.

You'll now want to clear out your hosts file. The path to it is: Windows\system32\drivers\etc\Hosts. Simply open it in notepad and delete any entries you find in it. Save it, and you're done. It may be a good idea to save a backup of it beforehand, but I can't imagine you needing it.

Once that is done, reboot.

Have we been helpful? Link to us!

Copyright 2004-2008 TweaksForGeeks.com, All rights reserved
Sitemap