When connecting to the Internet, the most common and comfortable is to use the wireless network through the WiFi connection. However, at no time are we exempt from being able to suffer problems derived from this connection, something that usually ends up frustrating us irretrievably. One of these problems can be found when Windows goes into sleep mode, thereby causing the connection to be disconnected. Although it is not a common behavior, it can happen so we must find a way to solve it.
Using Windows sleep mode is quite common every time we leave the computer on for a while and stop using it. In this way, the system remains active, consuming very little energy and we can use it again from the moment we leave it.
Why is the WiFi disconnected?
Sometimes we can find an error in Windows that appears randomly. This is something that can occur due to different factors. It may be a problem with our antivirus or that the Ethernet connection is activated. It can also be due to an update that has changed something in the registry or was not configured correctly when we installed the operating system. All this can cause the WiFi connection to not work once we have returned from Windows sleep mode.
Before we put our hands to our heads, we are going to try to solve it by making some adjustments that can help us to end the problem.
Prevent WiFi from disconnecting when blocking Windows
To avoid that the WiFi connection ends up disconnecting when Windows enters sleep mode, we can take a series of measures that can help us solve it.
The WiFi connection problem when the system is in sleep may be due to a problem with our antivirus or firewall. The software may be interfering with our connection, causing it to be cut off. Therefore, we must try to disable any antivirus or third-party firewall we have activated to see if this solves the problem. In the event that disabling the antivirus or the firewall solves the problem, we should consider uninstalling it completely and opt for another alternative.
Check that the Ethernet connection is not active
The problem with the WiFi connection may be caused by the Ethernet connection, so we must make sure that it is disabled . For this we must put control panel in the search box of the Start menu and select it. Later we navigate through “Networks and Internet” and “Center of shared use networks”. Next, in the left column we select the option “Change adapter settings”.
Finally, we right click on our network adapter and select “Deactivate”. Once the Ethernet connection is disabled, we verify if the problem has been resolved.
Use Device Manager
The problem that the WiFi disconnects when Windows enters sleep mode may be due to the power management plan that we have set. In order to change it, we must access the Device Manager.
To do this we will use the Windows + X keyboard shortcut and select the “Device Manager” option from the menu. Next we must display the “Network adapters” section, and we right-click on our adapter to select the “Properties” section.
In the new window that appears, we select the “Power Management” tab and finally uncheck the “Allow the computer to turn off this device to save energy” box.
Use the Windows Troubleshooter
Another option that we can try when the WiFi is disconnected during system sleep is to use the Windows Troubleshooter. To do this, we must right-click on the WiFi icon that is in the system tray. This will open a small drop-down menu, where we must choose the “Troubleshoot” option.
The network troubleshooter will automatically start and perform a scan to try to fix the problem. Once the task is finished we will check if the problem persists. It should be noted that this solution may not be permanent so it is possible that on some occasion, in case the problem reappears, we will have to perform the same operation again.
Change power plan from Control Panel
Another possibility to solve the problem is to change the power plan, something that we can do from the Control Panel. For this we must write control panel in the search engine located next to the Start menu. Later we click on “Hardware and sound” and “Power options”. Once in the new window we must choose our energy plan and select “Change plan settings”.
In the next window click on restore the “Advanced configuration of this plan” and in the confirmation window click on “Yes”.
Later we click on “Change advanced energy settings” and in the new window we click the “Restore plan default values” button that we find at the bottom. We confirm the operation by clicking on “Yes” and restart the computer.
Fix it from Registry Editor
We can solve the problem with the WiFi disconnection when the system hangs, from the Windows Registry Editor. To do this, we must take some precaution since any unwanted modification can lead to system instability problems. Therefore, any modification must be carried out under the responsibility of the system.
To access the Registry Editor we must use the keyboard shortcut “Windows + R”, which will enable the Execute command. Here, we will type regedit and press Enter or the OK button. Once in the Editor, we navigate to the following path:
HKEY_LOCAL_MACHINE SYSTEM / CurrentControlSet / Control / Power / PowerSettings/ 238C9FA8-0AAD-41ED-83F4-97BE242C8F20 / 7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
Once here we must double click on the Attributes value and set the value information to 2 . Later we close the registry and restart the system.
Go back to a previous restore point
As a last option, if none of the above has solved our problem, we can choose to perform a system restore. In this way, we return to the previous point of the system where the WiFi connection did work, so returning to it should solve the problem.
To do this we must write “create restore point” in the search box of the Start menu. This will open the “System Properties”, and we click on the “System Restore” tab.
Once in the System Restore window, click Next and select the option “Choose another restore point”. We select the desired restore point and click “Next”. Now we just have to follow the instructions on the screen and complete the process. Once finished we check if the problem has been solved.