Windows 8: Enable/Disable Hibernate via PowerShell

If you newly installed Windows 8.1 and you would like to disable Hibernate, you figured out by now that you can’t simply do powercfg /h off like you used to be able to in Windows 7, you get this Windows error codes:

Here’s an easy way to do it, by not changing anything permission related (UAC etc.) on your system.

Disable Hibernate

Start a command prompt, or run directly, paste this and hit enter:

Enable Hibernate

Start a command prompt, or run directly, paste this and hit enter:

Check Hibernate Status

Start a command prompt, or run directly, paste this and hit enter:

Bogdan Ilisei

20-something geek; loves tea, computers, speed and adrenaline. also bacon. can’t forget about bacon!

  • Marius P.

    I think the quicker way of doing it might be to start the cmd.exe shell with administrator rights (run as adrministrator).

    • Of course it would.

      Now explain to someone how to easily run cmd.exe as admin in Win8 🙂

      • dumy

        Very simple, just keep Ctrl+Shift when you click on the “cmd.exe” icon/test 🙂

      • Justin Ellenbecker

        Right click on the start button and choose command prompt (Admin)

  • Vladimir Pydo

    Well, it work under the command line but how to integrate it in PS script without any prompts ?