Slow internet speed is a never-ending issue that plagues internet users who do not have the lugs for high speeds. Although slow speed is often a matter of overloading the network or wiring of the local network, there are times when the problem may lie with your computer or even your internet service provider.
However, many of the most common issues of DNS, TCP, and IP addresses can be resolved by using the Windows command line. Below you can see some Command Prompt commands that you can use when you realize that you have slower Internet speed than usual.
Access Command Prompt (Command Prompt)
First you need to open the "command line" application with administrator privileges. There are many ways to do this and it is usually different for each version of Windows. An easy and safe and at the same time common to all versions, just type the word cmd in the Windows search bar and right click on the Command Prompt that you will see in the search results.
Now, from the popup menu, select 'Run as Administrator' and confirm the dialog box that allows the program to make changes to your computer to open the command line with administrator privileges.
1. Renew IP address
Many problems can arise from your current IP address and make your connection slower. It could be a matter of a dispute over your IP or even a problem with the DHCP server. It does not matter if you have a static or dynamic IP. Although those who have a dynamic IP are more prone to such issues. In most cases, simply resetting the IP address is all you need to fix these issues.
You can use two simple Command Prompt commands. The first to disconnect your connection to the current IP address and the second to restore it. Let's see how:
Write the command ipconfig / release and press Enter. This will cut your connection to the internet.
Then write ipconfig / renew and press Enter again. This will restore your IP address and logically if you had a slowdown because of your IP it should now be resolved.
Note: Keep in mind that it's normal to reload the same IP address you previously had. The trick here was simply to disconnect and create a new internet connection. Do not try it through remote connection because you will stay away from !!!
2. Delete the DNS Reset Cache
Your PC maintains a list of the names of the websites you visit as well as their IP addresses and stores it in the DNS cache. The purpose of this list is to easily create a link to a website you've visited in the past.
However, there is a possibility that a DNS cache resolving problem may slow you down or even give you no access to web pages. This though it does not slow down your actual internet connection, could slow down your overall browsing experience. If you have encountered such a situation, then you can just clear a DNS resolving cache to fix the problem.
To delete the DNS cache, type the command ipconfig / flushdns and press enter. You should see a confirmation that says "Successfully flushed DNS Resolver Cache".
3. Restore Winsock
Windows uses multiple network sockets to exchange information, as well as programs that can install a Layered Service Provider (LSP) to manage traffic and route it to the right path. However, any problem with sockets or an infected LSP may result in slow connection, web page redirects, or even no access to web pages.
If this happens, you can reset and restore Windows network sockets to the default state. To do this, type the command netsh winsock reset at the command prompt and press Enter.
After successful execution, you will have to restart your computer for the changes to take effect.
4. Use the Netsh command
The netsh command allows you to configure multiple network settings that directly affect your connection performance. If the internet takes an unusually long time to connect to websites, then you can make some changes to speed up the connection.
Below are a few netsh commands that you can use to speed up your connection. Keep in mind that some of these commands may not work on your computer due to limited compatibility.
- netsh int tcp set global chimney = enabled
- netsh int tcp set global autotuning = normal
- netsh int tcp set supplemental (the alternate command for Windows 7 users is at the end of the list)
- netsh int tcp global set dca = enabled
- netsh int tcp set global netdma = enabled
- netsh int tcp set global ecncapability = enabled
- netsh int tcp set global congestionprovider = ctcp (for Windows 7 users)
Enter all of these commands in Command Prompt, and then restart your computer for the changes to take effect. For each command you pass, an "OK" will be received as a confirmation. In most cases, you need to speed up connectivity as well as overall internet speed.
If you have any problem, replace the enabled track of these commands with disabled and press enter to disable it.
For example, the netsh int tcp set global chimney = disabled command will disable it ability to reduce TCP drain load, and to see its current status, you can use the netsh int tcp show global command.
5. Acceleration of flow
If even though you have the maximum speed available on the internet, streaming websites are slow, such as YouTube, then there is a chance that your ISP will "strangle" your connection. It is a common trick for ISPs to strangle streaming to save bandwidth. Fortunately, there is a simple command to fix this issue.
At the command prompt, type the following command and press enter:
netsh advfirewall firewall add rule name = "StopThrottling" dir = in action = block remoteip = 126.96.36.199 / 24,188.8.131.52 / 16 enable = yes
This simply adds a rule to the firewall by blocking the above IPs, and that will prevent your ISP from strangle your connectionwhile streaming.
If you have any problems on the internet, then you should first try all the above commands. In most cases, an unexpected slowdown in Internet speed or a wrong website access is usually caused by problems in these areas.