- The computer wakes immediately after you put it to sleep.
- The computer randomly or unexpectedly wakes after sleep.
- The computer does not go to sleep. Instead, it stays awake.
- Click Start, type power sleep in the Start Search box, and then click Change when the computer sleeps.
- In the Put the computer to sleep box, select a new value such as 15 minutes. However, make sure that you do not select Never. Then, click Change advanced power settings.
- Expand Sleep, expand Allow waker timers, and then select Disable.
Note This setting prevents programs from waking your computer. If you want a scheduled task to wake your computer, you have to change this setting back to Enable.
- Expand Multimedia settings, expand When sharing media, and then select Allow the computer to sleep.
Note This setting lets your computer go to sleep even if you share media libraries with other computers on your home network.
- Start an elevated command prompt. To do this, click Start, type cmd in the Start Search box, right-click cmd, and then click Run as administrator.
- To see the list of all devices that can wake the computer, run the following command: Powercfg -devicequery wake_armed
- To disable a specific device from waking the computer, run the following command, or use Device Manager:
Powercfg -devicedisablewake "devicename"Note Make sure that you replace the devicename placeholder with the name of the device that you want to disable.
- If this issue still occurs after you disable one device, disable the devices in this list one by one until you determine which device is causing the issue. If you want to re-enable a device to wake the computer, run the following command: Powercfg -deviceenablewake "devicename" command.
Disable devices by using Device ManagerYou can also use Device Manager to disable or enable a device to wake the computer. To do this, click Start, type device manager in the Start Search box, and then click Device Manager. Locate and then double-click the device that you want to disable or to enable. On the Power Management tab, click to clear or click to select the Allow this device to wake the computer check box as needed.
MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.