How to Reset the TCP/IP Stack in Windows
Fix stubborn network problems by resetting Winsock and the TCP/IP stack to defaults.
Overview
Resetting the TCP/IP stack restores Windows’ networking components to their defaults — a powerful fix for connection problems that survive simpler troubleshooting. This guide shows the commands and when to use them.
Resetting the TCP/IP stack in Windows.
Key Takeaways
- Resetting clears corrupt network configuration.
- netsh winsock reset and netsh int ip reset do the work.
- Follow with IP renew and DNS flush.
- A restart is required afterward.
When to Reset
- No internet despite a connected adapter.
- "Limited connectivity"/"Unidentified network".
- Issues after malware removal or a bad VPN/proxy.
- When basic fixes (restart router/adapter) didn’t help.
Reset the TCP/IP Stack
1. Open Command Prompt as administrator.
2. Run: netsh winsock reset
3. Run: netsh int ip reset
4. Run: ipconfig /release
5. Run: ipconfig /renew
6. Run: ipconfig /flushdns
7. Restart the PC.
One-Click Alternative
1. Open Settings > Network & Internet > Advanced network settings > Network reset.
2. Click "Reset now" (this reinstalls adapters and resets networking).
3. Reconnect to your network and re-enter the Wi-Fi password afterward.
Troubleshooting
Problem: Access denied running netsh.
Solution: Open Command Prompt as administrator.
Problem: Still no internet after reset.
Solution: Update the network driver, check the router, and disable VPN/proxy and Fast Startup.
Problem: VPN/proxy broke networking.
Solution: The winsock reset removes bad LSPs; reconfigure or reinstall the VPN cleanly.
Problem: Wi-Fi forgotten after Network reset.
Solution: That’s expected — reconnect and re-enter the password; static IPs must be re-set too.
Conclusion
When network problems persist, resetting the TCP/IP stack with netsh winsock reset and netsh int ip reset (plus IP renew and DNS flush, then a reboot) restores Windows networking to a clean state. The Settings > Network reset option does the same in one click.















