If your internet is slow on Windows, websites take too long to load, or downloads feel sluggish, you can try some simple CMD commands to refresh and optimize your network settings.
These built-in Windows commands can help fix DNS issues, reset network cache, and improve internet responsiveness.
Follow this easy step-by-step guide.
📌 Why Internet Becomes Slow?
Common reasons include:
Corrupted DNS cache
Network configuration issues
Temporary IP conflicts
Background network errors
Old router connection data
⚠️ Important Note
These CMD commands are safe and built into Windows.
✔️ No software required
✔️ Works on Windows 10 & 11
✔️ Beginner-friendly
✅ Step 1: Open CMD as Administrator
Press Windows Key
Search:
cmd
Right-click Command Prompt
Select:
Run as administrator
🔄 Step 2: Flush DNS Cache
Type this command:
ipconfig /flushdns
👉 This clears old DNS cache and refreshes website connections.
🔁 Step 3: Release Current IP Address
ipconfig /release
This disconnects the current network IP temporarily.
🌐 Step 4: Renew IP Address
ipconfig /renew
👉 Windows will request a fresh IP address from router.
🛠️ Step 5: Reset Winsock
netsh winsock reset
This fixes many internet-related problems.
⚙️ Step 6: Reset TCP/IP Stack
netsh int ip reset
👉 Restores default network configuration.
🔄 Step 7: Restart Your Computer
After running all commands:
✔️ Restart PC
✔️ Reconnect internet
✔️ Test speed again
🚀 Optional Extra Tip – Change DNS
You can also use faster public DNS:
Google DNS
8.8.8.8
8.8.4.4
Cloudflare DNS
1.1.1.1
1.0.0.1
These may improve browsing speed and stability.
📈 Benefits of This Trick
Refreshes internet settings
Fixes DNS problems
Improves browsing response
No extra software needed
Quick and easy
⚠️ Important Tips
Restart router if needed
Update network drivers regularly
Avoid too many background downloads
Check internet plan speed limits
📝 Final Words
Using CMD commands to fix slow internet in Windows is a simple and effective trick. It helps refresh your network settings and solve common connectivity problems quickly.
This method is safe, free, and works on most Windows systems.
For more Windows tricks and networking guides, visit CodeSardar.
❓ Frequently Asked Questions
Q1. Are these CMD commands safe?
Yes, they are official Windows networking commands.
Q2. Will this increase internet speed permanently?
It mainly fixes network-related issues and improves responsiveness.
Q3. Does this work on Windows 11?
Yes, it works on both Windows 10 and Windows 11.
