@dabl,
I have some partial results, although I still have more testing to do tomorrow (Sunday).
First, my test subject, the only machine that I have with Modern Standby, is a Lenovo Thinkbook 13x Gen 2 with a 12th Gen Intel i7.
In my testing, I was
unable to get a scheduled task to wake the system or bring it out of Modern Standby when I place the system in Modern Standby or when shutting it down fully. This was true whether I was running on battery or AC power. However, if I would place the system in hibernation,
then it would wake just fine and execute the scheduled task both on battery and AC power.
Note that all this testing was done with the lid open, tomorrow I will test with lid closed.
Again, more testing and research to take place tomorrow, but in the meantime, a couple of thoughts:
1) This first item is pure speculation on my part at this point: I know that people have been extremely vocal about problems with Modern Standby. In fact,
Linus of
Linus Tech Tips did an entire video on the topic. One of the main complaints is that a user closes the lid of the laptop and it enters Modern Standby, as expected. However, a day or two later the user grabs the laptop only to find out that the battery is depleted just when they really need it because the system came out of Modern Standby and stayed there at some point in time. Another common complaint was that they pull the laptop out of a bag only to find that the system had fully woken and is running super hot due to the confined space it is in.
I wonder if either Microsoft or the laptop manufacturers or both have purposely made a decision to limit what can wake the system in this mode. Maybe this is a recent change in the behavior?
What I can tell you for sure is this: I purchased my system new almost exactly one year ago to the day, so it's a fairly current system. I have used Modern Standby almost daily but it has
NEVER ever woken up fully on me while in that mode at least when the lid is closed. However, when the lid is open, the system is clearly still active to some extent because all I need to do is bring my face anywhere near the laptop and the camera and Time of Flight Sensor will detect me and turn on the screen and log me on. Likewise, the fingerprint reader will bring the system back to fully active and log me on if I touch it. But it simply will not wake to run a task.
Is this all expected behavior? I don't yet have enough information to say.
2) You had noted that you were able to use RDP to wake the system. Can I make an alternative suggestion that may work for you? Actually, let me restate that: It may work as an alternative to RDP, but may not be everything you want. How about WOL (Wake On LAN)? I use Wake On LAN extensively with several of my systems and it works great. Yes, this requires either my phone or another computer to send a WOL signal to those systems, but it works great. However, this is another one of those mixed bags. I have some systems that will respond to WOL when shutdown or in hibernation or sleep. Some other work only in sleep or hibernation, but not when shutdown.
The bad news is that I cannot test this on my Lenovo. My Lenovo has WiFi only, no Ethernet. If I want Ethernet, I have to plug in a USB Ethernet adapter which won't work with WOL. Since this is my only system with Modern Standby, I cannot tell you if WOL will wake a system in that state.
So, that is where I stand at the moment. I will respond back again when I have finished further testing and research.