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

    • Looks like no official TBW rating, which should be a required listing in my opinion for sites like Amazon (hell, put it on the box too.)
    • I think I understood the article fine. Online password managers open users up to more possibilities of getting hacked, and due to KeePass being offline and local it reduces the idea of getting hacked. If someone chooses to put their database online they're kinda missing the point. With regards to the idea of the on-prem idea, I would have two issues. I'm not sure about the first issue, but I wouldn't be surprised about them offering a cloud storage for the passwords that most wouldn't bother to switch off, regardless of if they went for on-prem or not. The second issue is that the on-prem solution for Bitwarden costs money, whereas KeePass is free and open-source (as far as I am aware). The article points out how to sync the database between devices, and I recognise that deficiency in security. But it isn't a necessity. So both services can offer a same idea, but one is free and the other isn't...choices, choices.... But to each their own.
    • AB Download Manager 1.9.2 by Razvan Serea AB Download Manager is an open-source, feature-rich download manager designed to accelerate downloads, organize files efficiently, and provide seamless control over downloads. With support for multiple connections, resume capability, and an intuitive interface, it enhances the downloading experience for users seeking speed and reliability. The software integrates with various browsers, enabling quick link grabbing and batch downloading. It supports HTTP, HTTPS, and FTP protocols, ensuring broad compatibility with different file sources. Users can schedule downloads, set speed limits, and categorize files automatically for better organization. AB Download Manager is lightweight yet powerful, making it a great alternative to proprietary download managers. Its open-source nature allows developers to contribute, customize, and improve the software as needed. Whether you're downloading large files, managing multiple downloads at once, or seeking an ad-free experience, this tool offers a practical and efficient solution. Key features of AB Download Manager: Multi-Connection Support – Accelerates downloads by splitting files into multiple segments. Resume Capability – Allows paused or interrupted downloads to be resumed without starting over. Batch Downloading – Supports downloading multiple files at once for improved efficiency. Browser Integration – Captures download links directly from browsers for seamless operation. HTTP, HTTPS, and FTP Support – Ensures compatibility with a wide range of file sources. Download Scheduling – Enables users to automate downloads at specific times. Speed Limiting – Lets users control bandwidth usage for optimized performance. File Categorization – Automatically organizes downloaded files into designated folders. User-Friendly Interface – Simple and intuitive design for easy navigation. Cross-Platform Compatibility – Works on multiple operating systems. Ad-Free Experience – No intrusive ads or tracking for a clean user experience. AB Download Manager 1.9.2 changelog: Added New Twilight theme (#1292) Optional download completion notifications on Android (#1290) Fixed Fixed a crash on some older CPUs on Windows Fixed oversized system tray icon on macOS Improved Updated translations Prevented Android devices from sleeping while downloads are active (#1291) Various UI and UX improvements Download: AB Download Manager 1.9.2 | Portable | ~80.0 MB (Open Source) Download: ARM64 | Portable ARM64 | Android Links: AB Download Manager Website | Github Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I am not surprised because life is the product of a lot of biochemical and physical processes that releases various energies as a by-product. The only thing new here is the detection of these photon emissions. The researches noted this "glow" is not a metaphysical one. They don't even immediately end when one is dead. Things like fires, light bulbs, and on a bigger scale stars release a lot more "light" and they are hardly alive.
  • Recent Achievements

    • 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
    • Dedicated
      Almohandis earned a badge
      Dedicated
    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      516
    2. 2
      +Edouard
      186
    3. 3
      PsYcHoKiLLa
      87
    4. 4
      Michael Scrip
      79
    5. 5
      Steven P.
      73
  • Tell a friend

    Love Neowin? Tell a friend!