Share via

Are the following CMD prompts safe to use?

Anonymous
2024-05-20T18:27:07+00:00

How to make hibernation unavailable

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

How to make hibernation available

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

I did the following 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. Was this okay?

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?

Do I need to reset my PC?

Windows for home | Windows 11 | Sleep and Power on, off

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2024-05-21T09:57:16+00:00

    Hi,OnlyAlex22

    The error simply means that the USB device connected to your laptop is also consuming power since it did not enter the selective suspend state. The Selective Suspend feature by the way suspends the USB device to efficiently maintain battery power by enabling the computer to turn off the USB device. However, sometimes this feature may not correctly wake up the USB device so this is when you get to notice issues like the USB device is suddenly unresponsive when you try to use it. For details you can refer to:

    USB port may stop working after you remove or insert a USB device - Microsoft Support

    1 person found this answer helpful.
    0 comments No comments

Answer accepted by question author

  1. Anonymous
    2024-05-21T08:40:09+00:00

    Hi, OnlyAlex22

    Welcome to Microsoft Community. 

    Anyone who learns can feel a lack of knowledge, and it's commendable that you're trying to solve the problem on your own.

    I understand from your description that you are having problems with the safety of the cmd commands: "How to make hibernation unavailable" and "How to make hibernation available "These two groups seem to be the official help provided by Microsoft and have been tested to be safe.

    You also mentioned a set of commands, "powercfg /h /type full", which you can find out about if you want to go to the:

    Powercfg command-line options | Microsoft Learn

    Microsoft has provided an official explanation of this command, so you can learn about the explanation of this command and similar commands.

    Then according to your description, you are trying to solve the sleep problem. But the commands you mentioned are all about hibernation. It's very similar, but it's a different function.

    You say you are experiencing that all the options for fast startup, hibernation and locking have disappeared. This is probably due to the fact that you turned on hibernation mode and it came back after a reboot, which should be the result of turning off hibernation mode.

    Then there is the issue of the hibernation file taking up a lot of your ram memory, this depends a lot on how many programs you started before hibernating, the more programs you start, the more it will take up the next time you start it up.

    I don't think you need to reset your computer at this time.

    If you have any further concerns or questions, reply to us and we'll be able to help you more.

    Best Regards,

    Logan - MSFT | Microsoft Community Support Specialist

    1 person found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-05-23T01:59:10+00:00

    Hi,OnlyAlex22. It's always fun to help others, and if you ever run into another problem, feel free to come to Microsoft Community to find a solution.

    0 comments No comments
  2. Anonymous
    2024-05-21T16:16:42+00:00

    Hi,OnlyAlex22

    The error simply means that the USB device connected to your laptop is also consuming power since it did not enter the selective suspend state. The Selective Suspend feature by the way suspends the USB device to efficiently maintain battery power by enabling the computer to turn off the USB device. However, sometimes this feature may not correctly wake up the USB device so this is when you get to notice issues like the USB device is suddenly unresponsive when you try to use it. For details you can refer to:

    USB port may stop working after you remove or insert a USB device - Microsoft Support

    Great, thanks for your help once again.

    0 comments No comments
  3. Anonymous
    2024-05-21T09:04:12+00:00

    Hi, OnlyAlex22

    Welcome to Microsoft Community. 

    Anyone who learns can feel a lack of knowledge, and it's commendable that you're trying to solve the problem on your own.

    I understand from your description that you are having problems with the safety of the cmd commands: "How to make hibernation unavailable" and "How to make hibernation available "These two groups seem to be the official help provided by Microsoft and have been tested to be safe.

    You also mentioned a set of commands, "powercfg /h /type full", which you can find out about if you want to go to the:

    Powercfg command-line options | Microsoft Learn

    Microsoft has provided an official explanation of this command, so you can learn about the explanation of this command and similar commands.

    Image

    Then according to your description, you are trying to solve the sleep problem. But the commands you mentioned are all about hibernation. It's very similar, but it's a different function.

    You say you are experiencing that all the options for fast startup, hibernation and locking have disappeared. This is probably due to the fact that you turned on hibernation mode and it came back after a reboot, which should be the result of turning off hibernation mode.

    Then there is the issue of the hibernation file taking up a lot of your ram memory, this depends a lot on how many programs you started before hibernating, the more programs you start, the more it will take up the next time you start it up.

    I don't think you need to reset your computer at this time.

    If you have any further concerns or questions, reply to us and we'll be able to help you more.

    Best Regards,

    Logan - MSFT | Microsoft Community Support Specialist

    Thank you very much for your help. In regards to the PC not going to sleep, I ran a power report and the following was reported, do you know what this means?

    System Availability Requests:System Required Request

    The service has made a request to prevent the system from automatically entering sleep.

    Requesting Service Schedule

    USB Suspend:USB Device not Entering Selective Suspend This device did not enter the USB Selective Suspend state. Processor power management may be prevented when this USB device is not in the Selective Suspend state. Note that this issue will not prevent the system from sleeping.

    0 comments No comments