Re: Still looking for a reboot file

  • From: "Dan Crain" <DanC@xxxxxxxxxxxx>
  • To: "[ExchangeList]" <exchangelist@xxxxxxxxxxxxx>
  • Date: Tue, 17 Jun 2003 14:43:28 -0400

Scheduling a restart:
Scheduled Tasks|Add Scheduled Task|Next|Browse for shutdown.exe (In XP
it's in Windows\System32 folder)|Give it a name and schedule date|Next:
Administrator password for the machine|Next: Open Advanced Properties.
Here is a list of Shutdown Parameters:
/l    Shutdown the local computer (lowercase L)
/r    Restart the computer after shutting down
/t:## Time you can set to wait before shutting down
/y    Force a yes response to all prompts on the remote computer
/c    Close all applications currently running on the remote computer
"message"  Define a message that will be displayed on the remote
computer.
 
Example of how it should look in the Run text box:
 
"c:\windows\system32\shutdown.exe" \\machinename <file://\\machinename>
/r /t30 "The server is about to restart" /y /c
 
This line will shutdown a remote server after 30 seconds and then
restart it.
 
Hope this helps.
 
Dan
 
Daniel A. Crain
Systems Administrator
Dean, Ringers, Morgan & Lawton, P.A.
201 E. Pine Street, Suite 1200
Orlando, FL 32801
(407)422-4310
DanC@xxxxxxxxxxxx
 

        -----Original Message-----
        From: Rob Freeman [mailto:sysadmin@xxxxxxxxxxxx] 
        Sent: Tuesday, June 17, 2003 2:16 PM
        To: [ExchangeList]
        Subject: [exchangelist] Re: Still looking for a reboot file
        
        
        http://www.MSExchange.org/
        
        I am pretty sure you can only do this with 2 batch files.  
         
        Batch1 - run in scheduler
        run files
        delete file
        reboot machine
         
        Batch2 - either run at computer startup - or schedule at a later
time then batch1 after the reboot
        delete the other files
         
        Rob Freeman
        Fleetone

                ----- Original Message ----- 
                From: Van Singel, Scott
<mailto:svansingel@xxxxxxxxxxxxxxxxx>  
                To: [ExchangeList] <mailto:exchangelist@xxxxxxxxxxxxx>  
                Sent: Tuesday, June 17, 2003 1:06 PM
                Subject: [exchangelist] Still looking for a reboot file

                http://www.MSExchange.org/
                
                I am still looking to make a script to run some files,
then delete some files, reboot the machine, then finish the script by
deleting some files. 
                

                Does anyone have some ideas. 
                 
                Scott Van Singel 
                ------------------------------------------------------
                List Archives:
http://www.webelists.com/cgi/lyris.pl?enter=exchangelist
                Exchange Newsletters:
http://www.msexchange.org/pages/newsletter.asp
                Exchange FAQ:
http://www.msexchange.org/pages/larticle.asp?type=FAQ
                ------------------------------------------------------
                Other Internet Software Marketing Sites:
                Leading Network Software Directory:
http://www.serverfiles.com
                No.1 ISA Server Resource Site: http://www.isaserver.org
                Windows Security Resource Site:
http://www.windowsecurity.com/
                Network Security Library: http://www.secinf.net/
                Windows 2000/NT Fax Solutions: http://www.ntfaxfaq.com
                ------------------------------------------------------
                You are currently subscribed to this MSExchange.org
Discussion List as: sysadmin@xxxxxxxxxxxx
                To unsubscribe send a blank email to
$subst('Email.Unsub') 

        ------------------------------------------------------
        List Archives:
http://www.webelists.com/cgi/lyris.pl?enter=exchangelist
        Exchange Newsletters:
http://www.msexchange.org/pages/newsletter.asp
        Exchange FAQ:
http://www.msexchange.org/pages/larticle.asp?type=FAQ
        ------------------------------------------------------
        Other Internet Software Marketing Sites:
        Leading Network Software Directory: http://www.serverfiles.com
        No.1 ISA Server Resource Site: http://www.isaserver.org
        Windows Security Resource Site: http://www.windowsecurity.com/
        Network Security Library: http://www.secinf.net/
        Windows 2000/NT Fax Solutions: http://www.ntfaxfaq.com
        ------------------------------------------------------
        You are currently subscribed to this MSExchange.org Discussion
List as: Danc@xxxxxxxxxxxx
        To unsubscribe send a blank email to
$subst('Email.Unsub') 

Other related posts: