How great wouldn't it be if applications could queue up tasks in the "before shutdown" queue, like Windows Update does with the "install updates and shut down" option? I use a piece of software for backup which fails to back up at night, since my laptop
is turned off when I'm not at work. Instead, it wants to back up data as soon as I turn on the computer in the morning, in effect losing working time.
I would love to have an API to create something like a "Run backup and shut down" option. If applications would use such a thing, I could just choose that option and go home in the end of the day, not losing any time at all!
In order to backup your hard drive on shutdown, you need to download Xecutor. Xecutor is a free download that you can
download from the Xecutor homepage. Once you install Xecutor and run it for the first time, it will ask you if you want to run Xecutor on Startup — choose “Yes.”
Next, select the “Shutdown” tab and then the green plus sign. On the properties screen, navigate to C:AutomaticDailyBackup.bat and click “OK” (don’t worry about changing any other settings). You should see the following:
Now when you shutdown Windows, Xecutor will automatically run the AutomaticDailyBackup script.
It is possible to do this with Windows Task Scheduler.
To use Windows Task Scheduler, you need to be logged on as an Administrator or a member of the Administrators group.
Click >Start >Programs >Accessories >System Tools >Scheduled Tasks. (With some versions of Windows, it will also be available in your Control Panel.)
Double click Add Scheduled Task. This will open the Scheduled Task Wizard.
Click Next, then scroll to Data Backups, highlight it and click Next.
Select the daysyou want to perform this task , then click Next.
Enter the time you want the task performed, then click Next.
Enter the user name and password of an Administrator for that machine, and then click Next.
Add a Check to "Open advanced properties for this task when I click Finish.",
then click Finish.
Type the following line of code into the "RUN" box after the command line: -be1 " –be1"
Example: C:\PROGRA~1\COBackup.exe –be1 (*Where "C:" is your primary Hard Drive) (**If the above command line does not open Remote Data Backups & start a backup operation )
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.