Forum Discussion
Win11 22H2 22621.317 PC unable to resume from hibernation using automated tasks
I recently tested the last Win11 22H2 release preview from the Insider program.
With different backup programs (TrueImage 2021, Macrium V8) or with automated scheduled tasks, it is impossible to get different PCs resuming from hibernation (they stayed in the S4 state), although waking from a sleep state (S3) was fully OK.
When using the mouse, the keyboard, no pb getting the PCs awaken from hibernation.
The PowerPlans are those from AMD, i.e. AMD Ryzen balanced, using the last X570 chipset AMD software (4.06.10.651), motherboards are Asus ROG Strix X570 E-gaming with the last bios.
Processors are Ryzen 7 3700X and Ryzen 9 3900X.
Any advice or similar problems ?
Many thanks for your quick response, as my backups are crucial matters !!
Best Regards
Good evening/morning/afternoon everyone...
It is solved !!! Hope I did not confuse you.
In order to gain time during my scheduled tasks experiments, I put the PC in hibernation/S4 state, shortcutting the timers of my PowerPlan by using the command : C:\Windows\System32\rundll32.exe PowrProf.dll,SetSuspendState ---> this was obviously the culprit !!!
By using the command : C:\Windows\System32\psshutdown.exe -h -t 0 (see Sysinternals Web site - Sysinternals - Windows Sysinternals), or the deep sleep from the Win11 start menu, my scheduled tasks ran perfectly, either from sleep state (S3) or from hibernation/deep sleep state (S4).
Best Regards
- YVES59493Copper Contributor
Good evening/morning/afternoon everyone...
It is solved !!! Hope I did not confuse you.
In order to gain time during my scheduled tasks experiments, I put the PC in hibernation/S4 state, shortcutting the timers of my PowerPlan by using the command : C:\Windows\System32\rundll32.exe PowrProf.dll,SetSuspendState ---> this was obviously the culprit !!!
By using the command : C:\Windows\System32\psshutdown.exe -h -t 0 (see Sysinternals Web site - Sysinternals - Windows Sysinternals), or the deep sleep from the Win11 start menu, my scheduled tasks ran perfectly, either from sleep state (S3) or from hibernation/deep sleep state (S4).
Best Regards