Schedule Windows to Automatically Restart

How to schedule a Windows 98/2000/XP/2003 Computer to reboot.
This tutorial will show you how to schedule your PC to reboot at a given time and date, using the utility provided. This tutorial will work with Windows Server 2003, Windows XP, Windows 2000, and Windows 98. For this tutorial I will be using windows XP.
First Schedule Windows to Automatically Restart Download. Save it to disk and extract shutdown.exe to your C:\ drive.
Now open the Control Panel by clicking Start > Control Panel

In the Control Panel double click the Schedules Tasks (May be labeled Task Scheduler in other versions of windows) icon .

The Scheduled Tasks window should open up. Select Add Scheduled Task

This scheduled task wizard should open. Click next on the first screen.

Click browse and locate the shutdown.exe program. Select shutdown.exe and click open.

Select how often you would like to perform the task. I want my computer restart Weekly on Sunday morning, so I selected weekly. Make your select and click the next button.

Now select the time and the days of the week and click next. I selected 2am on every Monday.

On the next screen you will have to enter your password for windows. You must have a login password for these batch jobs to run. If you do not have a password you will need to add one in user settings. Enter your password information and click next.

On the final screen, put a checkmark the box that says “Open advanced properties for this task when I click Finish” and then click finish

Now we will see the advanced properties window.

Now we have to add a few arguments to the command in the run line. Add the –r –f –t 01 arguments to the line that exists in the run field. My line reads: “C:\SHUTDOWN.EXE –r –f –t 01”.

Then click apply and the task will be scheduled. You can check later in the task scheduler to see if the task ran successfully.

Other Related Tutorials
Make money from your website with Ads4dough. The only Team Tutorials approved Affiliate Network!

























on July 25th, 2007 at 11:24 am
Please explain the shutdown command parameters that you have used
on July 31st, 2007 at 6:32 am
-r Shutdown and restart the computer
-f Forces running applications to close without warning
-t xx Set timeout for shutdown to xx seconds
on September 25th, 2007 at 8:19 am
Will this work for Vista? If not, how can you do this in Vista?
on October 17th, 2007 at 12:54 am
Will I need to make username/password in Windows 98 also?
on January 7th, 2008 at 8:19 am
Thanks, works like a charm
on March 26th, 2008 at 4:12 am
Thankyou very much…this is very clear
on March 29th, 2008 at 11:28 am
Awesome program… now I have two additional exe files that I need to automatically run once the system reboots…..any idea how I can get them to run WITHOUT using the Start Up folder?
Problem is that when I place in start up folder and log into server 2003 using RDP, everytime I log off and back on the processes duplicate or terminate…… I need the exe files to stay running until reboot. Any idea how to automate them on boot only?
Thanks in advance…
Todd
on March 31st, 2008 at 8:17 am
Hi Todd.
Make new string value and just add value(path of exe) in registry in local_machine/software/microsoft/windows/currentversion/run
it will run when start ur computer
on April 4th, 2008 at 12:52 am
My problem here is how do you get past the log in window after the comp booting windows after reboot? As you said the current user need a password on his account for this to work, but then when it try to boot up again you need to type the pass for it to login windows.
Any idea how to make this go automatic?
on April 9th, 2008 at 11:15 pm
Thanks again Parvez. All worked like a charm!
Todd
on August 8th, 2008 at 8:19 am
thank you man!!
it rescued my life
i’m searcinhg the web for a while to restart my computers , there were only “useless” programmes. but your one doesn’t require any software really, it uses Windows’ shutdown.exe
thank you very much!
on August 19th, 2008 at 9:38 pm
I have the same problem. bypassing the log in window after the automatic reboot. does anyone have a clue on how to do this?
on August 22nd, 2008 at 10:31 am
To bypass the logon screen you can download the tweakui power toy from microsoft. Although I seem to be having a problem using this tool so perhaps they conflict. Certainly worth a try however.
on August 22nd, 2008 at 10:49 am
If you don’t have a password set you can turn off the logon screen in windows xp.
on September 16th, 2008 at 8:49 am
This is the command line I am using. what is wrong when i right click on the task and click “run” to test it nothing happens except a Command prompt window briefly opens and shuts down. Computer does not shut down.
C:\windows\system32\shutdown.exe -s -t 60 -c “Shutting down computer. School days ended. To remove with task open the Task Scheduler and delete task Weekly Shutdown” -f
on September 23rd, 2008 at 6:49 am
Vincent, try using slashes ( /s /t) instead. I’m not sure yet if it’ll work, but that’s how it was told to do in shutdown’s help (shutdown.exe /? )
on October 16th, 2008 at 5:09 pm
Will this procedure work if I lock my PC? In other words, will the shutdown/restart work on a locked PC?
on November 9th, 2008 at 5:45 pm
can you schedule a computer to bootup or start from the off position?
on November 9th, 2008 at 7:15 pm
If your computer has “wake on LAN” capabilities it is probably possible to have another computer turn it on at a certain time. I don’t know how to do it off the top of my head.