Regarding waking up from sleep on a Modern Standby PC

井上 陽介 40 Reputation points
2024-04-25T06:54:25+00:00

Currently, on a Modern Standby PC, I'm trying to wake it up from sleep at a specified time every day using Task Scheduler and then execute a task.

In Task Scheduler, I've set it to "Run whether the user is signed in or not" and "Wake the computer to run this task."

On PCs with Standby (S3), allowing the wake timer to wake the computer from sleep even when the user is signed out allows tasks to be executed while the computer is asleep. However, I've found that Modern Standby doesn't support waking up from sleep using the wake timer.

I've come across information suggesting that on Modern Standby PCs, waking up from sleep is possible through notifications such as Remote Desktop connections or alarms.

Initially, I tried setting an alarm 10 seconds before the task's scheduled execution time, woke the computer from sleep, and waited for the task to execute. However, even after setting the alarm and signing out, the computer remained asleep and didn't wake up at the scheduled time. It appears that alarms only execute when the user is signed in.

Remote Desktop connections allowed waking up from sleep even when signed out, but since it requires multiple PCs to complete the task, it doesn't seem feasible.

If anyone knows how to wake a Modern Standby PC from sleep when signed out at a specified time or how to make Task Scheduler's "Wake the computer to run this task" option work, I would greatly appreciate your guidance.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,657 questions
0 comments No comments
{count} votes

Accepted answer
  1. Wesley Li 5,040 Reputation points
    2024-04-25T16:48:53.7033333+00:00

    Hello

    Waking up a Modern Standby PC from sleep at a specified time can indeed be challenging. Here are some methods that might help:

     

    1. Enable Wake Timers: Ensure that wake timers are enabled in your power options. Here’s how to do it:

    Click Start and select Control Panel.

    Go to Hardware and Sound.

    Click Power Options.

    Select Change Plan Settings for your current power plan.

    Select Change advanced power settings.

    Go to Sleep.

    Select Allow wake timers and enable them.

     

    1. Use Task Scheduler with an Event Trigger: You could try to schedule a task based on an event that occurs when the system wakes up. Here’s how to do it:

    Create a task in Task Scheduler.

    For the trigger, select the “On an event” option.

    You could try the event with the following properties: Event-Log: System, Source: Power-Troubleshooter, Event-Code: 1. This event is issued every time the system wakes up from sleep mode.

     

    1. Use a Batch Script with Task Scheduler: You can create a batch script that emulates keyboard key strokes and schedule it with Windows Task Scheduler. Here’s how to do it:

    Create a batch script that emulates keyboard key strokes.

    Schedule it with Windows Task Scheduler and tell it to wake up the computer to run the task at the designated time.

     

    Also, remember that the behavior of Modern Standby can vary depending on the hardware and software configuration of your PC.


0 additional answers

Sort by: Most helpful