How to set up smartphones and PCs. Informational portal

What is a network settings reset. Netsh winsock reset command to reset the network protocol stack

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.
There is a special program for resetting TCP / IP in Windows NT (2000 / XP / Seven) operating systems. 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 uploaded file turns out to be 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 you can "shut down" yourself)

Some examples:

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

If the viruses are cleaned, then you can proceed with 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 does not solve the problem, you can reset the TCP / IP stack to "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 name of the site, you will be taken to the old IP address, where the site is no longer there.

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 related to network connections. 😉

A situation familiar to many Windows users - suddenly and unexpectedly on a computer. And the most offensive thing here is that you cannot look at sites on the Web that describe options for solving this problem, since this requires an Internet connection, which just does not work on a computer.

Other situations are possible, which are also common. For example, to the Internet - by air, and by cable. From a mobile phone, via a Wi-Fi network, there is access to the global network, everything works. But a PC with Windows 10 connected via a cable to a router - for some reason, access to the global network is impossible, blocked, an error “Network unavailable” appears and other signs accompanying a non-working Internet.

If it is impossible to localize the problem, and the cause of the failure is not clear, it is time to move on to more drastic measures. To quickly fix the network access problem, Windows 10 has a built-in function of resetting network settings.

How to reset network settings in Windows 10

Let's go straight to the settings of the network adapter. We press the combination of buttons “Win” + “I”, and in the appeared window of parameters select the shortcut “Network and Internet”. In the newly opened window of network settings, we will be interested in the "Status" section, it will be the first in a row in the left menu, and should be immediately active when the window is opened. If not active, select it with the left mouse click. Then scroll to the bottom of the window, where you will see the option "Network Reset":

When this item is selected, a notification window will appear stating that all network adapters will be removed and reinstalled.

Also, further in the text, you will see a warning that, if necessary, you may need to install (and, in fact, any software that one way or another works directly with network adapters). Windows 10 cannot determine for sure whether it will be necessary to do such a software reinstallation, so it can only warn you about possible actions in the future.

If you have definitely decided that you want to permanently reset all the current network settings of Windows 10, then click the “Reset now” button, wait until the reset procedure is completed, after which the operating system will reboot.

Do not do this procedure without urgent need. Try, nevertheless, initially to find the cause of the failure, and eliminate it. If you need additional information from the Internet for this, use an alternative Internet device (tablet, smartphone), which obviously has access to the global network.

If you are completely confused when parsing and analyzing the network settings in Windows, you cannot find the cause of the failure, and you don’t know what to do, then, of course, all that remains is to apply a “hard” reset using this Windows 10 functionality.

In any case, such a factory reset is not a complete alternative to the option when, that is, when all components, Windows devices, including network adapters, undergo the initial installation of drivers and full configuration for successful operation.

Also remember that if the network (Internet) disappeared on several devices located within the same network at once, then the matter is most likely not in the Windows settings of your computer, but in the settings of the router, router or similar device responsible for the network operation, and providing access to the Network at once to all these devices. Accordingly, resetting the Windows 10 network settings, which we discussed above, is unlikely to help you in this case.

Tell us in the comments what is your experience in troubleshooting Windows 10 network errors?

More on the site:

Resetting network settings in Windows 10 updated: March 1, 2018 by the author: Vladimir

Many users face the problem when the Internet and the network stop working on the computer. Although the modem or router shows that the Internet is working. Therefore, Microsoft has added the ability to self-reset the adapter to the Windows operating system.

This article will show you how to reset Windows 10 network settings using updated system settings and how to reset network settings via command line. In any case, the netsh winsock reset command is used, which actually resets the network settings.

Before proceeding to resetting network settings, you must first figure out whether it will help in a given situation. The first symptoms of problems with the network settings of the system can be different, among them it is worth noting the frequently encountered:

  • The download speed of the files is very slow.
  • After turning on the computer, literally in a few minutes, the Internet disappears (although it works as expected for a few minutes).
  • The computer does not automatically obtain an IP address.

All current situations are described in the case of the full operability of the Internet from the provider. Resetting the network settings is only needed in cases of a problem with your operating system.

How to reset Windows 10 network settings

This action will remove and then reinstall all network adapters and reset all other network components to their original settings. You may then need to reinstall other network software (such as VPN client software or virtual switches).

After confirming the network settings reset, your computer will restart. When you turn on the computer for the first time after resetting the parameters, the user will be prompted to select the network in which your computer will be serviced.

Before it became possible to reset the network settings of the adapter in the updated settings of Windows 10, resetting the network settings was carried out in a different way. The current command line method is also suitable for users of previous versions of the Windows operating system.


If the user receives messages, for example, the DNS server is not responding or the DNS address of the server cannot be found, then before executing the command netsh winsock reset, you can try to flush the DNS cache. To do this, you need to run the command ipconfig / flushdns in a command line running as administrator.

conclusions

A full reset of the operating system's network settings is an excellent solution to many problems. Therefore, we looked at how to reset Windows 10 network settings using system settings or through the command line. If you need to reset the network settings in previous operating systems, you can use the command netsh winsock reset, which actually helps to reset the network parameters.

Windows 10 - Includes a new feature called Network Reset that will quickly return the default network settings for all network adapters on the system. It can be very helpful to reset your network settings if you are having connectivity issues, especially after removing malware.

Network Reset will remove and reinstall all network adapters, as well as install other network components back to their original settings. You may need to reinstall other networking software after this, such as VPN client software or virtual switches.

Open the settings WinKey + I and press Network and Internet

