When your internet stops working on Windows, one of the most effective fixes is running the netsh int ip reset command. This article shows you exactly how to use it, when you need it, and what happens when you do.
What Does Netsh Int IP Reset Do?
The netsh int ip reset command resets your Windows TCP/IP stack back to its original installation state. Think of it like a factory reset for your network settings, but without touching anything else on your computer.
Your TCP/IP stack is the software layer that handles all internet communication on your computer. When it gets corrupted, you’ll see symptoms like:
- No internet access despite being connected to WiFi
- “Limited connectivity” errors
- Unable to obtain an IP address
- Websites won’t load but other devices work fine
- VPN connections failing repeatedly
This command wipes out corrupted network configurations and rebuilds them from scratch. It’s one of the most powerful network troubleshooting tools built into Windows.
When Should You Use This Command?
Use netsh int ip reset when you’ve tried basic fixes and nothing works. Here’s the escalation path:
Try these first:
- Restart your router and computer
- Run Windows Network Troubleshooter
- Disable and re-enable your network adapter
Then use netsh int ip reset if:
- You still can’t connect after basic troubleshooting
- You recently installed VPN software that broke your connection
- You see error messages about IP configuration
- Your DNS settings won’t stick
- Network adapters appear in Device Manager but won’t work
Don’t use this command randomly. It resets important settings. Only use it when you have actual network problems.

