How to restart the computer with a batch file
Restarting the computer
START C:\Windows\RUNDLL.EXE user.exe,exitwindowsexec
exit
NOTE: When typing the above two lines, spacing is important. It is also very important that the exit line be placed into the batch file as many times Windows may be unable to restart the computer because of the open MS-DOS window.