netsh winsock reset command to reset the network protocol stack. Eliminating Poltergeist. Resetting network settings: step-by-step operating and configuration instructions, tips and tricks Reinstalling the tcp ip protocol windows 8

Resetting the Windows 8 operating system to factory settings will be necessary if: the computer begins to work incorrectly, as a result installed programs; crashes started; viruses appeared; You need to sell or give your computer to someone else. So let's figure out how to reset Windows settings 8.

PC Recovery

Move your mouse cursor to the right corner of the screen and bring up the side pop-up panel. Now you need to go to the "Options" section.

Click on the button "Change computer settings".

Select "General" from the list.

There are two options here for resetting the operating system: and.

First option - "Recover PC without deleting files"– implies that the system will be reset to factory settings, but all user files will be saved: “My Documents”, "My videos", apps installed from the Microsoft Store. Only programs installed from disk or the Internet will be deleted. List of all remote programs will be saved to a file on your desktop.

This option is perfect if there are problems with the operating system. Click on the “Start” button and the following message will appear. Click "Next".

If you receive a message "Inserting Media", this means that you need to insert into the drive or USB port the disk or flash drive from which you installed operating system.

Then a message will appear that “Everything is ready to restore your PC”, click "Update". The computer will restart and system recovery will begin. After this, the OS will boot again, and a file will appear on the desktop "Deleted applications".

Complete removal of information

Second option - "Deleting all data and reinstalling Windows» – will delete all data from the computer and reinstall the operating system. Moreover, here you can choose formatting or only system disk, or all disks.

This method is suitable for those who want to sell their computer or laptop. In this case, your personal data will not go to a stranger.

Click on the “Start” button, the following message will appear on the screen. Here click "Next".

Must be inserted into PC installation disk or flash drive. If your HDD is divided into several partitions, you can choose which partitions to delete files from: system or all.

Now select or "Just delete my files"– files will be deleted from the selected partition hard drive, or "Completely clean the disk"– the files will also be deleted, but their recovery after this will be almost impossible, so you can rest assured that no one will find out your personal information.

Click the "Reset" button, the computer will restart and the system will be reset to factory settings.

Using these simple methods, you can reset Windows 8 to factory settings and get your computer or laptop in the same condition as it was when you first started Windows.

Rate this article:

Are you having problems connecting to the Internet on your computer or smartphone? Often the situation can be simply resolved by turning to reset network settings. We will tell you how to do this on popular platforms - versions of Windows and Android - later in the material.

Why do you need a reset?

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

In this case, problems with IP or DNS appear. Consequence: the Internet is slow, some sites do not open at all, a connection to the router or provider cannot be established, and Wi-Fi cannot be distributed from the device.

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

Nuances of the procedure

Resetting network settings is a fairly simple manipulation that even an inexperienced user can handle. But before we get started, let us introduce the reader to two important nuances:

  • You should not perform a reset yourself on a work or school computer or other corporate device that does not personally belong to you. It is better to seek help from system administrator organizations. In this case, the specialist manually sets certain TCP/IP protocol settings.
  • It is possible that after this manipulation you will need to re-configure your computer’s network settings 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 different versions of popular operating systems.

Windows Vista: reset options

Reset network adapter here it is available in two variations. Let's look at them.

The first option is to use a special Microsoft utilities Fix it. The program will help the user reset TCP/IP settings to factory settings. You can download it on the official Microsoft website. There is no need to perform any complicated actions: just run the utility on your computer, and the program will handle the problem itself. Once the task is completed, be sure to restart your PC for the solutions to take effect.

The second option is to manually change the settings. Let's look at this procedure step by step:

  1. Click on the "Start" menu.
  2. In the search bar you need to enter the text cmd. Click on "Enter".
  3. "Command Prompt" will appear in front of you.
  4. Right-click on the inscription.
  5. Select "Run as administrator" from the context menu list.
  6. Write (or copy from the article) the following into the line: netsh int ip reset logfile.txt.
  7. Execute the command (press "Enter"). As a result, the TCP/IP settings will be reset to factory settings, and the changes made will be written to the log file of the current directory from where it was launched.
  8. For the settings changes to take effect, all you have to do is restart your PC. That's all!

"Windows 7": via command line

First of all, let's look at resetting network settings using the command line. We begin the procedure as follows:

  1. Run a command prompt on your computer as its administrator.
  2. The easiest way: go to the "Start" section, then enter cmd in the search bar.
  3. You will see "Command Prompt" in the results. Click on the inscription with the right mouse button.
  4. Select "Run as administrator" from the context menu.
  5. Run this command: netsh winsock reset. You can type it yourself or copy and paste from the text of this article.
  6. To execute the command, do not forget to press the "Enter" button.
  7. After the command is executed by the system, restart your computer.
  8. Check your internet access. As a rule, in most cases these simple steps are enough to completely solve the problem.

