Forum Discussion

YVES59493's avatar
YVES59493
Copper Contributor
Aug 01, 2022
Solved

Win11 22H2 22621.317 PC unable to resume from hibernation using automated tasks

Good evening everyone, 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 ta...
  • YVES59493's avatar
    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