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?