Problems with Startup after Script runs to Shutdown Windows 7 PC

Posted by Toby Allen on Super User See other posts from Super User or by Toby Allen
Published on 2012-11-09T20:40:42Z Indexed on 2012/11/14 17:07 UTC
Read the original article Hit count: 202

Filed under:
|
|

I have a simple .bat script to shutdown a kiosk style machine in our work

shutdown -h -f

this hibernates the machine and I have it running each evening as a scheduled job. However my problem comes when I turn the machine on again. The first time I press power it starts up and then immediately hibernates again, like it runs the script a second time.

the second time I press power it stays up.

Any suggestions on how I can avoid this?

© Super User or respective owner

Related posts about windows-7

Related posts about shell-script