shutdown or reboot Windows 2000

O

Olu Daniels

Is there a way to schedule a reboot of Windows 2000 Server? I tried to used
the "shutdown" from the command prompt but it is saying it is not a known
command. I know this is available in windows 2003 and XP. What I need to do
is schedule shutdown and restart on 30 servers running Windows 2000. Can
anyone help ?

Thanks!
 
R

rwh

Here is a batch script I wrote a while back. Use Task Scheduler to run
it at whatever time of night you want it to execute.
**************************************************************************************

REM # Script name: shutSys.bat
REM #
REM # Purpose: Auto-Shutdown various workstations & Servers
REM #
REM # BEGIN
REM #
REM # USAGE:
REM # create the file clients.txt in the PC which you will run this
script on
REM # in the c:\stop directory. On each line of the text file place the
REM # resolvable
REM # Netbios name of the computer, or IP address.
REM # This script will replace the %1 below with the results of the
text file until
REM # all lines have been read in the text file.
REM ################################################################

REM LAPTOPS

for /f "Tokens=1" %%i in (c:\stops\clients.txt) do call :parse %%i
goto end

:parse

shutdown /T:60 /C /R \\%1

:end

************************************************************************************
You need the shutdown.exe file in your systems "path" somewhere.
 
O

OTD

I cannot find the shutdown.exe file on the servers. Where can I find or
download this files?
Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top