Is it possible, using only the command prompt, to restart a computer without shutdown.exe?

link|improve this question

Does PowerShell count as part of the command prompt? – Ryan Apr 14 '11 at 14:33
It's windows server 2003, so it doesn't have PowerShell. – Bubby4j Apr 14 '11 at 14:35
Did you run a System File Checker on the server? – Moab Apr 14 '11 at 14:50
feedback

3 Answers

up vote 4 down vote accepted

The following works on most Windows Server 2000 and Windows XP machines, but give it a try:

C:\WINDOWS\SYSTEM32\TSSHUTDN.EXE 0 /DELAY:0 /POWERDOWN  

Using the TSShutDn Utility

If you don’t want to use a third-party utility, you may be able to get by with a lesser known utility in Windows 2000 and Windows XP. The native commandline tool tsshutdn.exe was originally designed for shutting down servers, not work stations. It was introduced in Windows 2000, and retained in Windows XP. See MSKB 320188, “How to Use the TSSHUTDN Command to Shut Down a Terminal Server in Windows 2000 Terminal Services,” and MSKB 243202, “Windows 2000 Terminal Services Session Management Tools.” From a command prompt, type tsshutdn /? for a list of its subcommands and syntax. A command line of C:\WINDOWS\SYSTEM32\TSSHUTDN.EXE 0 /DELAY:0 /POWERDOWN will powerdown most Windows 2000 and Windows XP computers, though some (according to correspondent “perris,” who first turned me onto this native utility) will get an error message 1702.

link|improve this answer
feedback

If you add PsShutdown.exe to a directory in your path, on your personal computer, you can shutdown the server remotely.

You should actually be able to do the same with Shutdown.exe from your computer.

link|improve this answer
@Bubby4j: As I said, it works remotely, but you did not mention that you were not on the same network. You need to edit your question to reflect what you mean to be asking. How are you connecting to the remote server, for the benefit of the non-clairvoyant? – paradroid Apr 14 '11 at 15:52
feedback

You can do it with computer auto shut down from tomatosoft

http://www.tomatosoft.biz/blog/2011/09/05/auto-shut-down-your-computer-at-a-specified-time/

link|improve this answer
Could you explain more about this tool? How does it solve the problem? – Simon Sheehan Nov 9 '11 at 20:18
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.