Re: Scheduling a Reboot

From: Frank McCallister SBS MVP (anonymous)
Date: 12/21/04


Date: Tue, 21 Dec 2004 14:26:34 -0600

When you shut your server down from Start Shutdown if it asks you for reason
then reason is required. Try it and see from Run command type shutdown /r
and see what happens. Then add the reason codes and see.

-- 
Frank McCallister SBS MVP
COMPUMAC
"Brandon S." <bsmith@presentationsdirect.nospam.com> wrote in message 
news:ONXVRc55EHA.2876@TK2MSFTNGP12.phx.gbl...
> Thanks, but reason code isn't required.  You can enter that next time you 
> log into the server.
>
> -- 
> Brandon
> IT Director
> Presentations Direct - Office Equipment & Supplies
> http://www.presentationsdirect.com
>
>
> "Frank McCallister SBS MVP" <anonymous> wrote in message 
> news:%236NObX55EHA.824@TK2MSFTNGP11.phx.gbl...
>> Hi Brandon
>>
>> According to your post "shutdown /r" without quotes is not correct. read 
>> the entire syntax on /? and you will see that you have left out the 
>> reason code for the shutdown ;-)
>>
>> -- 
>> Frank McCallister SBS MVP
>> COMPUMAC
>> "Brandon S." <bsmith@presentationsdirect.nospam.com> wrote in message 
>> news:%23$bEXI55EHA.4008@TK2MSFTNGP15.phx.gbl...
>>> I've read that and I am using the right syntax!  That's why I'm writing 
>>> into the newsgroup to figure out why it's just looping with no results 
>>> when the batch file is called by the scheduled task.
>>>
>>> -- 
>>> Brandon
>>> IT Director
>>> Presentations Direct - Office Equipment & Supplies
>>> http://www.presentationsdirect.com
>>>
>>> "Olaf Rohleder" <news.nospam.group@olafrohleder.de> wrote in message 
>>> news:%23e5Oqi45EHA.3596@TK2MSFTNGP12.phx.gbl...
>>>> Hi Brandon!
>>>>
>>>> Brandon S. wrote:
>>>>> What command would I use in a shutdown.bat file that would shutdown
>>>>> and restart the SBS server?  I've currently setup a scheduled task to
>>>>> call the shutdown.bat file with the code "shutdown /r" (no quotes),
>>>>> but it's not working.  It just repeats that code over and over and
>>>>> over in the command prompt, but with no results.
>>>>
>>>> Open Command Prompt
>>>> Type "shutdown /?"
>>>> READ!
>>>>
>>>> Then you should be able to make a Batch file with the correct Syntax.
>>>>
>>>> CU and Merry Christmas
>>>> Olaf
>>>>
>>>>
>>>
>>>
>>
>>
>
> 


Relevant Pages

  • Re: shutdown.exe
    ... That is because servers require a reason to be shutdown. ... this is a command we use on our ups to shutdown some servers remotely. ...
    (microsoft.public.windows.server.general)
  • Re: Anyway to tell if server was powered down instead of graceful shutdown?
    ... Also if it's Windows 2003 even if the Server was shutdown on command you are ... prompted for a reason - which gets written to the system event log. ...
    (microsoft.public.exchange.admin)
  • Re: Which API should I call to abort logoff/shutdown?
    ... I think the reason why is ... because when someone clicks Start> Shutdown or Start> Logoff, ... actions are not being executed from the command line. ... shutdown from the command line that wasn't initiated from the command ...
    (microsoft.public.windows.server.general)
  • Accesing structures data (getting lengthy!)
    ... > assignment statement just won't stand out amongst all the other ... > meaningless dummy variables that you have to keep track of. ... > comparitively easy to pick out of a long, boring, command line history, ... > original, for some reason, wraps me up in knots. ...
    (comp.soft-sys.matlab)
  • Re: My Weekly Drash - Vayera
    ... you're asking what reason there might be for a ... >> literally speaking in one voice) and concluding that the law had never ... I have problem with that understanding, ... Because when the command _to him_ is to do ...
    (soc.culture.jewish.moderated)

Loading