However, some computers, especially those that have upgraded to Windows 10 from older versions of the Operating System, have trouble dealing with hibernation and are plagued by quite a lot of hibernation-related bugs. Fortunately for anyone who is having trouble with hibernation mode on their Windows 10 computer, it is entirely possible to disable hibernation entirely and, to top it all off, doing so is pretty simple. In order to disable hibernation on a Windows 10 computer, you need to: Open the Start Menu. Search for “cmd”. Right-click on the search result titled cmd. Click on Run as administrator in the contextual menu. This will launch an elevated Command Prompt. Type the following into the elevated Command Prompt and then press Enter:

As soon as the command-line described above has been executed, hibernation will have been disabled on your computer and pressing the power button will get your computer to shut down completely instead of hibernating and your computer will also not go into hibernation after you leave it idle for any amount of time. Pro Tip: In order to be able to store all of the data on a computer’s RAM at any given time on its Hard Drive, hibernation mode maintains a paging file named hiberfil.sys that is used to store all of a computer’s RAM’s data whenever it goes into hibernation. Hiberfil.sys takes up just as much space on a computer’s Hard Drive as the amount of RAM that the computer has. Disabling hibernation mode using the method described above also deletes the hiberfil.sys file, meaning that by doing so, you can free up 2-32 gigs of disk space on your computer’s Hard Drive depending on how much RAM your computer has.

How to Disable Hiberfil.sysFix: Windows 10 Shuts Down Instead of SleepFIX: Windows 10 Restarts Instead of Shutting DownFix: Task Host Window Prevents Shut Down in Windows 7/8/10