How to Run Netsh Int IP Reset (Step-by-Step)
Method 1: Using Command Prompt
Step 1: Click the Start button and type cmd
Step 2: Right-click “Command Prompt” and select “Run as administrator”
Step 3: In the black window, type exactly:
netsh int ip reset
Step 4: Press Enter
Step 5: Wait for the confirmation message: “Resetting, OK! Restart the computer to complete this action.”
Step 6: Restart your computer immediately
Method 2: Using PowerShell
Step 1: Right-click the Start button
Step 2: Select “Windows PowerShell (Admin)” or “Terminal (Admin)”
Step 3: Type the same command:
netsh int ip reset
Step 4: Press Enter and restart
Method 3: Creating a Log File
If you want to save a record of what the command changed, use this version:
netsh int ip reset c:\resetlog.txt
This creates a text file at c:\resetlog.txt showing every change made. Useful for troubleshooting if problems continue.
What Exactly Gets Reset?
Understanding what changes helps you prepare. Here’s what the command resets:
| Setting Type | What Happens | Your Action Needed |
|---|---|---|
| IP address assignment | Returns to automatic (DHCP) | Reconfigure if you use static IPs |
| DNS servers | Clears custom DNS | Re-enter Google DNS, Cloudflare, etc. |
| WINS settings | Resets to default | Rarely used, usually no action needed |
| IP routing tables | Clears all custom routes | VPN users may need to reconnect |
| Registry keys | Recreates TCP/IP registry entries | None, automatic |
The command does NOT reset:
- WiFi passwords
- Network adapter drivers
- Firewall settings
- Proxy configurations
- Your network name (SSID)
7 Essential Commands to Combine With Netsh Int IP Reset
Running these commands together gives you a complete network reset. Use them in this order for best results:
1. Reset Winsock Catalog
netsh winsock reset
Winsock handles how programs connect to the internet. Malware and poorly coded software corrupt it frequently.
2. Flush DNS Cache
ipconfig /flushdns
Clears stored DNS lookups. Fixes issues where websites won’t load because your computer remembers old, wrong IP addresses.
3. Release Current IP Address
ipconfig /release
Tells your router to forget your current IP assignment. Essential before requesting a new one.
4. Renew IP Address
ipconfig /renew
Requests a fresh IP address from your router. Often fixes “169.254.x.x” self-assigned IP errors.
5. Reset Network Adapter Settings
netsh interface reset
Broader than IP reset. Resets all network interfaces, not just TCP/IP settings.
6. Clear ARP Cache
netsh interface ip delete arpcache
Removes the table that maps IP addresses to physical devices. Fixes some local network conflicts.
7. Reset Firewall to Defaults
netsh advfirewall reset
Use this only if you suspect firewall corruption. Warning: This removes all custom firewall rules.
The Complete Nuclear Reset Script
For severe network issues, run all commands together. Here’s a script that does everything:
Step 1: Open Notepad
Step 2: Copy and paste this:
netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns
netsh interface reset
Step 3: Save as network-reset.bat (not .txt)
Step 4: Right-click the file and “Run as administrator”
Step 5: Restart your computer
This script runs 6 network repair commands in sequence. It fixes 90% of Windows network issues.
Troubleshooting: What If It Doesn’t Work?
Problem: “Access Denied” Error
Solution: You didn’t run Command Prompt as administrator. Close it and reopen with admin rights.
Problem: “The Requested Operation Requires Elevation”
Solution: Same issue. You need administrator privileges. Right-click Command Prompt and choose “Run as administrator.”
Problem: Command Works But Internet Still Broken
Try these next steps:
- Check if your network adapter driver needs updating
- Disable IPv6 temporarily to test
- Create a new network profile in Windows
- Check router firmware for updates
- Test with a different DNS (8.8.8.8 for Google DNS)
Problem: Lost Custom Network Settings
Solution: This is expected behavior. Write down your custom settings before running the command:
- Static IP addresses
- Custom DNS servers
- VPN configurations
- Port forwarding rules
You’ll need to re-enter them after the reset.
Understanding the Technical Details
What is the TCP/IP Stack?
The Transmission Control Protocol/Internet Protocol (TCP/IP) stack is a set of rules that govern how your computer sends and receives data over networks. Windows implements this as software layers that work together.
When you visit a website:
- Your browser asks the TCP/IP stack to connect
- The stack translates the website name to an IP address (DNS)
- It establishes a connection route to that address
- It breaks your request into small packets
- It sends packets and reassembles responses
- It hands complete data back to your browser
Corruption at any layer breaks this process. The netsh int ip reset command rebuilds layers 3 and 4 (network and transport layers).
Registry Changes Explained
The command modifies Windows Registry keys under:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
It deletes corrupted keys and recreates them with default values. This is why a restart is mandatory. Windows needs to reload these registry entries into memory.
Never manually edit these registry keys. Always use the netsh command instead.
When to Use Advanced Netsh Commands
Beyond the basic reset, netsh offers powerful network management tools.
Set a Static IP Address
netsh interface ip set address "Ethernet" static 192.168.1.100 255.255.255.0 192.168.1.1
Replace “Ethernet” with your adapter name. Use this for servers or devices that need consistent IPs.
Set Custom DNS Servers
netsh interface ip set dns "Wi-Fi" static 8.8.8.8
netsh interface ip add dns "Wi-Fi" 8.8.4.4 index=2
Sets Google’s DNS servers. Many users find this faster than ISP-provided DNS.
Display Current IP Configuration
netsh interface ip show config
Shows all network adapter settings in detail. Useful for documentation before running resets.
Show TCP/IP Statistics
netsh interface ip show stats
Displays packets sent, received, and errors. Helps diagnose intermittent issues.
Disable IPv6 on Specific Adapter
netsh interface ipv6 set interface "Ethernet" disabled
Some older routers and networks work better with IPv6 disabled.
Common Mistakes to Avoid
Mistake 1: Not restarting after the command
The reset doesn’t take effect until you restart. Your network will remain broken until you reboot.
Mistake 2: Running the command on public WiFi
You might lose connection immediately and be unable to reconnect without saved credentials. Run this on home networks only.
Mistake 3: Expecting it to fix hardware problems
This command fixes software configuration. It won’t repair:
- Broken network cables
- Failed WiFi cards
- Router hardware failures
- ISP outages
Mistake 4: Not backing up VPN settings
VPN software often stores configuration in the TCP/IP stack. Write down your VPN server addresses and credentials before resetting.
Mistake 5: Using it as routine maintenance
Only run this when you have problems. It’s a troubleshooting tool, not a maintenance task. Running it unnecessarily creates work reconfiguring settings.
Alternative Methods in Windows 11
Windows 11 added a graphical network reset option that does the same thing.
Path: Settings > Network & Internet > Advanced network settings > Network reset
This button runs netsh commands in the background, including netsh int ip reset. It’s easier for non-technical users but less flexible.
The command line version gives you:
- More control over what resets
- Ability to create log files
- Option to automate with scripts
- Better for remote troubleshooting
Use the GUI method if you’re uncomfortable with Command Prompt. Use the command line for anything advanced.
Microsoft provides detailed documentation on TCP/IP troubleshooting and network configuration through their official support channels.
How This Command Differs From Router Reset
People often confuse resetting their computer’s network stack with resetting their router. They’re different:
| Action | What It Resets | When to Use |
|---|---|---|
| netsh int ip reset | Your computer’s network software | Computer can’t connect, other devices work |
| Router reset | WiFi password, router settings, port forwarding | All devices can’t connect, router behaving strangely |
| Modem reset | ISP connection, modem configuration | No internet on any device, ISP connection down |
If only your computer has problems, use netsh int ip reset. If all devices have problems, reset your router or contact your ISP.
Security Implications
The netsh int ip reset command itself is safe and doesn’t create security vulnerabilities. However, resetting network settings can affect security configurations:
What to check after reset:
- Firewall rules still blocking unwanted connections
- VPN still configured and connecting properly
- Static IP addresses on servers still set
- DNS settings haven’t reverted to potentially slower/less private servers
If you use custom DNS for privacy (like Cloudflare’s 1.1.1.1), you’ll need to reconfigure it after the reset. Your computer will revert to using whatever DNS your router provides, which is usually your ISP’s DNS.
For privacy-focused users, check out Cloudflare’s DNS setup guides at https://1.1.1.1 to reconfigure after running the reset command.
Using Netsh for Network Diagnostics
Before resetting, use netsh to diagnose your problem:
Check Interface Status
netsh interface show interface
Shows all network adapters and whether they’re connected. Look for “Disconnected” or “Disabled” status.
View IP Addresses
netsh interface ip show addresses
Displays current IP configuration. Look for 169.254.x.x addresses, which indicate DHCP failure.
Check DNS Configuration
netsh interface ip show dnsservers
Shows which DNS servers you’re using. Helps identify if DNS is the problem.
Display Route Table
netsh interface ip show route
Shows how your computer routes traffic. Advanced users can spot routing conflicts here.
Run these diagnostic commands first. They often reveal the exact problem without needing a full reset.
Real-World Scenarios
Scenario 1: After Installing VPN Software
You installed ExpressVPN, NordVPN, or similar software. Now your internet doesn’t work even with the VPN disconnected.
What happened: VPN software modifies your TCP/IP stack to route traffic through their servers. Uninstalling doesn’t always clean up properly.
Solution: Run netsh int ip reset and netsh winsock reset together. Restart. Reinstall the VPN software cleanly.
Scenario 2: Windows Update Broke Networking
After a Windows update, you can’t access the internet. Other devices on your network work fine.
What happened: Some Windows updates corrupt TCP/IP settings, especially if the update was interrupted.
Solution: Boot into Safe Mode with Networking. Run netsh int ip reset. Restart normally.
Scenario 3: Constant “Limited Connectivity” Warnings
Your WiFi shows connected but with limited or no internet. The yellow exclamation mark won’t go away.
What happened: Your computer obtained a 169.254.x.x self-assigned IP instead of getting one from your router.
Solution: Run these commands in order:
ipconfig /release
ipconfig /renew
netsh int ip reset
Restart and reconnect to WiFi.
Scenario 4: DNS Poisoning or Malware
You suspect malware changed your DNS settings to redirect you to malicious websites.
What happened: Some malware modifies TCP/IP settings to intercept your web traffic.
Solution: Run antivirus first. Then run netsh int ip reset to remove malicious network configurations. Set trusted DNS manually afterward.
Summary: Quick Reference Guide
What it does: Resets Windows TCP/IP stack to default state
When to use: Network problems that basic troubleshooting can’t fix
Basic command: netsh int ip reset
Must restart: Yes, always restart after running
Resets these:
- IP address settings
- DNS configuration
- WINS settings
- Routing tables
Doesn’t reset these:
- WiFi passwords
- Network drivers
- Firewall rules
- Proxy settings
Common combinations:
netsh winsock reset+netsh int ip resetipconfig /flushdns+netsh int ip reset- Full reset script (all 6 commands)
After running:
- Restart computer
- Reconfigure static IPs if you use them
- Re-enter custom DNS servers
- Reconnect to VPN
Success rate: Fixes approximately 70-80% of Windows network configuration issues
Frequently Asked Questions
Does netsh int ip reset delete WiFi passwords?
No. This command only resets TCP/IP settings. Your saved WiFi networks and passwords remain unchanged. You won’t need to re-enter any WiFi passwords after running this command.
Can I use this command on Windows 10 and Windows 11?
Yes. The netsh int ip reset command works identically on Windows 7, 8, 10, and 11. The syntax hasn’t changed. Some older commands don’t work on newer Windows versions, but this one remains consistent across all modern Windows releases.
Will this fix my slow internet speed?
Maybe. If slow speed is caused by corrupted TCP/IP settings, misconfigured DNS, or routing problems, this command might help. However, if your internet is slow because of ISP throttling, router limitations, or too many devices on your network, resetting TCP/IP won’t improve speeds. Run a speed test before and after to measure any difference.
Is it safe to run netsh int ip reset multiple times?
Yes, it’s completely safe. The command can’t damage your system. However, running it repeatedly when you don’t have network problems is pointless. Each time you run it, you’ll need to reconfigure custom settings like static IPs and DNS servers. Only run it when troubleshooting actual network issues.
What’s the difference between netsh int ip reset and network reset in Windows settings?
The Windows Settings network reset button runs multiple commands automatically, including netsh int ip reset, netsh winsock reset, and removes/reinstalls network adapters. The command-line version gives you more control to run specific resets individually. The Settings version is easier for beginners but less flexible for advanced troubleshooting.
