Windows 8 desktop wakes up unexpectedly from sleep or hibernation

Article ID: 2799178 - View products that this article applies to.
Expand all | Collapse all

Symptoms

A Windows 8 Desktop computer is automatically waking from sleep or hibernation at a certain time even if there is no "ACPI Wake Alarm" system device found by the operating system. 

Cause

For Windows 8 desktops or All-in-one computers, under Action Center / Automatic Maintenance, the checkbox is automatically enabled for “Allow scheduled maintenance to wake up my computer at the scheduled time”. Also, the power policy / Advanced settings / Sleep / Allow wake timers will default to Enabled for AC power.  

If the desktop machine does not have an “ACPI Wake Alarm” device (or if it is disabled in the BIOS), Windows 8 still uses the Real Time Clock (RTC) to program wake events, assuming the power policy / Advanced settings / Sleep / Allow wake timers is Enabled for AC power.

Windows 8 automatically configures a "Regular Maintenance" event in TaskScheduler to run at 3:00 AM every day. After initial installation of Window 8, Windows Update is preconfigured to initiate the regular maintenance task and wake event to ensure that it is run.

NOTE: On mobile computers, if there is no “ACPI Wake Alarm” device detected, Windows 8 disables “allow wake timers” on all in-box power plans, and “Allow scheduled maintenance to wake up my computer at the scheduled time” is not enabled.

Resolution

To prevent the Regular Maintenance task from waking the machine at 3:00am, go to Action Center / Automatic Maintenance and disable the checkbox for “Allow scheduled maintenance to wake up my computer at the scheduled time”.

More information

When an application schedules a maintenance trigger (such as Windows Update, if it has downloaded an update that is qualified to be installed under maintenance), the following actions will take place:

1. From an Administrator command prompt, “Powercfg /waketimers” will indicate that the Regular Maintenance task is scheduled to run at 3:00 AM. For example:

C:\> powercfg /waketimers
Timer set by [PROCESS] \Device\HarddiskVolume1\Windows\System32\services.exe expires at 2:59:29 AM on 12/4/2012
  Reason: Windows will execute 'NT TASK\Microsoft\Windows\TaskScheduler\Regular Maintenance' scheduled task that requested waking the computer.

2. Event ID: 808 will be logged in the Application and Services Logs/Microsoft/Windows/TaskScheduler/Maintenance log, to indicate the application which caused the regular maintenance event to be scheduled. For example:

Level: Warning
Source: TaskScheduler
Event ID: 808
Maintenance Task "\Microsoft\Windows\WindowsUpdate\AUScheduledInstall" requests computer wakeup during next regular maintenance run.

Any application can scheduled a regular maintenance task to run automatically, as described by the following MSDN links.

http://blogs.msdn.com/b/windowsappdev/archive/2012/05/24/being-productive-in-the-background-background-tasks.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.background.maintenancetrigger.aspx

The first application to make use of the Regular Maintenance task scheduling feature is Windows Update. The .NET Framework NGEN v4.0 utility has also been observed to cause the regular maintenance event to be scheduled.


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2799178 - Last Review: January 9, 2013 - Revision: 5.0
Applies to
  • Windows 8 Pro
  • Windows 8
  • Windows 8 Enterprise
Keywords: 
KB2799178

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com