I want to toggle the power saving mode of my desktop PC. I want that if i'm on my PC over the day it should preventing itself from shutting down, turning the monitor off and disabling the hard disk.
But if i'm not in my company i want to set it to the power save mode which should disable the hard disk and monitor after a specified amount of time. It should just toggles the modes if i press [WIN]+[L](lock screen) to the energy saving mode and if i unlock the computer back to the high capacity mode.
So how can i achieve this? Is this achievable with a Script or is there no way to do this?
Power Options
of Windows to setup the corresponding profiles. I'm not sure how you'd go about switching it while locking the screen but maybe a long timeout (say 5 hours?) would also suffice? During the night it would turn of the display/park the HDD and after you woke him up from that it would continue to function.