New
#1
How to get out of hibernation if batch file repeating hibernation cmd?
Hello,
I got myself into a bit of trouble here. 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) 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.
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.
I thankfully do have a second computer to work with (the one I am posting this from).
Thanks for any help.