"shutdown /s /t 30" which will allow 30 seconds for applications to close. "shutdown /r /t 30" "shutdown /s /f" which will force process. "shutdown /r /f"