shutdown For immediate restart from the command line use shutdown /r /t 0 /f /r – restart /t 0 – zero delay before shutdown (default is 30s) /f – force running applications to close Windows