"Windows 7": if the command line didn't help...

However, sometimes resetting network settings via the command line does not work. What to do in this case? Go back to the command line:

  1. Repeat steps 1-4 from previous instructions.
  2. Give your computer a new command: "netsh int ip reset c:\resetlog.txt". It can be reprinted or also copied from this text.
  3. Run the command and restart your computer. The problem should disappear after these steps.

Some experts advise, to be sure, to execute the commands from the previous and this subheading one after another, and then also reboot your device. As a result of these manipulations, the network settings on your computer will be reset to factory settings.

"Windows 7": DNS cache reset

You now know how to reset network settings on Windows 7 (manipulation, by the way, is also suitable for later versions of the OS) via the command line. However, you may encounter a similar, but slightly different problem: “The DNS server is not responding,” “The DNS server address cannot be found.”

What to do in this case? All you need to do is reset the DNS. In this case, we turn to the command line again:

  1. From the Start menu, go to the command line.
  2. Enter or copy the following command from the text: ipconfig /flushdns.
  3. Check your internet connection.
  4. If the problem is not solved, we recommend that you refer to the two previous instructions.

"Windows 7": using the Microsoft Easy Fix utility

Resetting Windows network settings is also possible through special utility. You can download a program called Microsoft Easy Fix for free on the official Microsoft website.

How to use it? We offer an algorithm of simple actions:

  1. Launch the utility on your computer.
  2. Once the window opens, click on "Next".
  3. Then the program will independently introduce the necessary changes to the system’s network settings.
  4. When finished, the utility will prompt you to restart your computer.
  5. To do this, close the program and select reboot the system from the PC menu.

After this, the problem should disappear, and you will have access to the Internet on your computer again. And we will further analyze how to cope with it in the later tenth version.

"Windows 10": reset option

If you yourself have been “too clever” with the network settings or your device for no apparent reason stubbornly refuses to connect to the Internet, then we also suggest resetting it. On Windows 10 OS it is produced using a slightly different algorithm:

  1. Go to the settings menu. It can be found either through “Start” or by using the hotkey combination: Win + I.
  2. Go to the "Network and Internet" section.
  3. At this point you need a subsection called “Status”.
  4. Now scroll down to the very bottom of the page. There you will see what you need - “Network reset”.
  5. Click on the inscription. You will see a system warning: performing the action will remove and reinstall all existing network drivers, and will also restore the factory (original, original) network parameters. Note that you may have to reinstall your network software afterwards. For example, a VPN client.
  6. Click on "Reset Now". That's the whole procedure for resetting network settings in Windows 10.

As a result of these actions, the network settings will return to their original settings. The solution is quite drastic, so it is worth turning to it in cases where other methods of coping with the problem have proven powerless. Perhaps the situation can be saved by contacting a specialist.

Before resetting your settings, you should make sure that the problem is specific to your computer. Try connecting another device to the network. If there is also a lack of Internet access on it, then the problem is most likely with the provider or router.

Performing a reset on a smartphone

In conclusion, let's imagine resetting network settings on Android. Your smartphone may also experience problems with the Internet, which can only be solved in such a drastic way. We suggest you follow the instructions:

  1. Go to "Settings".
  2. Scroll through the menu, find the "Reset and Activation" item.
  3. Find the "Reset network settings" section.
  4. Here you just need to tap on the “Reset settings” button. In some smartphone models, the selected action must be confirmed.

If this manipulation does not help, then the solution is radical: completely reset the device to factory settings. But before that, you should copy important data from your smartphone.

Now you know how to reset network settings on different versions Windows, phones on the Android platform. This solution allows you to cope with the situation when it is impossible to access the Internet from your device, when you accidentally changed the settings to incorrect ones. Available both through the settings menu, command line, and through a special utility.

Friends, hello everyone. Happy New Year to you old new year! It’s good when holidays follow each other so often. But nevertheless, you shouldn’t forget about work, 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 needed for. In fact, with its help, I have already restored functionality more than once in my modest administrative experience.

  1. No ping by IP address, but availability by name or vice versa. Wherein standard settings haven't changed.
  2. A drop in the speed of downloading files from the Internet, as well as a complete loss of connection some time after turning on the PC.
  3. Inability to connect to the network with manual IP address settings, while automatic mode everything is working. Although, again, everything can be the other way around.
  4. Inability to obtain an automatic IP address when a DHCP server is configured.
  5. Absence of any IP address, gateway and subnet mask values ​​when there is an active connection to the local network.

In general, when inexplicable 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 network settings to default and restore functionality.

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

