Re: Script for restarting windows box automatically?

From: Stuart Mackie [MCP, MSP] (newsgroups_at_--REMOVE_THIS-NO_SPAM--stu.uk.com)
Date: 09/07/04


Date: Tue, 7 Sep 2004 16:37:07 +0100

Hi Dave. If your using batch files you could use the shutdown command at
the command line. Use shutdown /? to get a full listing of options, but
shutdown -r will shutdown and restart the system. If you have an
application which is failing, you may have to use shutdown -r -f to force
the shutdown. You will need to have the appropriate user permissions to be
able to do this.

Wouldn't it be easier to resolve the problem with the software rather than
reset the system every 48 hours ? :)

-- 
Hth,
Stuart Mackie [MCP, MSP]
www.stu.uk.com
"java dave" <dtg_@hotmail.com> wrote in message 
news:bac0653f.0409070731.723e5529@posting.google.com...
>I have a windows 2000 machine that is used for scanning emails that
> pretty much crashes every 48 hours.  Is there some way through a
> script that I can have the machine restart itself automatically at a
> certain time?  I've done a little VBscripting and basic batch file
> commands, not sure if this is even a possibility.
>
> thanks for the input. 


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: Shutdown remote server
    ... it will tell you how to remotely shutdown another NT based ... >> How can I do a clean shut down of a remote server with VBScript? ... > PsShutdown.exe in the free PsTools suite (command line) ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.scripting.vbscript)
  • Re: After reboot, cant use admin Terminal Server on SBS 2003
    ... I like is to schedule a reboot an hour out, using the "shutdown" command. ... restart will restore your access. ...
    (microsoft.public.windows.server.sbs)
  • Re: how to shut down headless Mac
    ... You need to connect to the G4 using SSH. ... Then shutdown -h now to halt, ... And it may not be as convenient as simply issuing a command from another ... the headless computer before you'll be able to connect to it from ...
    (comp.sys.mac.system)