How to Reset TCP/IP on Windows
Fix network stack problems on Windows and clear related clutter with Kudu for a cleaner connection setup.
By Kudu Team
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →What Causes This?
TCP/IP is the core networking stack Windows uses to communicate with your router, local network, and the internet. When its settings become corrupted, outdated, or misconfigured, Windows may fail to get a valid IP address, resolve websites, or maintain a stable connection. This can happen after VPN software changes network settings, malware alters adapters, a bad driver update, or after switching between different networks.
Common Symptoms
- You’re connected to Wi-Fi or Ethernet, but websites and apps won’t load
- Windows shows errors like “No Internet,” “Limited connectivity,” or “Can’t reach this network”
- IP-related commands fail or return invalid network settings
- DNS lookups fail even though the network appears connected
- Network problems started after installing a VPN, firewall, or adapter software
How to Fix It Manually
-
Open Command Prompt as administrator
- Press Start
- Type cmd
- Right-click Command Prompt
- Select Run as administrator
- Click Yes if prompted by User Account Control
-
Reset the TCP/IP stack
- In Command Prompt, type:
netsh int ip reset - Press Enter
- This rewrites key TCP/IP registry settings back to default values
- In Command Prompt, type:
-
Reset Winsock
- In the same window, type:
netsh winsock reset - Press Enter
- Winsock controls how Windows network apps access the network, and resetting it can clear corruption caused by software or drivers
- In the same window, type:
-
Release and renew your IP address
- Still in Command Prompt, run these commands one at a time:
ipconfig /release ipconfig /renew - Press Enter after each command
- If you’re on Wi-Fi, this forces Windows to request a fresh IP address from your router
- Still in Command Prompt, run these commands one at a time:
-
Flush the DNS cache
- In Command Prompt, type:
ipconfig /flushdns - Press Enter
- This clears saved DNS records that may be pointing Windows to the wrong server or stale addresses
- In Command Prompt, type:
-
Restart your PC
- Close Command Prompt
- Click Start > Power > Restart
- A restart is important because some network components do not fully reload until Windows starts again
-
If the issue remains, disable and re-enable the network adapter
- Press Windows + R, type
ncpa.cpl, then press Enter - Right-click your active adapter (Wi-Fi or Ethernet) and choose Disable
- Wait 10 seconds, then right-click it again and choose Enable
- Test your connection again
- Press Windows + R, type
-
Check whether a VPN or custom DNS tool is reapplying bad settings
- Open Settings > Network & internet
- Review any active VPN connection and disconnect it temporarily
- If you use third-party firewall, proxy, or DNS software, close or uninstall it and test again
- If the problem started right after installing one of these tools, it may be rewriting network settings after every reboot
Fix It Automatically with Kudu
If you don’t want to dig through network commands and adapter settings, Kudu can detect broken network configuration, clear related junk, and help restore a cleaner connection setup automatically. It’s a faster way to fix TCP/IP and Winsock-related issues without hunting through Windows tools one by one.
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →Related guides
How to Reset Network Settings on Windows
If your Windows network is unstable, Kudu can help clean network caches and support a fresh reset.
How to Fix DNS Issues on Windows
Resolve Windows DNS issues and clear stale network caches with Kudu to restore reliable browsing.
How to Fix Ethernet Not Working on Windows
If Ethernet stopped working on Windows, Kudu can help clean network settings and optimize the system.
How to Flush DNS Cache on Windows
Clear DNS cache on Windows to fix browsing issues and stale lookups with help from Kudu.