Scheduled tasks will not wake Windows 8.1 from sleep


Recommended Posts

I use 8.1 in my HTPC, and first noticed this when a few of my scheduled recording failed to record after the computer went to sleep. I've since tried to create my own custom tasks and cannot get anything to successfully wake the computer (other than direct input from mouse etc). This use to work just fine on the same hardware when I had Windows 7. I've tried everything to fix it and am wondering if it could be a fundamental hardware incompatibility?

 

My hardware:

Foxconn A88GMV

AMD Athlon II X3 Rana 455

WD 500GB

Seagate 2TB

nvidia GT610

Corsair CX430 430W PSU

 

I have gone into power options and made sure wake timers are enabled. On my scheduled task, I have it set to wake the computer. The task will run just fine if the computer is not asleep. Some of the troubleshooting I've tried so far:

 

- Changed the sleep state in the BIOS from S3 to S1 ( my only 2 options)

- On S3, tried with hybrid sleep enabled/disabled

- Updated BIOS to latest version

- Updated AMD 880G chipset to latest drivers

- Tried with SATA in both AHCI mode and Native IDE

- Downloaded MCE Standby Tool, which I saw helped a lot of other people. No change

- My windows account DOES use a password

- Set it to not require password when resuming from sleep

 

Only other thing I've found is that enabling HPET in the BIOS can help, but I see no options for this on my model. Is it possible that having a scheduled task wake the computer just isn't compatible with Windows 8 on my setup?

 

 

 

It probably is a HPET issue. Try the following to disable HPET in Windows and then reboot:

bcdedit /deletevalue useplatformclock

 

I forgot to include that I tested the system timer with something called wintimertest I think, where "QueryPerformanceFrequency" was reported as 3-4 MHz, even after trying the command bcdedit /set useplatformclock true. Does this mean my system does not even support HPET?

I forgot to include that I tested the system timer with something called wintimertest I think, where "QueryPerformanceFrequency" was reported as 3-4 MHz, even after trying the command bcdedit /set useplatformclock true. Does this mean my system does not even support HPET?

 

Possibly, that's part of the reason I'm telling you to disable it in the OS just to be sure it isn't breaking because it is enabled there but doesn't exist or the other possibility that it is a faulty implementation on your board. It is actually a known issue even in Linux where ACPI won't wakeup the computer with HPET enabled on some boards and kernel combinations -- so it is no stretch that it could occur here.

Possibly, that's part of the reason I'm telling you to disable it in the OS just to be sure it isn't breaking because it is enabled there but doesn't exist or the other possibility that it is a faulty implementation on your board. It is actually a known issue even in Linux where ACPI won't wakeup the computer with HPET enabled on some boards and kernel combinations -- so it is no stretch that it could occur here.

I tried what you said and rebooted, still no luck. The query frequency is reported as 3.59 Mhz with useplatformclock both off and on.

I didn't have time to test this extensively, so it may be a fluke, but when I enabled a bios option called 'enable rtc alarm' I was able to get my test sheduled task to wake the computer, but only if it was 1-2 minutes later. Anything more would break it again.

Really seems like it's a Windows 8.1 issue since it worked on 7 and 8 and I didn't have to fiddle with any of this

Can you create a simple task (open notepad or something on wake) that reproducibly fails, export it, and post the XML file here? Also, have you tried enabling logging for the failing task and seeing whether it spits out information on waking?

I have the following other possible switches to try. I don't guarantee any of them work though. Does anyone know if any timer related things changed from 8 to 8.1? My guess is that the 1-2 minute sleep worked because it hadn't yet turned off completely.

 

disabledynamictick [ yes | no ] //Enables and disables dynamic timer tick feature. 

useplatformclock [ yes | no ] //Forces the use of the platform clock as the system's performance counter.

uselegacyapicmode [ yes | no ] // Used to force legacy APIC mode, even if the processors and chipset support extended APIC mode.

Can you create a simple task (open notepad or something on wake) that reproducibly fails, export it, and post the XML file here? Also, have you tried enabling logging for the failing task and seeing whether it spits out information on waking?

