Resetting network settings: step-by-step instructions on how to work and configure, tips and tricks. Netsh winsock reset command to reset the network stack. Eliminate Poltergeist Reset wifi windows 8

Many have encountered problems connecting to the Internet and errors in browsers, be it Google or Yandex, and there can be a lot of reasons, but the main reason sometimes lurks in the clutter of the network card. If you cannot connect to the Internet, your Internet Protocol TCP / IP may be damaged and you may need to reset it. TCP / IP is one of the basic components that your Windows computer needs to successfully connect to the Internet. Even if you are connected to the Internet, packets are not transmitted over the network, and when you try to connect to the URL, you may see the message "The page cannot be displayed."

There is also such a service as Winsockwhich defines how the Windows networking software should access network services. Windows comes with a dynamic link library (DLL) called winsock.dll, which implements the API and coordinates TCP / IP programs and connections. But sometimes Windows Sockets or Winsock can be damaged, as a result of which you will not be able to connect to the Internet and browsers can give various errors.

If you cannot open the website normally, then the problem is most likely DNS cache, which over time is clogged with all obsolete information. There are three types of DNS cache in Windows: Memory Cache, DNS Cache, Thumbnail Cache. Clearing the memory cache can free up some system memory, while clearing the thumbnail cache can free up hard drive space, and clearing the DNS cache can fix Internet connectivity issues and various browser bugs.

What errors can be fixed this way? This will fix internet connection issues that give errors 651, 691, 678, 619, 868, 720, 502 Bad Gateway will fix bugs in browsers like NETWORK_FAILED, ERR_EMPTY_RESPONSE, unable to access site, ERR_INTERNET_DISCONNECTED, ERRR_CONETNECTED, erRR_CONET err_name_not_resolved, err connection refused, Err Connection Closed, etc. When you can't open a page or when the site doesn't want to be displayed.

Important:Before the procedure, check the wires themselves, turn on and off your router / modem, restart your PC and check if the error is resolved.

Reset DNS, reset Winsock and reset TCP / IP protocol

Method 1... Open the command line as administrator and enter the commands in order, press Enter after each.

  • netsh winsock reset - Reset Winscock.
  • ipconfig / flushdns - Flush DNS cache.
  • netsh int ip reset resettcpip.txt - Reset TCP / IP.
  • ipconfig / renew - Renew the IP address

Reboot your PC.

Method 2... Press Win + R and enter ncpa.cplto open network connections. Next, right-click on the adapter through which you are connected to the Internet and select " Properties". Open properties IP version 4 (TCP / IPv4) and in the new window set to " Use the following DNS server addresses"and the following DNS:

  • DNS Google: 8.8.8.8 - 8.8.4.4
  • DNS Yandex: 77.88.8.8 - 77.88.8.1
  • DNS CloudFlare: 1.1.1.1 - 1.0.0.1

Method 3... Open your browser and paste the address into the address bar below. Next click on Clear Host Cacheto clear the browser's internal DNS cache:

  • chrome: // net-internals / # dns - for Google Chrome
  • browser: // net-internals / # dns - for Yandex Browser

Quite often, if your computer is affected by viruses or other system failures, there may be strange problems with network applications, starting with the fact that Web pages may simply not be displayed to the inability to connect to the network. Therefore, in such cases, it may be advisable to perform a full reset of the TCP / IP protocol parameters in Windows 7 or Windows 2008, as a result, you can return all network settings and the state of the WinSock library to their original "clean" settings, i.e. it is actually a TCP / IP reinstallation. You can reset TCP / IP settings as follows:
Run command line cmd with administrator rights ("Run As Administrator")
Then run the following commands in sequence.
ipconfig / flushdns

resetting the tcp ip protocol settings is done by the good old utility netsh. The utility is very rich in functionality, I advise you to take it into service. And so we proceed.

nbtstat -R

nbtstat -RR

netsh int reset all

netsh int ip reset

netsh winsock reset

How to reset TCP-IP settings in Windows 7-Windows Server 2008R2

Then run the following command to disable TCP auto tuning

netsh interface tcp set global autotuninglevel \u003d disabled
Reboot your computer

For the lazy, there is a fix from MS, download, install, reboot. Download. The fix itself is an msi packet, which also resets the tcp ip settings. It weighs literally a penny, only 120 kb. Run it, you will be shown that it is fix 20140, click on.

This fix will create

Are you having problems connecting to the internet on your computer or smartphone? Often, the situation can be simply resolved by referring to a network settings reset. How to do this on popular platforms - versions of "Windows", "Android", we will tell you later in the material.

Why do I need a reset?

Why, in fact, reset your network settings? This manipulation is vital for situations where the network settings are incorrectly changed, as a result of which it becomes impossible to access the Internet from a computer or smartphone. What is the reason? The settings can be changed by malicious applications and viruses, as well as by the user himself.

In this case, there are problems with IP or DNS. Consequence: the Internet works slowly, some sites do not open at all, a connection to a router or provider is not established, and it is not possible to distribute Wi-Fi from the device.

