Tech Support > Operating Systems > Windows 2000 > Command Line Script to Reboot Computer
Command Line Script to Reboot Computer
Posted by Karl Burrows on December 19th, 2003


Is there a something I can run from a command line to reboot a computer? We
are a small non-profit that has a Win2000 computer we are using as a file
server and run a backup to a tape drive. The backup crashes too often and I
think it is because all the resources are used to run the backup. A reboot
should help.

Thanks!!

--
Remove 'spam' from email address to contact me directly


Posted by 3c273 on December 19th, 2003


Go to www.sysinternals.com and get "PSShutdown", it is in the PSTools
section. Copy it to your System32 folder and type "psshutdown /?" at a
command prompt. HTH.
Louis

"Karl Burrows" <kfb1@spambellsouth.net> wrote in message
news:ZzJEb.6081$vn2.954@bignews1.bellsouth.net...


Posted by JR K Yoshikawa on December 19th, 2003


shutdown.exe from resource kit.

http://support.microsoft.com/default...b;EN-US;317371

"Karl Burrows" <kfb1@spambellsouth.net> wrote in message news:ZzJEb.6081$vn2.954@bignews1.bellsouth.net...

Posted by Karl Burrows on December 19th, 2003


Do I need the Resource Kit or will the command line work? Where can I get
the resource kit if needed?

"JR K Yoshikawa" <yoshikawa@ameritech.net> wrote in message
news:eHLk0qnxDHA.2084@TK2MSFTNGP09.phx.gbl...
shutdown.exe from resource kit.

http://support.microsoft.com/default...b;EN-US;317371

"Karl Burrows" <kfb1@spambellsouth.net> wrote in message
news:ZzJEb.6081$vn2.954@bignews1.bellsouth.net...


Posted by Torgeir Bakken (MVP) on December 19th, 2003


Karl Burrows wrote:

Hi

You would need to buy the resource kit to get hold of shutdown.exe.

Take a look at PsShutdown.exe in the free PsTools suite instead (it is a better
utility as well):

http://www.sysinternals.com/ntw2k/fr.../pstools.shtml


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter



Posted by JR K Yoshikawa on December 19th, 2003


http://www.microsoft.com/windows2000...it/default.asp
this url has link to online stores who sale resource kit

or here is free shutdown.exe (for windows XP, but meybe work on windows 2000 too)
http://www.budja.com/shutdown/

but personally recommend to get resource kit, it is useful.


"Karl Burrows" <kfb1@spambellsouth.net> wrote in message news:kvLEb.53$uh1.1@bignews6.bellsouth.net...

Posted by Karl Burrows on December 20th, 2003


It turns out I have a copy of the book with the CD. Didn't even think to
look until after you mentioned it.

Thanks!!

"JR K Yoshikawa" <yoshikawa@ameritech.net> wrote in message
news:O8Kqi7oxDHA.1932@TK2MSFTNGP09.phx.gbl...
http://www.microsoft.com/windows2000...it/default.asp
this url has link to online stores who sale resource kit

or here is free shutdown.exe (for windows XP, but meybe work on windows 2000
too)
http://www.budja.com/shutdown/

but personally recommend to get resource kit, it is useful.


"Karl Burrows" <kfb1@spambellsouth.net> wrote in message
news:kvLEb.53$uh1.1@bignews6.bellsouth.net...