Hibernation is a state of computer or laptop where you can save your work so that when you open it after weeks or months, it appears as same. There is a built in setup for hibernation but in case you want to enable it on Windows 10 using command prompt, there here is how you can do it.
Hibernation allows you to save your work and resume it later as if the PC was never turned off. You could put your computer to sleep, which is a low power consumption state. But this is only fine if you have the power plugged in. If you want something to make it resume your work even after turning off the power, then Hibernation is the way to go.
By default, Hibernation is disabled from the menu on Windows 10. However, you can enable it from the power configuration setting in the control panel. But you could also do it from the command prompt as well, which is very easy and simple. So in this article, let’s see how you can enable the hibernation option from the command prompt.

How to enable Hibernation on Windows 10 using the command prompt?
Hibernation copies all data in the RAM into the local hard drive file called hiberfil.sys in Windows and shuts down the PC. Before shutting down, it makes all the necessary changes that it needs to remember that the system is hibernated. So when you restart the PC, windows will know there is a hibernation, so it will start transferring all data on the file into the RAM and logs you in. This makes the system to resume from where you left off instead of starting all over again.
Hibernating will write to a file “hiberfil.sys” located in the C: drive. So before you hibernate your system, make sure you have more storage space available than your RAM capacity. For instance, If you have 8 GB of RAM installed on your system, then you should at least have 8 GB of storage on your C drive. Else, the process will fail.
Enable or disable hibernation from CMD
Just follow these steps to enable or disable the hibernation option on Windows 10 using the command prompt.