Windows 10: How to get out of hibernation if batch file repeating hibernation cmd?

Discus and support How to get out of hibernation if batch file repeating hibernation cmd? in Windows 10 Support to solve the problem; Hello, I got myself into a bit of trouble here. *Huh I was writing a script to automatically abort shutdowns from Windows Updates. I was intending to... Discussion in 'Windows 10 Support' started by Vlad1mir, Mar 12, 2019.

  1. Vlad1mir Win User

    How to get out of hibernation if batch file repeating hibernation cmd?


    Hello,

    I got myself into a bit of trouble here. *Huh I was writing a script to automatically abort shutdowns from Windows Updates. I was intending to use shutdown -a ("a" for abort) and set it to repeat every 15 minutes, but I wasn't paying attention. *Sleepy I accidentally put shutdown -h ("h" for hibernation) instead. To make matters worse, I set it to repeat every 15 milliseconds instead of every 15 minutes, so now it keeps going back into hibernation instantaneously as soon as I come out of it. *Banghead

    I tried cutting the power completely including unplugging the cord to hopefully end the Windows session, but when Windows boots up it is still hibernating and the batch file starts executing automatically before I can see the desktop to do anything.

    I tried booting from the Windows 10 DVD and clicking Startup Repair, but it said it failed to repair the startup. Not sure if it has to do with the fact the computer is in hibernation mode. What else can I do with the Windows 10 DVD? I feel like the solution may be on there somewhere. There is a command prompt as one of the options, but I'm not sure what I would need to type or if that can even connect to the Windows session on the C drive. Any way to boot into safe mode from this DVD?

    I need to somehow close out that Windows session to stop the script but do not know how. It's like I gave myself a computer virus. *Doh

    I thankfully do have a second computer to work with (the one I am posting this from).

    Thanks for any help.

    :)
     
    Vlad1mir, Mar 12, 2019
    #1

  2. Missing hibernate button

    Hi Yusak,

    We would like to isolate this issue that you're having right now. Will you be able to provide the exact error message that you recieved?

    We suggest that you try to enable hibernation on your device using the Command Prompt.

    To make hibernation available, follow these steps:

    • Click Start, and then type cmd in the Start Search box.
    • In the search results list, right-click Command Prompt, and then click Run as Administrator.
    • When you are prompted by User Account Control, click Continue.
    • At the command prompt, type powercfg.exe /hibernate on, and then press Enter.
    • Type exit, and then press Enter to close the Command Prompt window.

    We will wait for your response.

    Regards.
     
    Leviozar Gam, Mar 12, 2019
    #2
  3. John Vil Win User
    hibernating/password

    Hello Rich,

    One possible reason why your system keeps hibernating or goes to sleep is because of the power plan settings of your computer. To assist you with your concern regarding your PC hibernating, we recommend that you reconfigure the power plan settings by following
    the steps below:

    • Type Display on Cortana's search field and press
      Enter.
    • Select Power & sleep.
    • Under the Sleep option, click the drop down menu to set the number of minutes/hours you would like your PC to sleep/hibernate. We suggest that you select
      Never if you do not want you system to hibernate.
    • Close all windows for the changes to take effect.

    Let us know if you will need further assistance.
     
    John Vil, Mar 12, 2019
    #3
  4. How to get out of hibernation if batch file repeating hibernation cmd?

    windows 10 hibernation issue...

    Hi Bruce.

    Welcome to Microsoft community.

    Try the following steps:

    • Open the Task manager. Here’s a tip: Press CTRL+Shift+ESC.
    • Click File > Run New Task
    • Make sure you have a check mark beside “Create this task with administrative privileges”
    • Type CMD

    Type the following command at the CMD prompt:

    powercfg.exe /hibernate off

    Hope this helps.
     
    Waseemulla S, Mar 12, 2019
    #4
Thema:

How to get out of hibernation if batch file repeating hibernation cmd?

Loading...
  1. How to get out of hibernation if batch file repeating hibernation cmd? - Similar Threads - hibernation batch file

  2. How to reset laptop's hibernation file?

    in Windows 10 Gaming
    How to reset laptop's hibernation file?: Hi Team,I am having an issue with hibernation with my HP ZBook G9 Laptop, for example I close my laptop lid and open it a few hours later, I have to manually wake up the laptop by pressing the power button. The same issue as...
  3. How to reset laptop's hibernation file?

    in Windows 10 Software and Apps
    How to reset laptop's hibernation file?: Hi Team,I am having an issue with hibernation with my HP ZBook G9 Laptop, for example I close my laptop lid and open it a few hours later, I have to manually wake up the laptop by pressing the power button. The same issue as...
  4. How to get windows 11 out of hibernation on ASUS.

    in Windows 10 Gaming
    How to get windows 11 out of hibernation on ASUS.: Went to open Excel double clicking on task bar then went into hibernation now can't restart laptop. ASUS. https://answers.microsoft.com/en-us/windows/forum/all/how-to-get-windows-11-out-of-hibernation-on-asus/df540bd9-a0d4-45fc-8943-f9f1b83a7921
  5. How to get windows 11 out of hibernation on ASUS.

    in Windows 10 Software and Apps
    How to get windows 11 out of hibernation on ASUS.: Went to open Excel double clicking on task bar then went into hibernation now can't restart laptop. ASUS. https://answers.microsoft.com/en-us/windows/forum/all/how-to-get-windows-11-out-of-hibernation-on-asus/df540bd9-a0d4-45fc-8943-f9f1b83a7921
  6. Getting out of Hibernation Mode using Desktop

    in Windows 10 Gaming
    Getting out of Hibernation Mode using Desktop: HelloNormally I use 'Sleep Mode' but have recently turned to using Hibernation Mode because of the Logi Options+ software installed on my Desktop which takes a long time to reactivate when coming out from 'Sleep Mode'. This Logi Options+ software tends to launch in the...
  7. Getting out of Hibernation Mode using Desktop

    in Windows 10 Software and Apps
    Getting out of Hibernation Mode using Desktop: HelloNormally I use 'Sleep Mode' but have recently turned to using Hibernation Mode because of the Logi Options+ software installed on my Desktop which takes a long time to reactivate when coming out from 'Sleep Mode'. This Logi Options+ software tends to launch in the...
  8. Getting out of Hibernation Mode using Desktop

    in Windows 10 Customization
    Getting out of Hibernation Mode using Desktop: HelloNormally I use 'Sleep Mode' but have recently turned to using Hibernation Mode because of the Logi Options+ software installed on my Desktop which takes a long time to reactivate when coming out from 'Sleep Mode'. This Logi Options+ software tends to launch in the...
  9. Auto-hibernate out of control

    in Windows 10 Customization
    Auto-hibernate out of control: Hi everyone, my laptop is running on the latest 20H2. If it goes in standby, after some time it will go automatically to hibernation. I want the hibernation feature enabled but I DON'T want my PC to automatically hibernate, since it is set to NEVER in advanced power options....
  10. Help - How to get out of hibernation if a batch file is repeating a hibernation command?

    in Windows 10 Performance & Maintenance
    Help - How to get out of hibernation if a batch file is repeating a hibernation command?: I need some help. I was writing a script to automatically abort shutdowns from Windows Updates. I was intending to use shutdown -a ("a" for abort) and set it to repeat every 15 minutes, but I wasn't paying attention. I accidentally put shutdown -h ("h" for hibernation)...