Announcement

Collapse
No announcement yet.

Schedule for Server should restart automatically.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Schedule for Server should restart automatically.

    In windows server 2003 R2 I want that at 5 am the server should automatically restart.Please guide me that complte script and how to enable it

    thanks in advance,
    mypass

  • #2
    Re: Schedule for Server should restart automatically.

    create a scheduled task that run a batch file every day at 5 am that contains the shutdown command with parameters.

    http://www.microsoft.com/resources/d....mspx?mfr=true

    bio..

    Comment


    • #3
      Re: Schedule for Server should restart automatically.

      thanks for the reply. It should be very nice if you write a scritp i.e batch file which should shout down at 5 AM daily automatically.

      again thanks in advance for help.

      Comment


      • #4
        Re: Schedule for Server should restart automatically.

        You could script it if you want but optionally you could just schedule to use the Shutdown.exe in the system32 folder.

        On the schedule job advanced properties make sure the /r switch is added like:
        C:\WINDOWS\system32\shutdown.exe /r
        Caesar's cipher - 3

        ZKHQ BRX HYHQWXDOOB GHFLSKHU WKLV BRX ZLOO UHDOLVH LW ZDV D ZDVWH RI WLPH!

        SFX JNRS FC U6 MNGR

        Comment

        Working...
        X