computer help index
 
 
Search:
"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,240 tips!

Windows XP Misc

Automatically Shut Down the Machine at a Given Time

SUMMARY: Force a Windows XP machine running large tasks, such as downloading software, to later shut down at a specific time.
 
Do you keep your Windows XP computer on at night running background tasks but need to shut it down at a particular time? This does not require any specialized software, as Windows XP comes built-in with a scheduler tool and shutdown application

Note that you must be logged on as an administrator account. Only administrators can start the shutdown process.

1. Click "Start".

2. Select "Control Panel".

3. Enter "Scheduled Tasks".

4. Select "Add Scheduled Task".

5. The "Scheduled Task Wizard" will appear. Click "Next".

6. Click the "Browse" button

7. When the "Select Program to Schedule" dialog box appears, enter "%SYSTEMROOT%\System32\shutdown.exe" (without the quotes) and press "Open".

8. Name the task "Shutdown" or whatever you'd like.

9. Choose when to perform the task:

* Daily
* Weekly
* Monthly
* One time only
* When my computer starts
* When I Log on

10. The next screen may ask for more information about when to schedule the task, such as the time, start date for the task, what days to schedule the task, etc.

11. When prompted, enter the username and password (if applicable) of the administrator of the machine. Then click "Next".

12. Check "Open advanced properties for this task when I click Finish" then press "Finish".

13. Next to "Run", add a space, a hyphen, and an "s", so the command looks like the following (NOTE that your Windows directory may vary!). Then click "OK" to re-save the task.

C:\WINDOWS\System32\shutdown.exe -s

14. NOTE: If you get the error message "0x8007005: Access is Denied", visit the following Microsoft Knowledge Base Article - http://support.microsoft.com/default.aspx?
scid=kb;en-us;884573
.

If this STILL doesn't solve your problem, especially if you are:

* Using XP Home instead of XP Pro
* Running with an administrator account with no password

Access the scheduled task properties page. (Right-click on the task from the Scheduled Tasks Control Panel). Click the "Task" tab and check "Run only if logged on" and press "OK". Now, you must be logged on your system for the task to run, but if you are the only user of the current machine, this should always be the case.


 
Add: Del.icio.us | Digg | Furl | My Yahoo!
 
Discuss This Tip

Print This Tip

Get E-Mail When New Tips are Online

Return to the Windows XP Misc page.

RSS Feeds - Subscribe!
 

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Subscribe'.
 



( sample / details ) ( opt-out instructions )
 


 Free Offer! - Subscribe to the MalekTips computer help list and be one of the first to get new computer tips, articles, and download links! ( privacy policy )  ( opt-out instructions )
This page and its contents are copyright
©1997 - 2008 Envision Programming. ( copyright/disclaimer )

Home | Free Computer Help Newsletter! | Windows | Web Development | DOS and Batch Files | Removing Spyware
Digital Camera and Photography | Computer and Internet | Software | Microsoft Word
Computer Articles | About | Contribute a Tip | Link To Us! | Computer and Technology Links
RSS Feeds |  Contact Us | Advertising | Privacy Policy | Computer Help Forums