Sometimes the removal of a software firewall or some sort of OS update can be seen as responsible.
Either way, we may need to reset the TCP stack. XP follows, Vista is further below.
The following Microsoft KB 299357: How to reset Internet Protocol (TCP/IP) in Windows XP explains the ins and outs of the methodology.
netsh int ip reset c:\resetlog.txt
The resetlog.txt will be made in the root of the drive where it can be scanned for any errors.
Generally, you are back in business!
Okay, in the case of the system I am working on now ... NOT. :D
In the CMD window where I release the IP and try and renew it I am getting the following error: You receive an "An operation was attempted on something that is not a socket".
The following Microsoft KB 817517: You receive an "An operation was attempted on something that is not a socket" error message when you try to connect to a network contains further steps to take on, in this case, Windows XP:
Export and delete the corrupted registry subkeys
- Insert a floppy disk in the floppy disk drive of the computer whose registry entries you are exporting.
- Click Start, click Run, type regedit, and then click OK.
- Locate and then click the following registry subkey:
- Do one of the following steps, depending on the operating system:
- For Windows XP, on the File menu, click Export.
- For Windows 2000, on the Registry menu, click Export.
Note Each .reg file that you save must have a different name.
Reinstall TCP/IP on a Windows XP-based computer
In Windows XP, the TCP/IP stack is a core component of the operating system. Therefore, you cannot remove TCP/IP in Windows XP.
- Install TCP/IP on top of itself. To do this, follow these steps:
- a. In Control Panel, double-click Network Connections, right-click Local Area Connection, and then click Properties.
- Click Install.
- Click Protocol, and then click Add.
- Click Have Disk.
- In the Copy manufacturer's files from box, type System_Drive_Letter:\windows\inf, and then click OK.
- In the list of available protocols, click Internet Protocol (TCP/IP), and then click OK.
- Restart your computer.
After the reboot, the system should come up and have network connectivity.
In our case, the problem has turned out to be the Panda Platinum Internet Security 2006.
As soon as I uninstalled the product, the system had network connectivity. Going to try and reinstall it to see if it breaks things again.
UPDATE 07-05-07: For Windows Vista: A lot of searches are ending up here looking for the ability to reset the TCP stack in Windows Vista.
The first place to start is to run the native Vista repair feature:
- Click Start
- Type "Network" in Start Search
- Click on Network and Sharing Center in the results
- Click on Diagnose and repair (bottom of left list)
- Click on Start
- Type CMD in Start Search
- Right click on the result and run as Administrator
- netsh winsock reset [Enter]
- exit [Enter]
- Restart the system
- TCP/IP protocol
- Bring up the command prompt authenticated as Administrator (steps 1-3 just above)
- netsh int ip reset [Enter]
- exit [Enter]
- Restart the system
Make sure that the correct drivers are installed on the system, that the connectivity lights on the NIC and at the switch are lit and active.
Check your patch cables, especially for laptops.
If you need further Vista related troubleshooting tips: Gateway Support: Windows Vista - Troubleshooting Network Connections.
Microsoft Small Business Specialists