Hibernate mode in Windows 7

To turn on hibernate mode in Windows 7, use command

powercfg /h on