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.
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.
(1) 在开始执行，输入“netsh int ip reset resetlog.txt”