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

What if the network protocols don't work? When you try to ping the server / ip-address, you get the error “Unable to access the IP driver. Error code 2 "? Then you have something with the TCP / IP stack, let's take a closer look.

I'll start with the easy and simple, ending with more complex solutions to the problem.

Perhaps you have Avast on your computer and the problems started after updating the anti-virus databases, on December 6, 2012, Avast added a file to its databases, soon after updating the databases, Avast found this file in the system files and deleted it (possibly quarantined).

It does not matter, below I will write how to restore the TCP / IP stack to work, after which the network should work (if, of course, it worked before):

1. The easiest way is to use avastfix.zip :

  • first you need to download avastfix (links in the line above)
  • unpack, let's say to disk C: \\ (there is a folder in the archive, so after extraction there will be a path like this C: \\ avastfix \\)
  • if you have an avast, then disable it: in the lower right corner, find the avast icon (near the clock), right-click on it and select avast screen control , then you need to specify shutdown forever
  • run fixtcpip.bat , after which the computer will restart
  • after rebooting, we check the operation of the network, for example, by pinging to the Google server: on the keyboard, simultaneously press the checkbox (windows logo), between Ctrl and Alt , and the letter R , i.e Win +R ... In the window that appears, write cmd , you have opened a command line, in it write ping 8.8.8.8, should appear

    Packet exchange from 8.8.8.8 to 32 bytes:

    Reply from 8.8.8.8: number of bytes \u003d 32 time \u003d 55ms TTL \u003d 48

    or something similar but not a network driver error

  • i hope the network / Internet has worked for you, now you need to update the Avast databases, if there is no way to update, then you can exclude this file from scanning in the Avast settings:
    C: \\ Windows \\ system32 \\ drivers \\ TCPIP.sys (you may have windows installed on a different partition, for example D: )
  • now you can turn on the antivirus, in the same place where you turned it off, only now turn on all screens

Let's now consider what is in this "miracle" archive:
fixtcpip.bat - a script that imports standard stack settings into the registry, unpacks the archive tcpip.rar with help UnRAR.exein C: \\ Windows \\ system32 \\ drivers \\ and reboots the computer

2. Consider now manual file recovery / copying

  • to begin with, we will still disable the avast (see above the 3rd point "if you have ...")
  • file tcpip.sys can be copied from folder C: \\ Windows \\ system32 \\ dllcache , but maybe Avast deleted it the same way, then you can take a bootable CD / DVD / USB disk and find this file there in ... \\ I386 \\ TCPIP.SY_ ... The file can also be taken from the working system. But if you don't get this file from where, then here is the link for SP3 (if you have SP2, you can ask)
  • restart your computer
  • check the operability of the network / internet, if it works, then update the avast and start the avast (see the last point of the 1st method)

3. If the previous methods did not help, then most likely Avast is not to blame. Check if the file exists C: \\ windows \\ inf \\ nettcpip.inf , if exists, then proceed to the next method. If the file is not there then it needs to be copied from the working system, no working system? No problem, download from here

4. Reinstall the TCP / IP stack using Microsoft Fix it 50199

5. You can try the utility TCPIP.Sys RestoreTool from the firm UnHackMe , I did not use this utility, but according to the description it should reinstall the TCP / IP stack in operating systems: Windows 2000 / XP / Vista / Seven / 8 32 and 64-bit

6. Reset TCP / IP stack settings manually. On the Microsoft website in the article kb299357 it is written that to reinstall it is enough to execute just one command in the command line:

  • run cmd
  • execute netsh int ip reset resetlog.txt
  • restart your computer

