Results 1 to 7 of 7

Thread: windows 2000 server auto restart

  1. #1
    ANDY Guest

    windows 2000 server auto restart

    I want to know how can I schedule auto reboot of windows 2000 server from
    shceduled task. Is there any command or script? I did research and I found
    shutdown.exe /r but that does not work and it requires user intervention. I
    want to schedule and do this reboot automatically.

  2. #2
    Dave Patrick Guest

    Re: windows 2000 server auto restart

    What happens when you try? Also try;

    shutdown.exe /r /f

  3. #3
    Meinolf Weber Guest

    Re: windows 2000 server auto restart

    You can run this as a startup script, creates a scheduled task and copies
    the shutdown.exe to a workstation:

    ;Create the scheduled task on remote workstation's
    if not exist c:\winnt\tasks\at1.job at 05:00 /every:m,t,w,th,f,s,su shutdown.exe
    /r /t 120 /c "This computer will shutdown and restart automatically, please
    close your open applications. Your Administrator." /f

    :Copy the shutdown.exe to remote workstation
    if not exist c:\WINNT\system32\shutdown.exe copy "\\domainname\netlogon\shutdown.exe"
    "c:\WINNT\system32\shutdown.exe"

    Or use just from the run line:

    at 05:00 /every:m,t,w,th,f,s,su shutdown.exe /r /t 120 /c "This computer
    will shutdown and restart automatically, please close your open applications.
    Your Administrator." /f

    Then you should find a scheduled task that runs daily at 5 AM with a timer
    of 120 seconds and prompts an info.

  4. #4
    Join Date
    Jun 2009
    Posts
    2

    Re: windows 2000 server auto restart

    Hi Buddy, I'm wondering about the following
    windows 2000 server auto restart

    How exactly can i go about setting the server to restart....

    if you can answer in simple terms for me that would be brillant

    cheers buddy

  5. #5
    Meinolf Weber [MVP-DS] Guest

    Re: windows 2000 server auto restart

    Hello gazzaman22,

    You are replying to a post from 10/2008, which normally nobody will monitor
    anymore.

    If you have only one server that you like to schedule to reboot use that
    line in a command prompt:

    at 05:00 /every:m,t,w,th,f,s,su shutdown.exe /r /t 120 /c "Your text if needed"
    /f

    This requires that c:\WINNT\system32\shutdown.exe exist. A scheduled task
    will be run on 05:00 (at time) in the morning every day, a text window pops
    up for 120 seconds (/t 120 /c "comment")

    Best regards

    Meinolf Weber
    Disclaimer: This posting is provided "AS IS" with no warranties, and confers
    no rights.
    ** Please do NOT email, only reply to Newsgroups
    ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


    > Meinolf Weber;4014507 Wrote:
    >
    >> Hello Andy,
    >>
    >> You can run this as a startup script, creates a scheduled task and
    >> copies
    >> the shutdown.exe to a workstation:
    >> ;Create the scheduled task on remote workstation's
    >> if not exist c:\winnt\tasks\at1.job at 05:00 /every:m,t,w,th,f,s,su
    >> shutdown.exe
    >> /r /t 120 /c "This computer will shutdown and restart automatically,
    >> please
    >> close your open applications. Your Administrator." /f
    >> :Copy the shutdown.exe to remote workstation
    >> if not exist c:\WINNT\system32\shutdown.exe copy
    >> "\\domainname\netlogon\shutdown.exe"
    >> "c:\WINNT\system32\shutdown.exe"
    >> Or use just from the run line:
    >>
    >> at 05:00 /every:m,t,w,th,f,s,su shutdown.exe /r /t 120 /c "This
    >> computer
    >> will shutdown and restart automatically, please close your open
    >> applications.
    >> Your Administrator." /f
    >> Then you should find a scheduled task that runs daily at 5 AM with a
    >> timer
    >> of 120 seconds and prompts an info.
    >> Best regards
    >>
    >> Meinolf Weber
    >> Disclaimer: This posting is provided "AS IS" with no warranties, and
    >> confers
    >> no rights.
    >> ** Please do NOT email, only reply to Newsgroups
    >> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
    >> Hi Buddy, I'm wondering about the following
    >> windows 2000 server auto restart
    >> How exactly can i go about setting the server to restart....
    >>
    >> if you can answer in simple terms for me that would be brillant
    >>
    >> cheers buddy
    >>

    > http://forums.techarena.in
    >




  6. #6
    Join Date
    Jun 2009
    Posts
    2

    Re: windows 2000 server auto restart

    [QUOTE='Meinolf Weber [MVP-DS];4485410']Hello gazzaman22,

    You are replying to a post from 10/2008, which normally nobody will monitor
    anymore.

    If you have only one server that you like to schedule to reboot use that
    line in a command prompt:

    at 05:00 /every:m,t,w,th,f,s,su shutdown.exe /r /t 120 /c "Your text if needed"
    /f

    This requires that c:\WINNT\system32\shutdown.exe exist. A scheduled task
    will be run on 05:00 (at time) in the morning every day, a text window pops
    up for 120 seconds (/t 120 /c "comment")

    Best regards

    Meinolf Weber
    Disclaimer: This posting is provided "AS IS" with no warranties, and confers
    no rights.
    ** Please do NOT email, only reply to Newsgroups
    ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm

    Hi thanks for your answer.....can you tell me in your experience is it a good idea to reboot server every day?(i.m having a problem with some services which need to be restarted every morn)

    Also how would i go about disabling such a command?
    Also can i preform this command remotely?

    About the command to restart server.....do i just type it into "run"

  7. #7
    Meinolf Weber [MVP-DS] Guest

    Re: windows 2000 server auto restart

    Hello gazzaman22,

    Shutdown.exe also works remote. Check the command line for all options, "shutdown
    /?". Normally a server runs long without rebooting there it is made for.
    If you have to reboot it daily, fix the problem and do not reboot as a layz
    solution.

    Best regards

    Meinolf Weber
    Disclaimer: This posting is provided "AS IS" with no warranties, and confers
    no rights.
    ** Please do NOT email, only reply to Newsgroups
    ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


    > 'Meinolf Weber [MVP-DS Wrote:
    >
    >> ;4485410']Hello gazzaman22,
    >>
    >> You are replying to a post from 10/2008, which normally nobody will
    >> monitor
    >> anymore.
    >> If you have only one server that you like to schedule to reboot use
    >> that
    >> line in a command prompt:
    >> at 05:00 /every:m,t,w,th,f,s,su shutdown.exe /r /t 120 /c "Your text
    >> if
    >> needed"
    >> /f
    >> This requires that c:\WINNT\system32\shutdown.exe exist. A scheduled
    >> task
    >> will be run on 05:00 (at time) in the morning every day, a text
    >> window
    >> pops
    >> up for 120 seconds (/t 120 /c "comment")
    >> Best regards
    >>
    >> Meinolf Weber
    >> Disclaimer: This posting is provided "AS IS" with no warranties, and
    >> confers
    >> no rights.
    >> ** Please do NOT email, only reply to Newsgroups
    >> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
    >> Hi thanks for your answer.....can you tell me in your experience is
    >> it a good idea to reboot server every day?(i.m having a problem with
    >> some services which need to be restarted every morn)
    >>
    >> Also how would i go about disabling such a command? Also can i
    >> preform this command remotely?
    >>
    >> About the command to restart server.....do i just type it into "run"
    >>

    > http://forums.techarena.in
    >




Similar Threads

  1. Replies: 1
    Last Post: 22-05-2011, 01:34 AM
  2. Need an Auto restart feature in Windows 7
    By Ekaparana in forum Operating Systems
    Replies: 4
    Last Post: 12-08-2010, 11:14 PM
  3. Will SQL Server 2000 run on Windows Server 2008
    By Acalapati in forum Operating Systems
    Replies: 5
    Last Post: 06-04-2010, 01:29 AM
  4. How to disable auto restart of Windows server 2003
    By Edwards in forum Operating Systems
    Replies: 2
    Last Post: 26-05-2009, 09:48 PM
  5. Disable Auto Restart in Windows Update
    By Gallard in forum Operating Systems
    Replies: 2
    Last Post: 16-01-2009, 04:40 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,568,909.12684 seconds with 17 queries