Even experienced users believe that it is the network settings reset that is able to cope with many Internet problems in most cases. The essence of the procedure is that it will reset the settings to the factory settings, and also clear all the parameters that have been changed by the system, programs or by the user himself.

Nuances of the procedure

Resetting network settings is a fairly simple manipulation that even an inexperienced user can handle. But before proceeding with it, we will acquaint the reader with two important nuances:

  • Do not reset yourself on a work or school computer or other corporate device that does not belong to you personally. It is more correct to contact the system administrator of the organization for help. In these cases, the specialist manually sets certain settings for the TCP / IP protocol.
  • Perhaps, after this manipulation, you will need to re-configure the network parameters of the computer to connect it to the Internet. For example, in some cases this is required by the provider.

Now let's look at specific instructions for various versions of popular operating systems.

Sometimes, it happens, the Internet connection settings get confused or simply does not want to connect to the network (does not receive an IP address via DHCP). Similar problems can occur as a result of the operation of some malicious programs (viruses). You can torture those for a long time. support from your provider or call a specialist at home. You can try to fix the problem yourself.
To reset TCP / IP in Windows NT (2000 / XP / Seven) operating systems, there is a special program netsh.exe.

netsh.exe - (Network Shell) allows you to configure the network parameters.

Some dirty viruses will get into WinSock and dirty.
Symptoms:

  • The download speed of files over TCP is very low (while over UDP it can download quickly);
  • When you turn on the computer for a while, a couple of minutes, the Internet works fine, but then it disappears completely (the speed drops to 0);
  • The Internet works and the download speed is normal, but the downloaded file is broken because it is not downloaded completely (most likely, the virus intercepts some of the packets during transmission, but sends a notification to the source about the successful receipt of all packets).

In addition to viruses, you can also "break" your Internet connection (or "shut it down")

Some examples:

  • The computer does not receive an ip-address automatically (via DHCP);
  • IP addresses are pinged but not named;
  • The computer receives an IP address of such a pattern 169.254. *. *;

If the viruses are cleaned, then you can proceed to the recovery. ATTENTION! The following procedures will reset the network settings. I highly recommend rewriting the settings.
What would reset Winsock:

If the first command doesn't solve the problem, you can reset the TCP / IP stack to its "factory" settings:
In the same place on the command line, enter the command:

netsh int ip reset c: \\ resetlog.txt

In this case, the reset log will be saved in the root of the C: \\ drive; if you omit the c: \\ prefix, the log will be saved in the current directory. After that, you should restart your computer.

After using this command, the following register branches will be reset to the "factory" ones:

SYSTEM \\ CurrentControlSet \\ Services \\ Tcpip \\ Parameters \\
SYSTEM \\ CurrentControlSet \\ Services \\ DHCP \\ Parameters \\

You can use these commands together one after the other. By the way, they also dump the DNS cache.
About DNS cache issues: For example, the site has moved to another hosting, as a result, its IP address has changed. And since you have not quite fresh data in the cache, when you enter the site name, you will be taken to the old IP address, where the site no longer exists.

In order not to reset all settings, try the command ipconfig / flushdns If it doesn't help, use netsh int ip reset resetlog.txt - this is guaranteed to help and reset everything about network connections. 😉

Friends, hello everyone. Happy you old new year! It's good when the holidays so often come one after another. But nevertheless, you shouldn't forget about work either, especially when you like it.

And today we will talk about the team netsh winsock reset... I'll tell you what kind of animal it is and what it is for. In fact, with its help, I have repeatedly restored working capacity in my modest administrative experience.

  1. No ping by IP address, but reachability by name or vice versa. This did not change the standard settings.
  2. A drop in the speed of downloading files from the Internet, as well as a complete disconnection of the connection some time after turning on the PC.
  3. The impossibility of connecting to a network with IP address settings manually, while everything works in automatic mode. Although, again, everything can be the other way around.
  4. Unable to obtain an automatic IP address with a configured DHCP server.
  5. The absence of any values \u200b\u200bfor the IP address, gateway and subnet mask with an active connection to the local network.

In general, when unexplained glitches begin to occur with the network settings of the machine, it will help us netsh winsock reset. It is with the help of this command that you can restore the network parameters to defaults and resume performance.

This procedure is also called flushing the protocol stack winsock and is almost always used in conjunction with a TCP / IP reset. That is, the Windows components that are responsible for network connections are reset.

Now about what causes such problems. Here, as they say, it doesn't take much for trouble. Often this is caused by viruses that have penetrated the computer, various conflicts or incorrect installation of network card drivers, and so on.

But enough theory, let's get down to business. Just remember that as a result of such a reset, all network settings on the PC will also be deleted. Therefore, study them in advance. This can be especially important on office computers with dedicated.

So, open and enter the following command combination. The screenshot below was taken in the environment of the Windows XP operating system, but in Win 10 everything will be identical, only you need to run "cmd" as an administrator:

  • netsh int reset all
  • netsh winsock reset

Then you should definitely restart your computer and you can check the network behavior for adequacy. By the way, I completely forgot to say, before resetting the winsock protocol stack, it is advisable to thoroughly treat the system, otherwise everything may repeat itself. Remember Poltergeist