How to Do a Winsock Reset

By Paul Higgins

Learn how to undo changes a program made to your Winsock configuration and restore normal network connectivity

Performing a Winsock reset lets you undo any changes a program may have made to your Winsock configuration and helps you restore normal network connectivity.

Tip

Winsock is a Windows technology that gives programmers access to networking features. While most programs use this technology responsibly, viruses can abuse some of Winsock's features or intentionally corrupt your Winsock configuration to, for example, disable your Internet connection. If you recently removed a virus from your computer and still experience symptoms such as lag, unexpected redirects or connectivity issues, consider resetting your Winsock configuration to fix those issues.

Perform a Winsock Reset

Step 1

Open the Windows Start Screen or Start Menu and type cmd in the search box.

Step 2

Right-click Command Prompt or cmd in the search results and select Run as Administrator.

Tip

Depending on your User Account Control settings, a confirmation box may pop up and either request confirmation or ask you to input your Windows password before proceeding.

Step 3

Type netsh winsock reset in the Command Prompt window and press Enter. Wait for Windows to finish resetting your Winsock configuration.

Command Prompt window with Netsh Winsock Reset command highlighted.

Step 4

Reboot your computer.

Reset Your TCP/IP Configuration or Adapter

Reset Your TCP/IP Configuration Automatically

To reset your TCP/IP configuration automatically, download and run the dedicated Fix It tool from Microsoft's website. Follow the on-screen instructions and reboot your computer.

Reset Your TCP/IP Configuration Manually

Open a Command Prompt window as administrator and type netsh int ip reset. Press Enter and reboot your computer.

Command Prompt window with Netsh Int Ip Reset command highlighted.

Tip

If you experience issues while resetting your TCP/IP configuration, consider saving a log file of the reset process for diagnostic purposes by appending a path on your hard drive to a new TXT file to the end of the reset command. For example, a netsh int ip reset C:\IPlog.txt command would generate a text file named IPlog.txt in the root directory of your C: drive.

Reset Your Network Adapter

Step 1

Open the Control Panel and select Network and Internet. Click the Network and Sharing Center link and select View Adapter Settings to access a page listing your network adapters.

Step 2

Right-click the specific adapter you want to reset and select Disable from the contextual menu. Enter your Windows password or click OK if prompted.

Network adapter contextual menu, with Disable option highlighted.

Step 3

Right-click the adapter again and select Enable.

If performing a Winsock reset failed to fix your network connectivity issues, consider resetting your TCP/IP configuration or your network adapter.