I faced an odd situation in which the shutdown command wasn’t working. So I used TSSHUTDN.EXE to do the job. For immediate restart, this is the command:
TSSHUTDN.EXE 0 /DELAY:0 /reboot
I faced an odd situation in which the shutdown command wasn’t working. So I used TSSHUTDN.EXE to do the job. For immediate restart, this is the command:
TSSHUTDN.EXE 0 /DELAY:0 /reboot