Scheduling a Reboot

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Brandon S. (bsmith_at_presentationsdirect.nospam.com)
Date: 12/21/04


Date: Tue, 21 Dec 2004 11:57:16 -0600

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.

-- 
Brandon
IT Director
Presentations Direct - Office Equipment & Supplies
http://www.presentationsdirect.com


Relevant Pages

  • Re: remote Shutdown Command
    ... The flavour you use is different again from the three flavours I previously ... Where does the command reside? ... Instead of just running shutdown, ... \\Computer Specifies a remote computer to shutdown. ...
    (microsoft.public.win2000.general)
  • RE: packaged received but didnt run
    ... first you need to make sure your package is set to run whether someone is ... Run the shutdown command as an admin so it will have command over everything. ... timeout period.If this switch is used, ...
    (microsoft.public.sms.swdist)
  • Re: Scheduled Shutdown with GP
    ... Using the /l command with shutdown will only log the user out, ... Try configuring the scheduled task at 430 under an admin account. ... either that - or you could configure a batch script to run on a server as a ...
    (microsoft.public.windows.group_policy)
  • Re: Script works well, but not as scheduled tasks ?
    ... Then, the script is very long (if a PC is already shutdown, just one shutdown command can take 5 minutes, and I have 226 PCs). ... Note that if a batch file expects to find another file in the same folder, it needs to know it is in the same folder. ... I have 226 log files of the form of Log.txt too. ...
    (microsoft.public.scripting.vbscript)
  • Re: Logoff on idle with lock already active
    ... scheduled task, but I'm not sure it will work for all user on the ... I could imagine that using the built-in Windows "shutdown" command with the /c switch could work for you as well. ... You can schedule the shutdown using Group Policy Scripts and the AT command: ...
    (microsoft.public.windows.server.active_directory)