Stopping Hibernation with correct Powercfg command
I am uploading backups to the cloud and want my Lenovo B570 laptop to not sleep or hibernate when doing so. In spite of setting the Power Management to "Never sleep" is still does so!
With a Powercfg -q command I get the answer:
Power Setting GUID: 9d7815a6-7ee4-497e-8888-515a05f02364 (Hibernate after)
Minimum Possible Setting: 0x00000000
Maximum Possible Setting: 0xffffffff
Possible Settings increment: 0x00000001
Possible Settings units: Seconds
Current AC Power Setting Index: 0x00005460
Current DC Power Setting Index: 0x00005460
from which I see that i's switching off after 5460 seconds.
I'm not experienced enough to know the exact syntax to correct this setting (case, spaces etc) and would be very grateful if someone could give me the exact command to set the hibernation to zero!
Thanks - it seems to work as the PC doesn't hibernate. But funnily enough when I do a powercfg -q the AC power setting hasn't changed and still reads as turning off after 5460 seconds!