ThisCalculator

Everyday

Speed Up Internet Using Command Prompt: Real Fixes

Updated · Standard formula, shown below

Average pace 5.00 min/km
Average speed
12.00 km/h
Result
Finish time
50 min
You entered
Distance
10 km
You entered

Speed Up Internet Using Command Prompt: Real Fixes

You can speed up your internet using Command Prompt by flushing the DNS cache, resetting TCP/IP, and renewing your IP address—these commands fix common slowdowns caused by corrupted network data or stale settings. Below are the exact commands, what they do, and when to use them, plus a few advanced tweaks for Windows users.

Why Command Prompt Can Improve Your Internet Speed

Windows stores a local cache of every website’s IP address (the DNS cache) to load pages faster. Over time, this cache can become corrupted or outdated, causing your browser to wait for a server that no longer exists or to use a slow, wrong route. Similarly, your network adapter’s TCP/IP stack (the software that manages data packets) can get stuck in a bad state after a router crash, a sleep/wake cycle, or a VPN disconnect. Command Prompt lets you clear these caches and reset the network stack to a clean state, which often resolves intermittent lag, slow page loads, and connection drops.

The Core Commands: What They Do and How to Run Them

All commands below must be run as Administrator. Click the Start button, type cmd, right-click “Command Prompt� and choose “Run as administrator.� Then type each command and press Enter. After each, wait for the confirmation message before moving to the next.

  • ipconfig /flushdns – Clears the DNS cache. This is the safest and most effective first step. Run it if a website loads slowly or gives an error, especially after you’ve changed DNS servers or your router has been reset.
  • ipconfig /registerdns – Re-registers your computer with the DNS server. This refreshes the mapping between your hostname and IP address, which can fix issues where other devices on your network can’t find your PC.
  • ipconfig /release – Releases your current IP address. This disconnects you from the network temporarily.
  • ipconfig /renew – Requests a new IP address from your router. Run this after /release to get a fresh lease. It often fixes “limited connectivity� or “no internet access� errors.
  • netsh int ip reset – Resets the entire TCP/IP stack to its default state. This is a more thorough fix for persistent network issues. It writes a log file (resetlog.txt) in the current directory, but you can ignore it.
  • netsh winsock reset – Resets the Winsock catalog, which manages how apps talk to the network. This is useful if a program (like a game or browser) can’t connect even though other apps work fine.

After running the last two commands, you must restart your computer. They don’t take effect until a reboot.

Step-by-Step: The Full Reset Routine

If you’re experiencing slow internet and want to try everything at once, follow this order:

  1. Open Command Prompt as Administrator.
  2. Type ipconfig /flushdns and press Enter.
  3. Type ipconfig /registerdns and press Enter.
  4. Type ipconfig /release and press Enter. You’ll lose internet for a few seconds.
  5. Type ipconfig /renew and press Enter. Wait for it to finish (it can take up to a minute).
  6. Type netsh winsock reset and press Enter.
  7. Type netsh int ip reset and press Enter.
  8. Restart your computer.

This routine clears all temporary network data and gives your adapter a fresh start. It’s the digital equivalent of turning your modem off and on, but at the software level.

How to Choose Which Command You Actually Need

Not every slowdown requires the full reset. Here’s a quick decision guide:

  • One specific website is slow – Use ipconfig /flushdns first. If that doesn’t help, try a different browser or clear your browser cache.
  • All websites are slow, but other devices are fine – The problem is likely your PC’s network stack. Run the full reset routine.
  • You see “No internet access� or a yellow triangle – Use ipconfig /release then ipconfig /renew. If that fails, run the full reset.
  • After a VPN disconnects, your internet is broken – Run netsh winsock reset and restart. VPNs often leave Winsock in a bad state.
  • You changed DNS servers but nothing happened – Flush the DNS cache (ipconfig /flushdns) so the new settings take effect immediately.

If the problem persists after the full reset, the issue is likely outside your PC—your router, modem, or ISP. Try rebooting your router and, if that fails, contact your internet provider.

Common Mistakes and Why They Don’t Work

Many online guides tell you to use ping or tracert to “speed up� your internet. These commands are diagnostic, not fixes. ping tests latency to a server; tracert shows the route your data takes. They can help you identify where a slowdown is, but they won’t change anything. Also, avoid running the reset commands while a download or online game is active—you’ll drop the connection and may corrupt the file transfer. Finally, don’t run the commands as a regular user; without admin rights, you’ll get an “access denied� error and nothing will happen.

Beyond Command Prompt: Other Software-Level Tweaks

If Command Prompt fixes don’t help, consider these Windows settings:

  • Disable large send offload (LSO) – In Device Manager, find your network adapter, right-click, go to Properties → Advanced, and set “Large Send Offload� to Disabled. Some drivers have a bug that causes packet loss.
  • Change DNS to a public server – Use 8.8.8.8 and 8.8.4.4 (Google) or 1.1.1.1 (Cloudflare). This can speed up name resolution if your ISP’s DNS is slow.
  • Turn off Wi-Fi power saving – In Device Manager, under Power Management, uncheck “Allow the computer to turn off this device to save power.� This prevents the adapter from dropping to a low-power state.
  • Update your network driver – Outdated drivers can cause slowdowns. Check Windows Update or your manufacturer’s site.

These tweaks are safe and reversible. They don’t require Command Prompt, but they address the same underlying software issues.

Safety and Limitations: What Command Prompt Can’t Do

Command Prompt commands are safe if you use the ones listed above. They only reset Windows network settings to their defaults; they won’t harm your files or personal data. However, they cannot increase your raw bandwidth. If you’re paying for 50 Mbps and getting 10 Mbps, no command will fix that—the issue is your ISP or your router. Also, these commands won’t help if your slowdown is caused by hardware failure (faulty cable, bad Wi-Fi adapter) or network congestion (everyone in your area is streaming at peak hours). For those, you need physical troubleshooting or a better internet plan.

Frequently Asked Questions

Will these commands work on Windows 11? Yes, all commands work identically on Windows 10 and Windows 11. The steps to open Command Prompt as Administrator are the same.

Do I need to restart after every command? No. Only the two netsh commands require a restart. The ipconfig commands take effect immediately.

Can I run these commands on a Mac or Linux? No, these are Windows-specific. Mac uses sudo dscacheutil -flushcache and sudo killall -HUP mDNSResponder for DNS cache. Linux uses sudo systemd-resolve –flush-caches (on systemd systems).

Will this fix my slow Wi-Fi? It might, if the issue is software-related. But if your Wi-Fi signal is weak, you need to move closer to the router or use a wired connection. Command Prompt can’t boost signal strength.

Is it safe to run netsh winsock reset? Yes, it’s a standard troubleshooting step. It will reset all network settings to defaults, which may require you to re-enter VPN credentials or reconnect to some networks, but it won’t delete your files.

How often should I run these commands? Only when you have a problem. Running them daily won’t speed up your internet and will actually cause a brief disconnection each time.

Related

Formula used
in t | Finish time | min | 50 | 0
in d | Distance | km | 10 | 0
out pace | Average pace | min/km | t / d | 2
out speed | Average speed | km/h | d / (t / 60) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.