Here's the XML export of the test task I've been using. By enabling logging, do you mean task history? Looking at that, there are no errors. I have the task set to launch immediately if a scheduled start is missed, so as soon as I manually wake the computer it'll run. The history data just says task was triggered by a time condition, and has completed successfully

<?xml version="1.0" encoding="UTF-16"?>

-<Task xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task" version="1.4">


-<RegistrationInfo>

<Date>2014-01-02T20:41:09.5504415</Date>

<Author>HTPC\Chris</Author>

</RegistrationInfo>


-<Triggers>


-<TimeTrigger>

<StartBoundary>2014-01-02T21:18:00</StartBoundary>

<Enabled>true</Enabled>

</TimeTrigger>

</Triggers>


-<Principals>


-<Principal id="Author">

<UserId>HTPC\Chris</UserId>

<LogonType>InteractiveToken</LogonType>

<RunLevel>HighestAvailable</RunLevel>

</Principal>

</Principals>


-<Settings>

<MultipleInstancesPolicy>Parallel</MultipleInstancesPolicy>

<DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>

<StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>

<AllowHardTerminate>true</AllowHardTerminate>

<StartWhenAvailable>true</StartWhenAvailable>

<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>


-<IdleSettings>

<StopOnIdleEnd>true</StopOnIdleEnd>

<RestartOnIdle>false</RestartOnIdle>

</IdleSettings>

<AllowStartOnDemand>true</AllowStartOnDemand>

<Enabled>true</Enabled>

<Hidden>false</Hidden>

<RunOnlyIfIdle>false</RunOnlyIfIdle>

<DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>

<UseUnifiedSchedulingEngine>false</UseUnifiedSchedulingEngine>

<WakeToRun>true</WakeToRun>

<ExecutionTimeLimit>P3D</ExecutionTimeLimit>

<Priority>7</Priority>

</Settings>


-<Actions Context="Author">


-<Exec>

<Command>"C:\Program Files (x86)\Internet Explorer\iexplore.exe"</Command>

</Exec>

</Actions>

</Task>

Here's the XML export of the test task I've been using. By enabling logging, do you mean task history? Looking at that, there are no errors. I have the task set to launch immediately if a scheduled start is missed, so as soon as I manually wake the computer it'll run. The history data just says task was triggered by a time condition, and has completed successfully

Yeah, that's what I meant by logging.

I tried reproducing your task using my own typical settings. The only differences are:

 

<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">

...

<Principals>
    <Principal id="Author">
      <UserId>BABEL\User</UserId>
      <LogonType>Password</LogonType>
      <RunLevel>LeastPrivilege</RunLevel>
    </Principal>
  </Principals>

...

<StartWhenAvailable>false</StartWhenAvailable> (probably not important)
Do you stick with the default Configure for settings? I set mine to Windows 8.1, though I don't know if that makes a functional difference or not.

Yeah, that's what I meant by logging.

I tried reproducing your task using my own typical settings. The only differences are:

 

<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">

...

<Principals>
    <Principal id="Author">
      <UserId>BABEL\User</UserId>
      <LogonType>Password</LogonType>
      <RunLevel>LeastPrivilege</RunLevel>
    </Principal>
  </Principals>

...

<StartWhenAvailable>false</StartWhenAvailable> (probably not important)
Do you stick with the default Configure for settings? I set mine to Windows 8.1, though I don't know if that makes a functional difference or not.

 

Mine is also set to 8.1. It is my understanding that the different configuration modes make no difference to a manually created task. Just for fun I set it to Windows 7, didn't help though

I have the following other possible switches to try. I don't guarantee any of them work though. Does anyone know if any timer related things changed from 8 to 8.1? My guess is that the 1-2 minute sleep worked because it hadn't yet turned off completely.

 

disabledynamictick [ yes | no ] //Enables and disables dynamic timer tick feature. 

useplatformclock [ yes | no ] //Forces the use of the platform clock as the system's performance counter.

uselegacyapicmode [ yes | no ] // Used to force legacy APIC mode, even if the processors and chipset support extended APIC mode.

 

