Schedule+your+server+to+Auto+Reboot

= Scheduling your server to Automatically Reboot = **How to schedule your server to automatically reboot itself at a pre-determined time** Windows Server 2003 comes with the built-in ability to schedule your server to reboot at any time of your choosing. It is quite simple to set up. Navigate to **Start** -> **All Programs** -> **Accessories** -> **System Tools** -> **Scheduled Tasks**.  Click on the icon which says **Add Scheduled Task**.  You should now see the Add Scheduled Task Wizard. Click **Next**.  Disregard the list of programs, and click the Browse button.  By default, the browse button will bring you to the root of the C: drive. Navigate to **WINDOWS** -> **system32** and locate the file named ‘**shutdown.exe**’. Highlight it, and click Open.  Enter your desired name for this task. For the purposes of this article, we will name this task ‘**Auto-Reboot**’. Next, choose how often you would like your server to reboot, whether it is daily, weekly, or monthly. For example, let’s select monthly. Once selected, click Next.  Here, you can select the time and date of the month you would like the server to automatically reboot. For example, we will select 1:00 AM for the time. As you can see, you have many configurable options available for which day of the month you prefer. For example, we will choose the Last Thursday of the month. Once your desired options have been set, click **Next**. <span style="background-color: #ffffff; color: #616161; font-family: Arial,Helvetica,sans-serif; font-size: 12px;"> <span style="background-color: #ffffff; color: #616161; font-family: Arial,Helvetica,sans-serif; font-size: 12px;">Type in the password for the user you would like this task to run under. If you are setting this task to run under your ‘ServerAdmin’ login, enter the ‘ServerAdmin’ password. Once entered, click Next. <span style="background-color: #ffffff; color: #616161; font-family: Arial,Helvetica,sans-serif; font-size: 12px;"> <span style="background-color: #ffffff; color: #616161; font-family: Arial,Helvetica,sans-serif; font-size: 12px;">On the next screen, place a check-mark in the option for 'Open advanced properties for this task when I click Finish'. Once the check-mark is entered, click **Finish**. <span style="background-color: #ffffff; color: #616161; font-family: Arial,Helvetica,sans-serif; font-size: 12px;"> <span style="background-color: #ffffff; color: #616161; font-family: Arial,Helvetica,sans-serif; font-size: 12px;">Now, we need to enter a specific command to make the server reboot rather than simply shutdown. Add the following line in the Run field after ‘shutdown.exe’, without the parentheses: <span style="background-color: #ffffff; color: #616161; font-family: Arial,Helvetica,sans-serif; font-size: 12px;"> (-r -t 00) <span style="background-color: #ffffff; color: #616161; font-family: Arial,Helvetica,sans-serif; font-size: 12px;">The Run field should now look like this: <span style="background-color: #ffffff; color: #616161; font-family: Arial,Helvetica,sans-serif; font-size: 12px;"> <span style="background-color: #ffffff; color: #616161; font-family: Arial,Helvetica,sans-serif; font-size: 12px;">You will need to enter your ‘ServerAdmin’ password to confirm the changes. Once entered, click OK. <span style="background-color: #ffffff; color: #616161; font-family: Arial,Helvetica,sans-serif; font-size: 12px;"> <span style="background-color: #ffffff; color: #616161; font-family: Arial,Helvetica,sans-serif; font-size: 12px;">You have now set Windows to automatically reboot as the time you have specified.