The reason to disable hibernation is that you want to reclaim the storage space used by the hibernation file. This file can consume several gigabytes of storage, and undermining the feature helps get back that space. Note that you must use the command-line method below to get rid of the hibernation file, as the graphical settings method doesn’t delete this file it only disables the hibernation function
There are two ways to disable hibernation in Windows 10. First using the command line method that turns off the feature and deletes the hiberfil.sys file and the graphical method that only turns off the feature.
Using Command Prompt:
First, open a “Command Prompt” by just clicking on the start menu and searching for “cmd”. From the right panel click on “Run as Administrator”.
On the Command Prompt window, type the following command and press Enter:
"powercfg -h off"
Command Prompt won’t display a confirmation message, but hibernation is now disabled and the associated file is deleted.
In the future, if you’d like to turn hibernation back on, type the following command in Command Prompt:
“powercfg.exe /hibernate on”
Using Power Options:
If you prefer to use a graphical interface to disable it. You can do so by right-clicking the start menu icon and choosing “Power Options”.
On the “Power & Sleep” page, in the right sidebar, select “Additional Power Settings.”
On the “Power Options” window, in the left sidebar, click “Choose What the Power Buttons Do.”
Select the “Change Settings That Are Currently Unavailable” option. This ensures you can deselect the hibernation option.
On the same page, in all the drop-down menus, ensure “Hibernate” is not selected. Then, in the “Shutdown Settings” section, uncheck the “Hibernate” option. Save your settings by selecting “Save Changes” at the bottom.
Now, next to your active power plan, choose “Change Plan Settings.”
On the page that opens, select “Change Advanced Power Settings.”
Here, expand Sleep then click on Hibernate. In both “On Battery” and “Plugged In” menus, enter 0. This will make these menus say “Never”.
That’s it, your PC won’t hibernate any more.