Windows Sleep: Difference between revisions
Created page with "== Tasks == === Find out the wake reason === If your computer wakes for no apparent reason, you can see the last wake reason by running: {{Highlight | code = powercfg /lastwa..." |
m Added categories and navbox |
||
| Line 23: | Line 23: | ||
}} | }} | ||
To disable a device from being able to wake a computer, open Device Manager, and find the appropriate HID device, then: Device Properties -> Power Management -> Uncheck 'Allow the device to wake this computer'. | To disable a device from being able to wake a computer, open Device Manager, and find the appropriate HID device, then: Device Properties -> Power Management -> Uncheck 'Allow the device to wake this computer'. | ||
{{Navbox Windows}} | |||
[[Category:Windows]] | |||
Latest revision as of 01:52, 30 December 2021
Tasks
Find out the wake reason
If your computer wakes for no apparent reason, you can see the last wake reason by running:
powercfg /lastwake
See all wake timers
Wake timers are scheduled events that will wake your computer if wake timers are enabled. You can see all timers by running:
powercfg /waketimers
To disable all wake timers, you can edit the power options (Control Panel -> Power Options -> Advanced Settings -> Sleep -> Allow wake timers -> Disabled).
See all devices capable of waking
Devices such as keyboards can wake the computer on key press. All devices can be found by running:
powercfg -devicequery wake_armed
To disable a device from being able to wake a computer, open Device Manager, and find the appropriate HID device, then: Device Properties -> Power Management -> Uncheck 'Allow the device to wake this computer'.