Quick answer
Open Command Prompt as administrator, run netsh winsock reset, then netsh int ip reset, then ipconfig /flushdns. Restart your PC. If that doesn't work, uninstall your network adapter driver and let Windows reinstall it.
What's really happening here
I've seen this error pop up on dozens of machines, mostly Windows 10 and 11. The error code 0X0000003B points directly to the Winsock catalog — that's the database Windows uses to talk to network protocols. When it gets corrupted, the system can't send or receive data properly. You'll see this error when trying to browse the web, join a VPN, or run any network-heavy app like Steam or Zoom. The usual trigger? A botched Windows update, an uninstall that removed a network component it shouldn't have, or malware that messed with Winsock entries.
Here's the thing — people waste days reinstalling Windows for this. I've done this fix maybe 200 times and it works nearly every time. Let's do it right.
Step-by-step fix
Step 1: Run Command Prompt as administrator
- Press the Windows key, type
cmd. - Right-click Command Prompt and select Run as administrator.
- If Windows asks for permission, click Yes.
After this, you'll see a black window with a blinking cursor. That's your command line.
Step 2: Reset the Winsock catalog
Type this exactly and press Enter:
netsh winsock reset
You should see a message saying "Successfully reset the Winsock Catalog." Then it'll tell you to restart the computer. Don't restart yet.
Step 3: Reset the TCP/IP stack
Now type this and press Enter:
netsh int ip reset
You'll see a bunch of lines about resetting things like "Global" and "Interface" — that's normal. It might also say "Restart the computer to complete." Again, hold off.
Step 4: Flush DNS cache
Type this and press Enter:
ipconfig /flushdns
You'll see "Successfully flushed the DNS Resolver Cache." That's good.
Step 5: Release and renew the IP address
Run these two commands one after the other:
ipconfig /release
ipconfig /renew
The first command might drop your internet connection temporarily — that's expected. The second one might take a few seconds to finish. You might see a brief message like "No operation can be performed on Local Area Connection while it has its media disconnected" — ignore that if you're on Wi-Fi.
Step 6: Restart your computer
Now restart. Don't skip this. The Winsock reset won't take effect until you do.
After the restart, try your network again. Usually the error is gone at this point.
If the error is still there
Alright, the netsh commands didn't cut it. This happens when the network driver itself is corrupted. Here's Plan B.
Uninstall and reinstall the network adapter
- Press Windows key + X, select Device Manager.
- Expand Network adapters.
- Find your main adapter — it's usually the one with "Realtek," "Intel," or "Qualcomm" in the name. If you're on Wi-Fi, look for "Wireless" or "Wi-Fi."
- Right-click it, select Uninstall device.
- A checkbox will pop up saying "Attempt to remove the driver for this device."> Check that box.
- Click Uninstall.
After that, restart your PC. Windows will automatically reinstall the driver. If it doesn't, go back to Device Manager, click Action > Scan for hardware changes, and it'll find the adapter again.
I've had cases where the driver doesn't come back cleanly. In that case, download the driver directly from your motherboard or laptop manufacturer's website — don't trust Windows Update for this. Install it manually.
Prevention tips
This is one of those errors you can avoid with a little care.
- Never uninstall network software without using the proper uninstaller. I've seen VPN clients, firewall tools, and even printer network utilities leave junk behind that corrupts Winsock.
- Run a malware scan every few months. Windows Defender is fine, but Malwarebytes catches the weird ones that mess with Winsock entries.
- Keep Windows updated, but wait a week before installing major updates. Microsoft has pushed patches that caused this error in the past. Let others be the guinea pigs.
- If you're on a corporate network, check with IT before running these commands. Some organizations use custom Winsock entries for security or VPN policies — resetting them might break your connection to internal resources.
That's it. This error is annoying but it's rarely a hardware issue. Stick with the netsh reset first — nine times out of ten, that's all you need.