Click on State


On the status page, there are several links to correct your network configuration. One of them is the diagnostic package "Network Troubleshooter", which runs a network scan on your system, will suggest fixes if needed.

If for some reason the "Network Troubleshooter" does not find any errors and cannot fix your connection, you must Network reset.


Since Network Reset resets all NICs to their original settings, Winsock, etc. If you have a custom network configuration, please write down your settings. Also, write down your Wi-Fi configuration and associated passwords before resetting. After that, press the button Reset Now.


Click the button Yes... Windows 10 will reset the network adapters and reset Winsock.


Note: Windows10 will automatically restart after 5 minutes.

Previously, the user had to run these commands manually to clear the network adapter configuration and reset Winsock.

  • netcfg -d
  • netsh winsock reset

Now you know how to do a Network Reset in Windows 10.

In the instructions on this site related to problems with the Internet, such as, and in others, among the solutions, there is always a reset of the Windows network settings (DNS cache, TCP / IP protocol, static routes), usually using the command line ...

Windows 10 Update 1607 introduces a feature that simplifies the steps to reset all network connections and protocols, and lets you do this, literally, with the push of a button. That is, now, if any problems arise with the operation of the network and the Internet, and provided that they are caused precisely by incorrect settings, these problems can be solved very quickly.

Reset network and Internet settings in Windows 10 settings

When performing the steps below, keep in mind that after you reset the Internet and network settings, all network settings will return to the state they were in when you originally installed Windows 10. That is, if your connection requires you to enter any parameters manually, you will have to repeat them.

To reset network settings, network adapter settings and other components in Windows 10, follow these simple steps.

After pressing the button, you will need to confirm the reset of the network settings and wait for a while until the computer restarts.

After rebooting and connecting to the network, Windows 10, as after installation, will ask you if this computer should be found on the network (i.e. your public or private network), after which the reset can be considered complete.

Note: The process removes all network adapters and reinstalls them on the system. If you previously had problems installing the drivers for a network card or Wi-Fi adapter, there is a chance that they will recur.

Resetting network adapter settings

Right-click on the network icon in the notification bar. Select. Next, in the new window, click on Change adapter settings... A window with to the Internet will open.

If you need to change the parameters for connecting via a network cable, then right-click on the adapter Ethernet... If for a Wi-Fi connection, then the connection Wireless network... Select item Properties.


In the new window, you can set automatic receipt of addresses for this adapter (by selecting the Obtain an IP address automatically and Obtain DNS server address automatically check boxes), or set static addresses.

After making changes, do not forget to apply the settings by clicking on the button Ok.


Restart your computer and try to connect to the internet.

Instructions for Windows 7

In Windows 7, everything is done exactly the same as in Windows 8. It would be possible not to write separately for the seven, but let it be.

Right-click on the network icon, then select the item Network and Sharing Center... Then click on AND Changing adapter parameters, and again, right-click on the adapter whose properties we want to change. In the menu, select Properties... Like this:


Highlight the item Internet Protocol Version 4 (TCP / IPv4) and click on the button Properties... Specify the required IP and DNS, or set them to automatically receive, and click Ok.

Configuring automatic acquisition (or setting static) IP and DNS on Windows XP

Press Start and open Control Panel... Then, select Network and Internet Connections.

aligncenter wp-image-8033 colorbox-8012 "src =" http://kirensk.net/images/up/28-08-2014-15-12-45.jpg "alt =" (! LANG: Windows Network Connections XP" width="649" height="446">!}

We see the network connections that are available on our computer. Right-click on the desired connection and select Properties.

Highlight item Internet Protocol (TCP / IP) and press the button Properties.

As in the two systems that I wrote about above, we set the necessary parameters for obtaining IP and DNS. Either automatic receipt, or we set static addresses and click Ok.


sfc / scannow

HKLM \ SYSTEM \ CurrentControlSet \ Services \ LanmanServer
HKLM \ SYSTEM \ ControlSet001 \ Services \ LanmanServer
HKLM \ SYSTEM \ ControlSet002 \ Services \ LanmanServer

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.
There is a special program for resetting TCP / IP in Windows NT (2000 / XP / Seven) operating systems. 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 uploaded file turns out to be 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 you can "shut down" yourself)

Some examples:

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

If the viruses are cleaned, then you can proceed with 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 does not solve the problem, you can reset the TCP / IP stack to "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 name of the site, you will be taken to the old IP address, where the site is no longer there.

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 related to network connections.

Reset the TCP / IP and Winsock protocol stack.

One of the components of a computer's Internet connection is a built-in instruction set called TCP / IP. Sometimes TCP / IP is damaged (consequences of some viruses, installation of incorrect network card drivers, etc.). If you cannot connect to the Internet and you have tried all of the solutions to this problem, it is possible that TCP / IP is the problem.

Since TCP / IP is a component of the Windows kernel, it cannot be removed. However, you can reset TCP / IP to its original settings using the NetShell tool ( netsh).

Signs:
a) I can't connect to the Internet, or

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

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 restored working capacity more than once during my modest administrative experience.

So, sometimes incomprehensible things can begin to happen to the computer, for example, such as:

  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 in automatic mode everything works. Although, again, everything can be the other way around.
  4. Unable to obtain an automatic IP address when a DHCP server is configured.
  5. The absence of any values ​​for 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 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 the computer and you can check the network behavior for adequacy. By the way, I completely forgot to say that before resetting the winsock protocol stack, it is advisable to thoroughly treat the system, otherwise everything may repeat itself. Remember Poltergeist

Top related articles