Forum Discussion
Win11 22H2 22621.317 PC unable to resume from hibernation using automated tasks
- Aug 03, 2022
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 - https://docs.microsoft.com/en-us/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
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 - https://docs.microsoft.com/en-us/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