Question CMD prompt confusion ?

May 21, 2024
14
0
10
How to make hibernation unavailable:

Press the Windows button on the keyboard to open Start menu or Start screen.
  1. Search for cmd. In the search results list, right-click Command Prompt, and then select Run as Administrator.
  2. When you are prompted by User Account Control, select Continue.
  3. At the command prompt, type powercfg.exe /hibernate off, and then press Enter.
  4. Type exit, and then press Enter to close the Command Prompt window.
How to make hibernation available:

Press the Windows button on the keyboard to open Start menu or Start screen.
  1. Search for cmd. In the search results list, right-click Command Prompt, and then select Run as Administrator.
  2. When you are prompted by User Account Control, select Continue.
  3. At the command prompt, type powercfg.exe /hibernate on, and then press Enter.
  4. Type exit, and then press Enter to close the Command Prompt window.
I did the above to troubleshoot but I'm a bit of a noob when it comes to PCs. I was trying to troubleshoot an issue with sleep mode.

When I type off, on power options - system settings, all the options for fast start up, hibernate & lock went. When I turned it back on they came back. Is that normal?

I note on some support pages, it then advises to type: powercfg /h /type full, do I need to do this? I didn't do this and the Microsoft steps above don't mention that.

I can see the hibernation file is taking up 3.09GB of my 8GB RAM. I read online it should be 75% ish but on my other laptop it is also 3.09GB for 8GB RAM so that must be normal then?
 
When I type off, on power options - system settings, all the options for fast start up, hibernate & lock went. When I turned it back on they came back. Is that normal?

I note on some support pages, it then advises to type: powercfg /h /type full, do I need to do this? I didn't do this and the Microsoft steps above don't mention that.

I can see the hibernation file is taking up 3.09GB of my 8GB RAM. I read online it should be 75% ish but on my other laptop it is also 3.09GB for 8GB RAM so that must be normal then?
Fast start up does use the hibernation file to boot straight into the state the PC was before shutting down so yes it should get disabled together with hibernation.
The hibernation file automatically uses as much space as it needs, unless you tell it to use less than, don't worry about it.
The powercfg /h /type full command should make it use as much space on disk as there is ram in the system but it's just a waste of disk space, it will be saving empty ram to disk without any need.
 
  • Like
Reactions: WebWaves
Fast start up does use the hibernation file to boot straight into the state the PC was before shutting down so yes it should get disabled together with hibernation.
The hibernation file automatically uses as much space as it needs, unless you tell it to use less than, don't worry about it.
The powercfg /h /type full command should make it use as much space on disk as there is ram in the system but it's just a waste of disk space, it will be saving empty ram to disk without any need.

Thanks so much for helping me. 😃