How to Significantly Boost Internet Speed using Command Prompt (CMD)

 

Is your internet slower than usual or not even working at all? Do you find yourself resetting router multiple times a day to try to fix your internet? Don’t you hate those unbearably long loading pages or being unable to play your favorite online game smoothly?

We’ve all been there – slow internet is one of the biggest pains when using your computer. You can have a quick responding PC, but one of the biggest bottlenecks is a slow internet connection. Luckily, my friends, there is another solution to making your computer run faster with an internet boost.

Step 1 – Open CMD

Opening your command prompt is very simple. Just follow the steps for any version of Windows and you’re on your way to that internet boost!

How to Open CMD:

  1. Click the start menu and type in “CMD”
  2. When CMD pops up, right-click and choose “Run as administrator”
  3. A window should pop up asking if you want to make changes to your computer – go ahead and hit yes.

Boom! Just three easy steps – it’s that simple. Not only do you have the command prompt open, but you also have special administrative privileges that will help you throughout the guide. Alright, now let’s get crackin’ at some commands to run.

Step 2 – Let’s Test Your Internet Speed

Through the command prompt, you’re able to test how fast your internet is by sending data packets. I won’t go into detail about the process and the behind the scenes stuff on this post, but just know that you are basically measuring how long data packets go to you. When you’re doing this, you want to pay attention to the time and you ideally want to be “<1ms”. The lower number of milliseconds it takes, the faster your internet speed is. Here’s how to proceed:

  1. Type in “ipconfig”
  2. Then find where it shows “Default Gateway”
  3. Take note of that number that corresponds to the Default Gateway
  4. Type in “ping -t [your default gateway address]” – ex: “ping -t 192.168.1.1”
  5. Let it run for about a minute or so

ipconfig

And from there you should be able to gauge an estimate of your internet’s speed!
command prompt
Remember: Lower MS = Good, Higher MS = Bad

For example: “time>1” = Good

Step 3 – Release and Renew IPs

This is a simple and frequent solution for those who having issues with their internet connection. In essence, you’re forcing your computer to change your IP which should reset your computer’s access to the internet. That’s the most simplified version, there’s a lot more that goes into it but that’s all you need to know to potentially fix your internet problem. Go ahead and do the following:

  1. Type “ipconfig /release” – you let go of your old IP address
  2. Type “ipconfig /renew” – you request for a new IP address for your computer

It’s as simple as that!

Step 4 – Flush (or Reset) your DNS Cache

Flushing out your DNS is a common to solution to internet problems. Your DNS Cache is essentially temporary storage where your operating system holds the records of all the webpages (in IP form) you visited, or tried to visit. Usually the webpage’s IP stays stored in your computer for 86,400 seconds or one day. With the IP in the cache for a while, it allows for slightly faster loading times for the website. However, too many IPs can harm your internet speeds. Now that you know what the DNS cache is, here’s how to reset it:

Simply type in: “ipconfig/flushdns”

And that’s it – your webpage loading times should also be faster!

Step 5 – Run the “Netsh Interface TCP” commands

We’re going to changing some of our PC’s default network settings and optimizing it to peak performance. Many people actually don’t know about these settings because there isn’t an easy way to see how they’re set. This should definitely help you see significant improvements in internet speed. Start off by running the following command:

  • Type in “netsh int tcp show global”

netsh int tcp show global

This shows you the current settings on your system. I highly recommend that you write these settings down, type them on a notepad, print them out, or anything that makes sure that you know the original settings. It’s important to have them as a safety net, in the unlikely event that you want to revert back to your old settings.

One of the first options you should see is “Chimney Offload State”. This setting controls whether or not tasks are sent to your CPU or directly to your network adapter, which in turn, relieves some tasks off of your CPU for more processing time. If your default setting is already set to enabled “automatic” or “enabled”, you can go ahead to the following setting as your system should be doing just fine with that.

If your Chimney Offload State is set to “disabled” by default, go ahead and turn it on to test.

  1. Type in “netsh int tcp global chimney=enabled”
  2. Reboot your system to fully enable the setting.
  3. If you notice an improvement, keep it on.
  4. If you see any issues, open up a CMD and type: “netsh int tcp global chimney=disabled” and it should be off and any problems you had should disappear

The next option down the list is NetDMA State. This setting permits your network adapters to move data straight to your program or any application without the intervention of your CPU. If it isn’t turned on already, type in:

  • “netsh int tcp set global netdma=enabled”
  • Reboot your system to make sure that it is enabled properly.
  • Again, if you would like to revert the settings back, type “netsh int tcp set global netdma=disabled” and reboot

Following along the option list, the next setting should be Direct Cache Access. This allows your system to decrease expenditure of resources by giving access to a network controller to move data straight into the CPU’s cache. The problem is that your controller, chipset, and processor of the CPU should all be compatible in order for the Direct Cache Access setting to work successfully.

If you’d like to try and see if your CPU is compatible, type in:

  • “netsh int tcp set global dca=enabled” then reboot your system
  • And like always, if you’re not satisfied, or there are problems that occur, revert your settings by typing: “netsh int tcp set global dca=disabled” and reboot

Then, we should see the Receive Window Auto-Tuning Level option. This setting allows you to set your system to automatically change the TCP Receive Window (RWIN) to adapt to any network conditions. Some say they reaped significant improvements to performance are very noticeable with this setting. However, other people state otherwise, that enabling the setting actually hurt and reduced speeds. You never know until you try it out though, as results may vary greatly between each person.

If you’d like to try it out, type in the following:

  • “netsh int tcp set global autotuninglevel=enabled” and reboot your system

If it’s just not working out for you and slows you down more than before:

  • “netsh int tcp set global autotuninglevel=disabled” and reboot your PC

Next, we’ve got the Add-On Congestion Control Provider. Normally, a network connection will send out small data packets, and gradual increase the amount to evade network congestion. However, this setting does things differently and changes their approach by increasing your TCP size more assertively. To try this out when your default setting is set to “none”, type the following command:

  • “netsh int tcp set global congestionprovider=ctcp” and reboot your computer
  • If you find that you’re experiencing negative effects, revert back to “netsh int tcp set global congestionprovider=none”

Finally, our last setting on the list is the ECN Capability. Explicit Congestion Notification enables an efficient method for routers to indicate network congestion without dropping or reducing packets. This is in a spotty area, as well, considering you should make sure that your router supports ECN, in the first place. If your ECN Capability is “default” or “disabled”, type the following:

  • “netsh int tcp set global ecncapability=enabled” and reboot your PC

If you find that your router does not have support for ECN Capability, or you noticed not much significant packet loss, it’s probably a good idea to just leave ECN off. So if it’s on right now, go ahead and type:

  • “netsh int tcp set global ecncapability=disabled” and reboot

The Bottom Line

The Command Prompt (CMD) is a powerful tool for taking control of your computer and giving yourself diagnostics or assessing yourself so that you may take the appropriate actions necessary. Even if you’re not totally sure about what settings you’re changing or what commands you’re running, just follow the guide carefully and you’ll be in good hands! When you’re messing with your TCP Global Parameters, remember that you should only change each setting at a time. One at a time.

You should be careful and cautious always and it is crucial that you make sure to take note of your default settings before you mess around with any of the options. I also recommend speed test websites such as http://beta.speedtest.net/. They can provide respectable benchmarks and gauge what areas you need improvements in regards to your network connection and speeds.

 

 

Published by admin