I usually have this problem after a bad restart or something similar. I'm trying to remember what I did and I'll be back
EDIT: Alright, I think I did something like this:
Open a command prompt as administrator. Entries with
// after them are comments and don't input them. Input:
Code:
dir C:\
echo > hiberfil.sys //a hiberfil should be created
powercfg -h on //you should receive the same error
powercfg -h off //expect same error
del hiberfil.sys
powercfg -h on //expect same error
Restart your computer afterwards. It should work.