Now let's talk about what causes such problems. Here, as they say, you don’t need much for trouble. This is often caused by viruses that have entered the computer, various conflicts, or incorrect installation drivers network cards and all that stuff.

But enough theory, let's get down to business. Just remember that this reset will also remove all network settings on your PC. Therefore, study them in advance. This may be especially important for office computers with highlighted .

So, open and enter the following combination of commands. The screenshot below was taken in the Windows XP operating system, but in Win 10 everything will happen identically, 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 behavior on the network for adequacy. By the way, I completely forgot to say that before resetting the winsock protocol stack, it is advisable to thoroughly disinfect the system, otherwise everything may happen again. Remember Poltergeist

In this instruction there are several ways to reset Windows 8 settings, and 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 may come in handy if the computer begins to behave strangely, and you suspect that this is due to recent actions on it (setup, installation of programs) or, as Microsoft writes, you want to prepare your laptop or computer for sale in a clean condition.

Computers and laptops with Windows 8 pre-installed have the ability to initiate a restore to factory settings even in cases where the system cannot be started (but the hard drive is working).

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

Using a restore point

An easy way to return the last important system settings you made to their original state is to use dots Windows recovery 8. Unfortunately, restore points are not created automatically for any change in the system, but, one way or another, they can help in correcting errors and getting rid of unstable operation.

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

Another way

Well, there’s one more reset method, which I don’t recommend using, but users who know what’s what and why it’s needed can be reminded of it: creating a new Windows user, for which the settings, with the exception of global system ones, will be created anew.

What to do if network protocols do not work? When you try to ping a server/ip address, you get the error “Cannot access the IP driver. Error code 2"? Then you have something with the TCP/IP stack, let's look at it in more detail.

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 the update antivirus databases, on December 6, 2012, Avast added the file to its databases; shortly after updating the databases, Avast found this file in system files and deleted it (possibly quarantined).

No problem, below I will write how to restore the functionality of the TCP/IP stack, 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 the path will be like this C:\avastfix\)
  • if you have Avast, then disable it: in the lower right corner, find the Avast icon (near the clock), right-click on it and select avast screen management , then you need to specify permanent shutdown
  • run fixtcpip.bat, after which the computer will reboot
  • After the reboot, we check the network operation, for example, by pinging the Google server: on the keyboard, simultaneously press the checkbox (windows logo), between Ctrl And Alt, and a letter R, that is Win +R. In the window that appears, write cmd, you have opened command line, write in it ping 8.8.8.8, should appear

    Exchange of packets from 8.8.8.8 to 32 bytes:

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

    or something similar, but not a network driver error

  • I hope your network/Internet is working, now you need to update the Avast database, if it is not possible to update, then you can exclude this file from checking in the Avast settings:
    C:\Windows\system32\drivers\TCPIP.sys (you may have windows installed on another partition, for example D: )
  • Now you can turn on the antivirus, in the same place where you turned it off, only now enable all screens

Let's now look at what's in this “miracle” archive:
fixtcpip.bat is a script that imports standard stack settings into the registry and unpacks the archive tcpip.rar with help UnRAR.exe V C:\Windows\system32\drivers\ and restarts the computer

2. Let's now consider manual file recovery/copying

  • First, let's turn off Avast (see point 3 above "if you have...")
  • file tcpip.sys can be copied from folder C:\Windows\system32\dllcache , but perhaps Avast deleted it too, then you can take a bootable CD/DVD/USB disk and find this file there in …\I386\TCPIP.SY_. You can also take the file from working system. But if you have nowhere to get this file, then here is the link for SP3 (if you have SP2, you can ask)
  • restart your computer
  • check the functionality of the network/Internet, if it works, then update Avast and launch Avast (see the last point of method 1)

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 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. Reinstalling the TCP/IP stack using Microsoft Fix it 50199

5. You can try the utility TCPIP.Sys RestoreTool from the company UnHackMe , I have not used 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 run just one command on the command line:

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

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

  • Boot windows into Safe mode , that is, turn on the computer and press repeatedly F8 until the menu appears windows loading, 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 = 0xa0 on Characteristics = 0x80 . Save and close the editor
  • Go to Network connections , then go to properties and select network connection(any, since there is only one protocol for the entire operating system). Click 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 remained in the connection properties on the General tab (without additional windows), now you can delete Internet Protocol (TCP/IP) , by pressing the button Delete
  • Restart your computer
  • Follow the second method (if the file exists, then replace), namely copy tcpip.sys V %windir%\system32\dllcache And %windir%\system32 .
  • Now you need to install the protocol, as was written just above (point 5)
  • It should work immediately, if it doesn’t work, restart your computer
  • I hope everything worked for you, congratulations!