Windows

Winsock Reset in Windows: Step-by-Step Guide

Resetting Winsock restores the Windows network stack, fixing connection errors. Follow this guide to perform a reset in minutes.

Updated at February 15, 2026
5-10 min
Easy
FixPedia Team
Применимо к:Windows 10Windows 11

Introduction / Why This Is Needed

Winsock (Windows Sockets) is a key Windows component responsible for application network communication. Over time, the Winsock catalog can become corrupted due to software installations, virus attacks, or system failures. This manifests as network connection errors, even when the network adapter and drivers are functioning correctly. Resetting Winsock restores the catalog's default settings, often resolving such issues without needing to reinstall the system or reset all network parameters.

Requirements / Preparation

  • A computer running Windows 10 or Windows 11.
  • A user account with administrator privileges.
  • For safety, it is recommended to create a system restore point before performing the reset. This can be done via "Control Panel" → "System and Security" → "System" → "System Protection" → "Create".
  • Ensure you have a stable power source (for laptops, keep it plugged in) to prevent the reset from being interrupted.

Step-by-Step Guide

Step 1: Launch Command Prompt as Administrator

Executing the reset command requires an elevated Command Prompt.

  1. Press Win + X on your keyboard.
  2. In the menu that appears, select "Command Prompt (Admin)" or "Windows PowerShell (Admin)". In Windows 11, this may appear as "Windows Terminal (Admin)".
  3. If a User Account Control (UAC) prompt appears, click "Yes" to confirm.

Alternatively: Find "cmd" or "PowerShell" in the Start menu, right-click it, and select "Run as administrator".

Step 2: Execute the Winsock Reset Command

In the opened Command Prompt window, type the command:

netsh winsock reset

Press Enter. The command will begin resetting the Winsock catalog. The process takes a few seconds. Upon successful completion, you will see the message: "Winsock catalog successfully reset." (or in Russian: "Каталог Winsock успешно сброшен.").

⚠️ If you see an "Access is denied" or "Administrator privileges required" error, close the window and relaunch Command Prompt as administrator.

Step 3: Restart the Computer

After executing the command, you must restart your computer. Changes will not take effect without a restart.

  • Click the "Start" button, then the "Restart" button.
  • Or, in Command Prompt, run:
shutdown /r /t 0

The shutdown /r /t 0 command initiates an immediate restart (0-second timer).

Step 4: Verify the Result

After restarting, check if your network connection has been restored.

  1. Open your browser and try visiting any website (e.g., google.com).
  2. For a more precise check, open Command Prompt (administrator rights not required) and run:
ping 8.8.8.8

If you see replies from the server (e.g., "Reply from 8.8.8.8: bytes=32 time=10ms TTL=117"), the connection is working. 3. If packets are not passing but you can still access websites, the issue might have been with DNS. In this case, clear the DNS cache: ipconfig /flushdns.

Potential Issues

This section covers common difficulties and their solutions.

⚠️ "Access is denied" error when running the command
Cause: Insufficient privileges. Solution: Run Command Prompt as administrator.

⚠️ Reset didn't help, internet still not working
Possible causes and solutions:

  • Corrupted TCP/IP: Run netsh int ip reset and restart the computer.
  • Outdated or corrupted network adapter drivers: Update the driver via Device Manager.
  • Firewall or antivirus blocking: Temporarily disable them and check the connection.
  • Router or provider issues: Restart your router or contact your ISP support.

💡 Can the Winsock reset be undone?
No, the reset is irreversible. However, if you created a system restore point before the reset, you can revert the system to that state.

💡 Will resetting Winsock affect my saved Wi-Fi networks?
No, the netsh winsock reset command does not affect wireless network profiles. Wi-Fi passwords and settings will remain unchanged. However, if you also reset network settings through Windows Settings, networks may have been removed.

💡 Is it necessary to disable antivirus before the reset?
Usually not, but some antivirus programs may block modifications to system components. If the command fails, try temporarily disabling your antivirus and try again.

F.A.Q.

What does resetting Winsock do?
Do I need to restart my computer after a Winsock reset?
Does a Winsock reset delete my network settings?
Can I undo a Winsock reset?

Hints

Run Command Prompt as Administrator
Execute the Winsock reset command
Restart the computer
Verify network connectivity
FixPedia

Free encyclopedia for fixing errors. Step-by-step guides for Windows, Linux, macOS and more.

© 2026 FixPedia. All materials are available for free.

Made with for the community