Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A computer in the office is running daily backups (as scheduled task) with the Windows XP built in backup software. The backups are slowing down the computer too much, so we want the backup to run after office hours, but then we want the computer to automatically shut down after the backup is complete.

How do I make the computer to automatically shutdown after a completed scheduled backup?

share|improve this question
Do you have to use MS Backup or can you use a program that has this feature? I would just set your computer to automatically restart at a certain time which is some point after the backup is finished. – Ramhound Aug 8 '13 at 11:37
The downvote should go to the company that doesn't want any other backup software than the MS standard XP builtin solution - you can't blame me for that decision that unfortunately is out of my hands. – LapplandsCohan Aug 8 '13 at 11:44
I didn't issue the downvote. – Ramhound Aug 8 '13 at 11:53
Sorry. I just assumed that you did since the downvote and your comment was placed within seconds from each other. My apoligies. – LapplandsCohan Aug 8 '13 at 12:14

An immediate shutdown can be started using:

%windir%\system32\shutdown.exe -s -f -t 00

To run this command after completion of the backup, you could use a command script which starts the backup command first and then executes the shutdown.


ntbackup backup \\iggy-multi\d$ /j "Command Line Backup 4" /f "D:\backup.bkf"
%windir%\system32\shutdown.exe -s -f -t 00
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .