Tried writing a batch file to shutdown my 2012 server, but ran into a weird issue. For example on 2008 a batch file like the following runs as expected:
cmd /c shutdown -s -t 0
On server 2012 when I click the batch file it continuously spawns cmd processes until I forcible close it. What gives?