7. And now the most difficult part is reinstalling the TCP / IP stack in windows XP manually.

  • Boot windows into Safe mode , that is, turn on the computer and repeatedly click on F8 until the windows boot menu appears, select Safe mode
  • Go to the registry ( StartExecuteregeditOK or Win +R )
  • Remove two keys and exit the registry:

    HKEY_LOCAL_MACHINE / System / CurrentControlSet / Services / Winsock
    HKEY_LOCAL_MACHINE / System / CurrentControlSet / Services / WinSock2

  • Next, you need to go to the folder % windir% \\ inf (usually C: \\ Windows \\ inf ) in which you need to find the file Nettcpip.inf and edit it (you can use a regular notepad), you need to change it in the section key Characteristics \u003d 0xa0 on the Characteristics \u003d 0x80 ... Save and close the editor
  • Go to Network connections , then go to properties and select a network connection (any, since the protocol is the same for the entire operating system). Click on InstallProtocolInstall from disk - insert C: \\ windows \\ inf (I change the drive letter to my own) - OK - select Internet Protocol (TCP / IP) - OK
  • You should have stayed in the connection properties on the General tab (no additional windows), now you can delete Internet Protocol (TCP / IP) by pressing the button Delete
  • Reboot your computer
  • Follow the second method (if the file exists, then replace it), namely copy tcpip.sys in % windir% \\ system32 \\ dllcache and % windir% \\ system32 .
  • Now you need to install the protocol, as it was written just above (point 5)
  • It should work right away, if it doesn't work, then restart your computer
  • I hope everything worked for you, with what Congratulations!

Do you know that you can reset the Windows 8 operating system to factory settings and parameters, in almost the same way as the more modern Top Ten ?! So there is such an opportunity. It is perfect if your computer has started to freak out a lot, and you don't know how to reinstall the OS, or simply don't have such an opportunity.
The only condition is that you need to prepare an installation disk or USB flash drive, since resetting Windows 8 will replace old system files with new ones. I would also advise you to find and download drivers for the motherboard, network card, video adapter and sound in advance on the Internet.

When everything is ready, we do this. Move the mouse cursor to the right, to the edge of the screen, to open the Windows 8 sidebar.

Another way to open it is to press the Win + C key combination.
Click on the "Options" icon.

In the list of parameters of the Eight, click on the line "Change computer parameters".
This menu will appear:

We find the subsection "Update and Recovery".

On the right, you will see two options that you can use to reset Windows 8 to factory settings.

The first - Recovering your computer without deleting files... If you click the "Start" button, the system will analyze the current state of the PC and start copying system files from the installation media. This will take about half an hour. All your files will remain in place, only all programs will be deleted, except for the "tiled" programs - which the wizard will notify you about.

Second - Removing all data and reinstalling Windows... Here the contents of the entire disk will already be cleared and all user files from it will be deleted. After that, the OS will be reinstalled from the installation media:

This method will allow you to completely reset Windows 8 and return to its original state. In slang it is called "Hard Reset". In some laptops (for example, Sony) this function is present in the device recovery menu.

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.

In this manual, there are several ways to reset Windows 8 settings, while in addition to the reset options provided by the system itself, I will describe a couple more that can help if, for example, the system does not start.

The procedure itself can come in handy if the computer begins to behave strangely, and you assume that this was the result of the last actions on it (setting up, installing programs), or, as Microsoft writes, you want to prepare your laptop or computer for sale in a clean state.

Computers and laptops with Windows 8 preinstalled have the ability to run a factory restore even in cases where the system cannot be started (but the hard drive is healthy).

This is done by pressing or holding certain keys immediately after switching on. The keys themselves differ from brand to brand and information about them can be found in the instructions specific to your model or simply on the Internet. I have also collected common combinations in the article (many of them are also suitable for stationary PCs).

Using a restore point

An easy way to restore the last important system settings made to their original state is to use Windows 8 restore points. Unfortunately, restore points are not automatically created whenever there is any change in the system, but one way or another, they can help in fixing errors and getting rid of unstable work.

I wrote in great detail about working with these tools, how to create, select and use them in the manual.

Another way

Well, there is one more reset method that I do not recommend using, but for users who know what is what and why it is needed, you can remind about it: creating a new Windows user, for which the settings, with the exception of the global system settings, will be recreated.

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