To speed up the internet using cmd, we have come up with some Windows tweaks. Some of these tweaks and tricks include playing with DNS cache, pinging to the default gateway, and using ‘netsh int tcp’ command along with different attributes to increase the internet speed.
We often encounter problems with the slow internet connection and we really do not know what to do next. In most of the cases, at most we do is restart our device or the router and then wait for the increased internet speed.
If that does not work, we complain to our service provider and even if the slow internet speed problem persists, we, eventually, change our internet provider for a better speedy connection. So, here are some of the tips and tricks on speeding up the internet using cmd.
You can check your internet connection speed by sending ping packets to your default gateway.
To know your default gateway, you can use ipconfig /all command. Once you get the IP address of your default gateway, start running a continuous ping by typing ping -t <your default gateway address>. The time field value will show you the time taken to get an acknowledgment from the gateway.
Lower time value is an indication that your network is faster. However, running a lot of pings consume network bandwidth as well as your default gateway resources. Though the data packets for ping are very negligible in size and you might not observe any change in internet speed but it does consume bandwidth.
Moreover, if you are interested in learning how to ddos an ip using command prompt here!
Well, If you are using a WiFi connection, in the case of IP release and renew, you may experience a temporary speed boost, depending on the strength of the WiFi signal. However, in the case of LAN, it won’t affect speed.
Our computer maintains a list of the websites and their corresponding IP addresses that we access the most in the DNS resolver cache. Sometimes, these data become obsolete after months or weeks. So when we flush our DNS resolver cache, we actually flush out the obsolete data and make new entries in the DNS resolver cache table.
Using this command, you might initially experience a slower connection because of the requirement of the new DNS lookups for every resource. However, you will soon experience faster loading of the websites in your browser. Also, check out the list of useful commands that you might not know.
Type this command in your command prompt window and observe carefully:
If you do not see Receive Window Autotuning level as ‘Normal’ as shown above then run the following command:
This command will set your TCP receive window to Normal from the disabled or restricted state. TCP receive window is one of the key factors in the internet download speed. Thus making the TCP receive window to ‘Normal’ will surely help you in increasing your internet speed.
After this command, let’s check for another parameter of Windows in terms of the slow internet connection called ‘Windows scaling heuristics’. To check for this parameter, type
Well, in my case, it’s disabled. However, in some case, you might it enabled. That means Microsoft in some ways, is trying to limit your internet connection. So avoid it and to get faster internet, type the below command and press enter:
Once pressed enter, you will receive an ‘ok’ message and now your internet speed has surely got boosted up.
Once you are done with the above steps, you can follow step one again to measure the time value in getting a ping acknowledgment from the default gateway, just to check if your internet speed has gone up or not.
If you are also aware of the other Windows tweaks which can help us to speed up internet using cmd commands or some other way, let us know in the comments below.
Netsh is a cmd tool in Windows computers that can be used to tweak the network confiuration. A popular command to rest the TCP/IP configuration is: netsh int ip reset
You can use Python-based speedtest-cli on Windows to test your internet speed. After installing python, run this command to install: pip install speedtest-cli
Internet speed that you get is the result of multiple factors like equipment like router, quality of cables, signal strength, device modem, and finally your ISP. With all these factors into account, the internet speed is bound to vary.