command line - force reboot windows xp in all cases - Stack Overflow I'm using this command "shutdown -r -f" to force restart my machine but sometimes this does not work when there are error messages on the screen.