Slow internet can be frustrating, especially when you are working from home, streaming content, or gaming online. While your internet plan sets the baseline, Windows 10 has several settings that can limit your connection speed. The good news is that you can fix many of these issues using nothing more than the Command Prompt.
This guide covers the most effective Command Prompt commands to boost your internet speed in Windows 10. These tweaks help you flush corrupted DNS entries, reset network sockets, renew your IP address, and optimize TCP settings for better performance.
Opening the Command Prompt as Administrator
Before you run any of the commands below, you need to open Command Prompt with administrator privileges. Type cmd in the Windows search bar, right-click on Command Prompt, and select Run as Administrator. Click Yes when the User Account Control prompt appears.
For more Command Prompt tips, check our guide on how to Activate Windows 10 using Command Prompt.
1. Use Netsh to Optimize TCP Settings
The netsh command lets you configure advanced network settings that control how Windows handles internet traffic. If your connection feels sluggish, these TCP tweaks can help Windows use your bandwidth more efficiently.
Run each of these commands one at a time in the administrator Command Prompt:
netsh int tcp set global chimney=enablednetsh int tcp set global autotuninglevel=normalnetsh int tcp set global dca=enablednetsh int tcp set global netdma=enablednetsh int tcp set global ecncapability=enabled
These settings enable TCP features like chimney offloading, auto-tuning, and Direct Cache Access (DCA), which help your network adapter handle traffic more efficiently.
2. Flush the DNS Cache
Your computer stores IP addresses of websites you visit in a local DNS cache. Over time, this cache can become corrupted or outdated, leading to slow page loads and connection errors. Flushing the DNS cache removes these stored records and forces Windows to fetch fresh DNS information.
Type the following command and press Enter:
ipconfig /flushdns
You should see a confirmation message: “Successfully flushed DNS Resolver Cache.” If you are experiencing browser-related network issues, our guide on how to Fix Err Connection Reset in Chrome offers additional solutions.
3. Reset Winsock
Windows uses Winsock (Windows Sockets API) to manage network traffic through sockets. If these sockets become corrupted, you may experience slow connections or errors when accessing the internet. Resetting Winsock restores these network settings to their default state.
Type this command and press Enter:
netsh winsock reset
Note: You must restart your computer after running this command for the changes to take effect.
For more network troubleshooting, see our guide on how to Fix Discord No Route Error, which covers similar DNS and IP release techniques.
4. Renew Your IP Address
Your IP address can sometimes develop conflicts with your router’s DHCP server, causing slow or unstable internet. Releasing and renewing your IP address forces your computer to request a fresh lease from the router.
Run these two commands in order:
ipconfig /releaseipconfig /renew
You may be assigned the same IP address, which is normal. The important thing is that the connection resets and re-establishes properly.
5. Reset the Network Stack Completely
If none of the above steps work, you can reset the entire network stack with a single command. This resets Winsock, TCP/IP settings, and firewall rules to their defaults.
netsh int ip reset
After running this, restart your PC for the changes to apply. This is the most thorough network reset you can perform through Command Prompt.
Bonus Tip: Limit Background Data Usage
Windows 10 runs many background processes that consume bandwidth, including automatic updates, app sync, and telemetry. To improve download speeds in specific apps, you can limit background data or check app-specific settings. For gamers, our guide on Steam Download Speed: 6 Ways to Make It Faster covers additional tweaks.
Summary
Slow internet is often caused by corrupted DNS caches, misconfigured TCP settings, or IP conflicts. The Command Prompt commands above resolve all of these issues without requiring third-party software. Try all the methods in order, and restart your computer afterward for the best results.
Did these steps help improve your internet speed? Let us know in the comments below.
