I had a bat file with shutdown -a for when I accidentally shut down pc bit it gave me this error when I had the chance to use it (i.e. after shutdown had been triggered):

But it works fine when it isn't needed. (i.e. exits with Unable to abort the system shutdown because no shutdown was in progress.(1116)) I'm running Windows 7x64
shutdown -s -t 3000shutdown -a– Khaleel Nov 5 '12 at 6:42shutdown -a. I made it following an advice that in case I accidentally started the sequence to shit down but still have enough time to run ashutdown -acommand. But I guess it's not for that purpose. – laggingreflex Nov 5 '12 at 10:47