Original Title: Can't reset Winsock
I'm working on a Windows 7 PC, connected to a DSL modem through a router. Other computers can connect to the router, both directly (wired) and through wireless.
This computer did have a firewall issue, in that the firewall was not running and couldn't be turned on nor restored to "suggested settings" through Windows. I was able to get the firewall fixed, but now I find that the Winsock is apparently corrupted.
If the "netsh winsock reset" command is issued from an elevated command prompt, the command prompt window just hangs (for as long as 24 hours). In the registry, I can't run "netsh winsock reset catalog" either, as it also hangs.
I can delete the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock key, but not the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock2 key. An error message is givenL
"Cannot delete WinSock2: Error while deleting key."
Therefore, I can't reinstall the TCP/IP protocol in the network properties.
I can provide more details later, if needed, when I get back to the PC.
Dell Optiplex 745
Intel #### Dual core CPU, 3.40 GHz
2 GB RAM
Broadcom NetXtreme 57xx Gigabit onboard NIC
(also tried T-LINK TL-WN823N wireless USB adapter)
WIndows 7 Home Premium, 32-bit, SP 1
Can anybody give me directions to manually reset Winsock, remove the offensive key or otherwise repair the corrupted Winsock?