RedditPP Mascot

RedditPP

r/WindowsHelp • … • u/DotDamo

Windows 11 Task scheduler changes power config only if I touch the keyboard or mouse

I have a Windows 11 machine (23H2, build 22631.2861) which has two scheduled tasks, one to disable standby mode (set standby to 0) in the morning, and the other to set standby to 10 minutes in the evening. According to the task scheduler history, the commands run. But they don't take affect unless I move the mouse or touch the keyboard.

The scheduled commands are:

powercfg.exe -change -standby-timeout-ac 0 powercfg.exe -change -standby-timeout-ac 10

For example, at 7:30am the machine wakes up, runs the command to disable standby, and then goes back to sleep! But if I move the mouse, it then stays awake for the day. I don't even need to log in.

And in the evening, the scheduled task runs at 6:30pm, and I'd expect the machine to go into standby by 6:40pm, but it doesn't unless I moved the mouse. For example, the machine will still be awake at 7pm, so I'll move the mouse, not even log in, and it'll then be asleep by 7:10pm. If I look at the scheduled task history, it says it ran at 6:30pm.

The machine details are:

* AMD Ryzen 7 5800X * Gigabyte GA-X570 Aorus Ultra MB, R1.2 * ZOTAC Gaming GeForce RTX 3070 (driver version 546.33) * G.Skill Trident Z Neo RGB 32GB (2x16GB) * Corsair HX850 850W PSU * 2x WD 2TB SSD, WD Black SN850 * 2x WD 12TB Red Plus NAS 3.5" Hard Drive * Toshiba X300 4TB HDD * External Seagate 16TB HDD * External WD Elements 10TB HDD * Logitech G710+ Keyboard * Logitech G G502 LIGHTSPEED Wireless Gaming Mouse * Logitech G POWERPLAY Wireless Charging System * LG Ultragear 32GK650F-B 32 Inch QHD Gaming Monitor * Dell U3011 30"W Ultrasharp HD Monitor

​

— 0