Forum Discussion
CMD prompt confusion ?
How to make hibernation unavailable:
Press the Windows button on the keyboard to open Start menu or Start screen.
Search for cmd. In the search results list, right-click Command Prompt, and then select Run as Administrator.
When you are prompted by User Account Control, select Continue.
At the command prompt, type powercfg.exe /hibernate off, and then press Enter.
Type exit, and then press Enter to close the Command Prompt window.
2 Replies
- ColeJacksonIron Contributor
Disabling hibernation removes the hibernation file (hiberfil.sys) from your system. This can free up disk space (the file can be quite large), but you'll lose the ability to use the hibernation feature.
- ThomasWhiteIron Contributor
By running the command powercfg.exe /hibernate off, you're instructing Windows to disable the hibernation feature entirely. This not only prevents your PC from going into hibernation mode but also removes the hiberfil.sys file (the file used to store the hibernation data), freeing up disk space.