重置Winsock2

某些情况下,windows系统的winsock出现故障,如何重置:

以下来自Lucky Anand 

https://answers.microsoft.com/en-us/windows/forum/windows_vista-networking/netsh-winsock-reset-winsock2-repair-wont-work/c41da61d-9f69-45c6-a94e-a8487391b151

Dear,

I am not sure about this problem. But I always get this problem with my lappy & desktop. And I resolve it using "netsh winsock reset" command. I have searched over this issue and got some info: This error is mainly due to spyware (Vista is probably have such internal configuration that it is trapped by spyware as well as antiviruses) and sometimes due to hacking. 

Well, try this you might get solution:

  1. Click on the "Start" button. Click "Run." Type the word "cmd" in the open box. When the DOS screen comes up, type "netsh winsock reset." Press "Enter." Type "exit" to close the DOS window and go back to Windows.
  2. Restart the computer. Check to see if the problem is resolved. If it isn't, open the Windows Registry. Click "Start" and type "Run." Type "regedit" in the open box.
  3. Select "File" from the menu. Click "Export." Choose a location to export the Registry to. Name the exported file "backup.reg."
  4. Choose the key "HKEY_LOCAL_MACHINE." Click the plus sign to expand the key. Click the key "System" and expand it. Navigate to "CurrentControlSet\Services\Winsock." Right-click the "Winsock" key and select "Delete." Click "Yes" to confirm the deletion.
  5. Navigate to "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock2." Right-click the "Winsock2" key and delete it. Click "Yes" to confirm. Exit the Registry Editor. Find the file "backup.reg" that you exported and save it to a CD or disk. Restart the computer.
  6. Right-click "My Network Places" on the desktop. Right-click the network connection icon. Click "Properties." Click "Install," "Protocol" and "Add." Click "Have Disk" and type in "c:\windows\inf." Click "OK."
  7. Choose "Internet Protocol (TCP/IP)" from the list of available protocols. If it does not appear, click "Start" and choose "Search." Check the options to search system folders, hidden files and folders, and subfolders. Search for the file "nettcpip.inf." Click "Install." Restart the computer.

 See if this can help you!

Good Luck!!!

-Lucky

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值