Thanks for the suggestions - I tried them all, with reboots in between, still not working :(

Only thing I had was try doing Run whether user is logged in or not, and don't check Run with highest privileges.

I've tried every combination of options, they all work fine if the computer isn't sleeping, otherwise no-go. I'm just gonna say it's not possible for me

 

 

I'm out of ideas then unfortunately :-)

 Me too, thanks for the help. Seems like if your mobo doesn't specifically support HPET options then this isn't possible in Win 8.1

 

I've tried every combination of options, they all work fine if the computer isn't sleeping, otherwise no-go. I'm just gonna say it's not possible for me

 

 

 Me too, thanks for the help. Seems like if your mobo doesn't specifically support HPET options then this isn't possible in Win 8.1

 

 

No idea if that is the case. It could be just an issue with particular mobos or drivers in 8.1 also. 

This topic is now closed to further replies.
  • Posts

    • How to Do More with Less: Future-Proofing Yourself in an AI-driven Economy —was $28 now FREE by Steven Parker Claim your complimentary copy (worth $28) of "How to Do More with Less: Future-Proofing Yourself in an AI-driven Economy" for free, before the offer ends on June 30. Description In today’s workplace, headlines about artificial intelligence can feel overwhelming. With headlines swinging between promises of utopia and warnings of mass unemployment, for most knowledge workers, the truth feels unclear. In this book, Sharon Gai cuts through the noise. Drawing from real-world examples and global insights, she explains how AI is reshaping the way we work—without hype or fearmongering. Instead of choosing between blind optimism or outright pessimism, she offers a practical, balanced perspective that helps readers make sense of the rapidly evolving AI landscape. You’ll learn how to: Reskill and future-proof your career in the face of AI disruption Identify which parts of your role can be automated, and which require human creativity and judgment Use proven frameworks to evaluate AI’s impact on your work and your organization Apply actionable tips and tools to boost productivity, make smarter decisions, and do more with less Gain clarity as a parent, leader, or professional navigating what this means for the next generation Whether you’re an employee anxious about your future, a parent concerned about your children’s opportunities, or a leader managing a lean team with tight budgets, this book provides the strategies and mindset you need to adapt so you can stop worrying and start preparing. How to download for free Please ensure you read the terms and conditions to claim this offer. Complete and verifiable information is required in order to receive this free offer. If you have previously made use of these offers, you will not need to re-register. Was $28, but is now FREE | Below free offer link expires on June 30. How to Do More with Less: Future-Proofing Yourself in an AI-driven Economy The below offers are also available for free in exchange for your (work) email: The Vibe Coding Playbook: Building Your Tech Business with AI ($35 Value) FREE - Expires 6/23 The Persuasion Engine: How Any Business Can Use AI-Powered Neuromarketing to Understand and Win Customers ($28 Value) FREE - Expires 6/24 How to Do More with Less: Future-Proofing Yourself in an AI-driven Economy ($28 Value) FREE - Expires 6/30 Cloud Security Fundamentals: Building the Foundations for Secure Cloud Platforms ($131.95 Value) FREE - Expires 7/1 The Complete Free AI Learning: Master ChatGPT, Claude, Gemini & More ($21 Value) FREE How to Build an AI Design Workflow with Gamma ($21 Value) FREE The Ultimate Linux Newbie Guide – Featured Free content Python Notes for Professionals – Featured Free content Learn Linux in 5 Days – Featured Free content Quick Reference Guide for Cybersecurity – Featured Free content We post these because we earn commission on each lead so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. Other ways to support Neowin The above deal not doing it for you, but still want to help? Check out the links below. Check out our partner software in the Neowin Store Buy a T-shirt at Neowin's Threadsquad Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: An account at Neowin Deals is required to participate in any deals powered by our affiliate, StackCommerce. For a full description of StackCommerce's privacy guidelines, go here. Neowin benefits from shared revenue of each sale made through the branded deals site.
    • Microsoft admits one of the most crucial Outlook features is currently broken by Sayan Sen Microsoft is making some decent progress when it comes to Windows 11. Recently we have confirmed reports of some rather useful improvements landing in the next version of the OS, 26H2, wherein GPU driver TDR crashes may finally be fixed, plus the company is also allowing users to disable web content on the Search. On the Outlook front though things have not been so rosy. Last month in May we reported several problems affecting basic functionalities on the app. These included a problem where documents would open blank or corrupt themselves. Following that, Quick Steps, a very useful feature, would no longer work correctly, and finally, Microsoft acknowledged a problem wherein images would fail to load up properly inside the email. Microsoft had resolved those bugs later and almost exactly a month after we reported on them, the company has now admitted a new similarly basic issue, this time on Macs. Users recently started noticing that Outlook would no longer display email threads properly as the original message itself was not displayed. An affected user Tsoumpas, C (ngmb) nicely described the problem in a forum post they made on Microsoft's site. They wrote: "Description of the issue: After updating Outlook for Mac [Version 16.110 (26061317)] on 18/6/2026, replying to any email no longer includes the original message in the reply window. Prior to the update, replies correctly contained the original email text below my response. Expected behavior: The original message should be included in the reply, as in previous Outlook versions and according to the configured reply settings. Actual behavior: The reply window contains only a blank composition area (or only my response), with none of the original email text included." Obviously this must be a highly frustrating for users as noted by several in that thread. The post, at the time of writing, has also been upvoted by more than 40 users indicating that is a fairly widespread bug. Thankfully Microsoft seems to have acknowledged the problem right around that time as it opened a new issue on its official website. In the support article, the company recommends switching to Outlook for Mac from the legacy app, where the problem appears to be happening.
    • PotPlayer 260622 by Razvan Serea PotPlayer is an extremely light-weight multimedia player for Windows. It feels like the KMPlayer, but is in active development. Supports almost every available video formats out there. PotPlayer contains internal codecs and there is no need to install codecs manually. Other key features include WebCam/Analog/Digital TV devices support, gapless video playback, DXVA, live broadcasting. Distinctive features of the player is a high quality playback, support for all modern video and audio formats and a built DXVA video codecs. A wide range of subtitles are supported and you are also able to capture audio, video, and screenshots. A comprehensive video and audio player, that also supports TV channels, subtitles and skins. Its been described on the Internet as The KMPlayer redux, and it pretty much is. Daum PotPlayer 260622 (1.7.22963) changelog: Removed Kakao TV Added pause function when navigating via the navigation bar Significantly improved internal stability Fixed an issue where colors appeared strange during RGB24 processing Improved playback for some HTTP streams Improved sync processing for the built-in audio renderer Fixed an issue where certain MP4 files behaved abnormally during playback Download: Daum PotPlayer (64-bit) | 54.7 MB (Freeware) Download: Daum PotPlayer (32-bit) | 61.1 MB View: Daum PotPlayer Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Tixati 3.44 is out.
    • Speccy 1.34.084 by Razvan Serea Speccy will give you detailed statistics on every piece of hardware in your computer. Including CPU, Motherboard, RAM, Graphics Cards, Hard Disks, Optical Drives, Audio support. Additionally Speccy adds the temperatures of your different components, so you can easily see if there's a problem! Processor brand and model Hard drive size and speed Amount of memory (RAM) Graphics card Operating system At first glance, Speccy may seem like an application for system administrators and power users. It certainly is, but Speccy can also help normal users, in everyday computing life. If you need to add more memory to your system, for example, you can check how many memory slots your computer has and what memory's already installed. Then you can go out and buy the right type of memory to add on or replace what you've already got. Download: Speccy 1.34.084 | 20.5 MB (Freeware) View: Speccy Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Dedicated
      tuben earned a badge
      Dedicated
    • Week One Done
      mnsgroup earned a badge
      Week One Done
    • Conversation Starter
      sumytbe earned a badge
      Conversation Starter
    • One Year In
      B4dM1k3 earned a badge
      One Year In
    • One Year In
      DarkWun earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      522
    2. 2
      +Edouard
      199
    3. 3
      PsYcHoKiLLa
      94
    4. 4
      Michael Scrip
      82
    5. 5
      neufuse
      69
  • Tell a friend

    Love Neowin? Tell a friend!