I've added a shutdown /h /t 120
to the Task Scheduler in Windows 7. I've set it to be run only if my administrator user is logged in and with highest privileges. But it does not work.
When I fire the command from cmd it does not work. I am able to hibernate from Start menu.
Shutdown /s on the other hand works from cmd and from Task Scheduler.
How to hibernate windows 7 properly from Task Scheduler?