Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a windows server 2003 (x64) and I want to restarting it from the command line but when I execute shutdown -r it doesn't work . What am I going to do ?

share|improve this question

migrated from stackoverflow.com Jun 20 '10 at 6:14

This question came from our site for professional and enthusiast programmers.

3 Answers 3

I have a 2k3 server that takes forever to begin a shutdown unless I manually stop a few thing like exchange first.

Related : http://www.msexchange.org/articles/Automating-Quicker-Exchange-2000-2003-DC-reboot.html

share|improve this answer

You need to specify a length of time in seconds for the shutdown to take effect.

shutdown /r /t 0

That will reboot the computer immediately.

share|improve this answer
That's not right. You don't need to specify a time interval. –  joeqwerty Jun 21 '10 at 3:15
Shutdown -r -f

Should force the shutdown to happen but you might want to find out what process is blocking the basic shutdown command first. If you use shutdown -i to bring up the interactive GUI what does that tell you when you initiate the shutdown?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.