A colleague was having trouble with his Windows XP network connection on his Dell laptop after coming back from China. He was able to access the local intranet at work but could not access the internet. I’d never experienced this before. We tried the usual sorts of commands to renew the ip (eg.
ipconfig /release and
ipconfig /renew). None of these would work. Even after re-installing windows he still wasn’t able to connect to the internet!!
The last resort was to ring up Dell support. They suggested to run the following command:
netsh winsock reset
This fixed the problem.
This command resets the Winsock catalog to the default configuration. The fact that even after re-installing Windows that the network wouldn’t work suggests that this issue was hardware/firmware related.
Experts exchange states that this command can be useful when a malformed Winsock Layered Service Provider (LSP) is installed that results in loss of network connectivity. But they also advise that while this command can restore network connectivity, it should be used with care because any previously-installed LSPs will need to be re-installed.