netsh winsock reset

Source: Internet
Author: User

Winsock is a Windows network programming interface that Winsock works on the application layer, which provides high-level data transfer programming interfaces independent of the underlying transport protocol Netsh winsock reset is to restore it to the default state Introduction:The netsh winsock reset command, which functions to reset the Winsock directory. If there is a problem with the Winsock protocol configuration on a machine that will cause problems such as network connectivity, you will need to reset the Winsock directory with the Netsh winsock reset command to restore the network. This command re-initializes the network environment to resolve parameter errors caused by software conflicts and virus causes. Netsh is an interface capable of operating almost all network-related settings via the command line, such as setting up Ip,dns, network cards, wireless networks, etc., Winsock is the internal directory of the system, Winsock is the Windows network programming interface, and Winsock works in the application layer, It provides a high-level data transfer programming interface independent of the underlying transport protocol, and reset is the reset operation to Winsock. The IP needs to be reconfigured when the command to perform Winsock restarts the computer. Reset Winsock for Windows XPTo reset Winsock for Windows XP, follow these steps:
1. Click "Start" to enter CMD in the run.
2. Then enter the command for Netsh winsock reset.
3. Restart the computer. Reset Winsock for Windows VistaTo reset Winsock for Windows Vista, follow these steps:
1. Click Start, type cmd in the Start search box, right-click Cmd.exe, click Run as Administrator, and then press continue.
2. Type netsh winsock reset at the command prompt, and then press Enter.
3. Note: If the command types an error, an error message appears. Retype the command. When the command completes successfully, a confirmation message appears followed by a new command prompt. Then go to step 3.
4. Type exit, and then press Enter. to edit the manual steps for the user to determine if the Winsock2 item is damagedTo determine whether the above symptoms are caused by a problem with the Winsock2 item, use one of the following methods.
Method 1: Use the Netdiag tool
To use the Netdiag tool, you must have the Microsoft Windows XP support tool installed. To do this, follow these steps.
Note: 1. If you have installed the support tool, go to the second procedure in this section.
2. If you do not have the Support tools installed and you do not have a Windows XP installation CD, go to Method 2.
1. Insert the Windows XP installation CD, and then locate the Support\Tools folder.
2. Double-click the "Setup.exe" file.
3. Follow the onscreen steps until you see the Select Installation Type screen.
4. On the Please select the Installation Type screen, click Full, and then click Next.
After you complete the installation, follow these steps:
1. Click Start, click Run, type Command, and then click OK.
2. Type Netdiag/test:winsock, and then press Enter.
The Netdiag tool returns test results for several network components, including Winsock. For more information about testing, add/v:netdiag/test:winsock/v at the end of the Netdiag command
Note: The netdiag command line is provided to Windows XP users to determine if the Winsock2 item is corrupted and requires a Windows XP Setup disk to install.
Method 2: Use the MSINFO32 program
Note You should use this method only if you do not have a Windows XP installation CD and you do not have the Support tools installed.
1. Click Start, click Run, type Msinfo32.exe, and then click OK.
2. Expand Components and Network, and then click Protocols.
3.10 sections will be displayed under "agreement". If the Winsock2 item is not corrupted, the following names will be included in the section header:
MSAFD TCPIP [TCP/IP]
MSAFD Tcpip [UDP/IP]
RSVP UDP Service Provider
RSVP TCP Service Provider
MSAFD NetBIOS [\device\netbt_tcpip ...
MSAFD NetBIOS [\device\netbt_tcpip ...
MSAFD NetBIOS [\device\netbt_tcpip ...
MSAFD NetBIOS [\device\netbt_tcpip ...
MSAFD NetBIOS [\device\netbt_tcpip ...
MSAFD NetBIOS [\device\netbt_tcpip ...
If the name that is displayed differs from the name in this list, the Winsock2 item is corrupted or a third-party add-in (such as Agent software) is installed. If Msinfo32.exe cannot get system information, it may be because the following three services are not started:? Event Log? Windows Management instrumentation? Remote Procedure Call (RPC) if a third-party add-in is installed, the name of the add-in replaces the letter "MSAFD" in the list.
If there are more than 10 sections in the list, then third-party add-ons are installed.
If less than 10, the information is missing.
Note: These entries indicate that only the TCP/IP protocol is installed in the Windows XP installation. In the event that Winsock is running normally, additional entries can be seen if additional protocols are installed. For example, if you have NWLink ipx/spx installed, you will see 7 additional sections, so that the total number of sections reaches 17.
Manual steps to recover from Winsock2 corruption for Windows Vista users
Winsock corruption can cause connectivity problems. To resolve this issue by using Network Diagnostics in Windows Vista, follow these steps:
1. Click Start, and then click Network.
2. Click Network and Sharing Center.
3. In the Network and Sharing Center box, click Diagnose and Repair.
Note: You can also access the network and Sharing Center in Control Panel. Winsock various repair methods1, "Malware Cleanup assistant" with the WinSockFix.exe program to repair TCP/IP, and
There are pictures and text descriptions in the Help file.
2, XP system reinstall TCP/IP protocol.
3, for XP SP2 users, generally with the netsh winsock reset command can, but sometimes invalid.
For users who are not SP2, you can view winsockxpfix instructions.
4, repair Winsock can use Super Rabbit clean up the king to clean up the rogue software, or use HijackThis, and then use
Winsockxpfix repair, if not, reinstall the TCP/IP protocol.
Steps to reinstall the TCP/IP protocol for XP systems:
Delete the key value in the registry (can not be deleted directly to the virus version of the essence area download IceSword to delete):
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock
Hkey_local_machine\system\currentcontrolset\services\winsock2
Finally, restart the computer.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.