How To Speed Up Internet Using CMD
To speed up the internet using CMD, we need to make some changes to Windows. Some of these changes include tinkering with the DNS cache, pinging the default gateway, and using the ‘ netsh int TCP ‘ command along with several options to increase internet speed.
We often have problems with a slow internet connection and don’t know what to do. In most cases, at most we just have to restart our device, blame the WiFi signal or the router, and then wait for the internet speed to improve.
If this doesn’t work, we immediately start complaining to our service provider because of the slow internet problem persists, eventually, we will decide to change our internet service provider to have a faster connection. So, here are some tips and tricks to improve the Internet connection using CMD.
How to speed up the internet using CMD
1. Check your internet speed by using ping cmd to the default gateway
You can check the speed of your Internet connection by sending ping packets to the default gateway.
To know the default gateway, you can use the ipconfig / all command. Once you have the IP address of the default gateway, start performing a continuous ping by typing ping -t <your default gateway address>. The value of the time field will show you the time it took to get an acknowledgment from the gateway.
A lower time value indicates that the network is fast. However, running many pings consumes network bandwidth and default gateway resources. Although the data packets for pinging are very negligible in size and you may not observe any change in internet speed but consume bandwidth.
2. Release and Renew IP Address
Well, if you are using a WiFi connection, in case of IP release and renewal, you can improve the connection temporarily, depending on the strength of the WiFi signal. However, in the case of the LAN, this will not affect the speed.
3. Flushdns to speed up the internet using cmd
Our computer keeps a list of the websites and their corresponding IP addresses that we access the most in the DNS resolver cache. Sometimes, this data becomes outdated after months or weeks. So when we unload our DNS resolver cache, we delete the stale data and insert new entries into the DNS resolver cache table.
Using this command, you may initially experience a slower connection due to the requirement of new DNS lookups for each resource. However, you will soon experience faster websites loading in your browser.
4. How to speed up the internet connection using the CMD ‘Netsh int TCP’ command :
Type this command in the command prompt window to speed up internet connection. If you don’t see the Autotuning level of the receiving window as ‘Normal’, run the following command:
- netsh int tcp set global autotuninglevel = normal
This command will set the TCP receive window to Normal from the disabled or restricted state. The TCP receive window is one of the key factors in Internet download speed. Therefore, setting the TCP receive window to “Normal” will help you to increase the Internet speed.
After this command, we check another Windows parameter in terms of slow connection called “Windows scaling heuristic”. To verify this parameter, type
- netsh interface tcp show heuristics
Well, in my case, it’s disabled. However, in some cases, you might want to enable it. This means that Microsoft is somehow trying to restrict your internet connection. Then change it to get a faster internet connection, type the following command, and hit enter:
- netsh interface tcp set heuristics disabled
Once you hit enter, you will get an “ok” message and now your internet speed has definitely increased.
Once these steps are finished, you can follow step one again to measure the time value and get a ping acknowledgment from the default gateway, just to check if your internet speed has increased or not.