Note: the above problem is solved by modifying the registry. It is risky to modify the registry. All professionals are required to perform this operation.
1. We will go to the registry editor window from "start"-"run-" regedit "in win10;
2. In the left pane of the "Registry Editor" window on Windows 10, go
The HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/SessionManager/Power directory is shown in the following figure;
3. Find the "AwayModeEnabled" file and double-click it to change it to "1" (hexadecimal), as shown in the following figure.
4. If "AwayModeEnabled" is not found on the page, right-click the empty fold and create
After "DWORD32 bit", we set the name to "AwayModeEnabled", double-click the key value, and assign it to "1" (hexadecimal. In this way, when your computer is in sleep state, the network is still smooth.
Now, after we exit the registry and restart the computer, if the computer enters sleep state, the network will not be disconnected. You can check it out.