Brian Dunning's Error Code Reference

Windows Error 1271

ERROR_MACHINE_LOCKED: The machine is locked and cannot be shut down without the force option.

 

Comments

Phil   Phil
Oct 26, 2007
I added the /f switch and it worked a treat. i.e. shutdown /m hostname /t 60 /f

This must have been a result of having a couple of terminal server sessions running.