I have a windows server 2003 (x64) and i want to restarting it in CMD but when i execute shutdown -r it doesn't work . what am i going to do ?

link|improve this question
feedback

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

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

3 Answers

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?

link|improve this answer
feedback

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.

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

mash up everyone's answers :)

I use shutdown -f -r -t 0

link|improve this answer
feedback

Your Answer

 
or
required, but never shown