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. Hibernation

    in Windows 10 Performance & Maintenance
    Hibernation: Hi, I have been using a Mac for many years and have just bought a Windows laptop so I'm not very familiar with it yet. However, I seem to be having an issue with hibernation. When I hibernate my computer, it appears to shut down instead. When I choose hibernate from the...
  3. CMD Keeps Repeating Command in Batch File and Avast Scanned A Virus in It

    in AntiVirus, Firewalls and System Security
    CMD Keeps Repeating Command in Batch File and Avast Scanned A Virus in It: My CMD keeps repeating my command again and again and again in my batch file, without running the command. ex: the batch file i wrote was shutdown /s /f /t 001 and the CMD window would appear like this [ATTACH] And Avast suddenly appeared . . . [ATTACH] I tried...
  4. Hibernating

    in Windows 10 Performance & Maintenance
    Hibernating: Please guys I have a Windows 10 laptop with built in battery, tor the past three days I couldn't use my laptop cause it's stuck in "Hibernating" . I've tried to boot up my PC it keeps on showing "Hibernating" which can't stop showing. I've left it in Hibernating for more...
  5. 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)...
  6. Hibernation

    in Windows 10 Performance & Maintenance
    Hibernation: How can I prevent my computer from waking itself up during Hibernation? I'm sick of returning to my computer, having hibernated it hours earlier, only to find that it woke itself up, installed updates (that it never warned me were coming), and shut itself down with all of my...
  7. Hibernation

    in Windows 10 Installation and Upgrade
    Hibernation: Hi ,my laptop has gone into hibernation and I am unable to turn it on https://answers.microsoft.com/en-us/windows/forum/windows_10-update/hibernation/a910cf55-ee74-4953-b20f-bd59d58f4024
  8. Hibernate

    in Windows 10 Customization
    Hibernate: How can i make hibarnate with cmd? Thanks to all. :-) https://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings/hibernate/b1446277-911a-4d39-9763-eb1d120b1b89
  9. "Hibernate" file name and location

    in Windows 10 Support
    "Hibernate" file name and location: What, if any, is the name and location of the file that hibernates Windows, please? I understand that hibernation can be initiated via "shutdown /h" but that's not what I seek. Thanks. 22140
  10. Shutting down coming out of Hibernation???

    in Windows 10 Support
    Shutting down coming out of Hibernation???: Hi All I have a weird problem that started about 3 months ago before that all was well, if I put my Windows 10 laptop into Hibernation when I try to bring it out it shuts down, it does start to try to open but it gets to the point where the black background with the blue...