Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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.

Example:

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.