Skip to main content

TI Home 2009 Not backing up on shutdown

Thread needs solution

Works in XP Pro 32bit but not Win7 Pro 64bit. Win7 shows a message that the scheduler(2), I believe, is trying to run and I can click on Force Shutdown or Cancel. Both which simply shut the computer down. But the scheduled backup does not get done.

Is this a build issue or version issue?

0 Users found this helpful

What build of TI 2009 are you using?

How are you configuring the backup task? Some details may help with someone being able to provide you an answer.

Setting up a TI task to run on Shutdown is not an option in Vista or Windows 7. You would need to setup the task in Task Scheduler or use the shutdown command in the TI task's post-command option.

Build 9709.

Under Task Management: doing a My Computer of drive C:. Backs up to directory on drive E:. Upon event at shutdown and Once a day only. Incremental and new full backup every 5 and remove old archives. Send email on error. Auto consolidate if number of backups exceeds 3, storage period exceeds 7 days. Same details as on my XP system.

I see there is a Pre/Post Command option. Use commands set by default is selected and apparently this option is the issue? I can change it to use custom commands and you have options for before and after backup but no idea what to do here.

bump

I should be clear and state that in TI 2009 that I have it set to run at Shutdown. But TI will not run and Win7 wants you to force open apps to "close" or to "cancel". Cancel seems to do the same thing as close however.

What are the steps to get this to work correctly in Win7 Pro 64bit.

Hello all,

Thank you for posting your question, I will be happy to help. Please accept our apologies for the delay with the response.
The Winlogon service of Windows Vista or Windows 7 is much different from the one of previous Windows operating systems. The scheduled tasks associated with Windows Vista or Windows 7 have been disabled in GUI for the latest versions of Acronis software (but not for Acronis True Image Home 2009).

You can use the Pre/Post commands option of Acronis True Image to work around the problem:

- Run the Schedule Task wizard;

- At the Set Backup Options step choose Set the options manually;

- Click Pre/Post commands;

- Choose the Use commands option;

- Hit the Edit button next to the After the backup process field;

- Put in the Post command as specified below:

Command: shutdown 

Working directory: C:\Windows\System32\ 

Arguments: -s

    This command will automatically shut down the computer after the completion of backup process.

    Please let us know the results, we should be sure that the program runs flawlessly. If the provided information is not clear or if you have any other question do not hesitate to post them and we will be glad to answer.
    Thank you.

    A couple of questions on this:

    What about the two options at the bottom of the Pre/Post Commands? Need clarity. There are two that are checked by default. Should they be left checked (enabled) or not?

    1) Do not preform operations until the command's execution is complete.
    2) Abort the operation if the user command fails.

    Also, where do I set the option under Scheduling to run the backup at Shutdown now? There is still no option for Shutdown under "Upon Event" for shutdown or what option should be chosen? It it to be Scheduling > Do Not Schedule > Run Task Manually? Just being clear.

    Since shutdown is being run as a post-command (after the backup), it shouldn't matter if #1 is checked or unchecked.

    #2 could be unchecked if you want. The computer will either shutdown properly or not. In either case, you want your backup.

    The task would be scheduled normally or run manually. After the task finishes, shutdown will turn off the computer.

    If you set a specific time for the task to run (on a schedule), make sure it's when you want the computer to turn off. Otherwise, you can start the task manually and it will turn off the computer when finished.

    The "Upon Event" option is not used when setting up a task this way.

    What if I only want it to run the backup once at shutdown? Not again if I turn on the PC again that same day. Is there a command along with the -s?

    When the TI task is setup this way, it just shuts down the computer after the backup has run. The backup doesn't run when you shutdown the computer normally. In other words, the computer doesn't run the backup when the computer shuts down, the backup shuts down the computer after it's finished.

    For example, if you schedule the task to run at 11pm and the backup takes 10 minutes, the computer will shutdown at 11:10pm.

    Any normal startup/shutdown operations won't cause a backup to occur.

    Does that help clear up your question?

    If you want to run the task in addition to a scheduled time and want to be able to abort the shutdown, you can add a time delay option: shutdown /s /t 300

    This would delay the shutdown for five minutes (300 seconds). You would then run shutdown /a at the Command Prompt to abort the shutdown.

    All the options for the shutdown command can be see if you run shutdown /? in a Command Prompt.

    Mudcrab: thanks for you help and great info!

    So the thing would be to do would be to schedule a backup along with the pre-commands. I do admit I like the idea, much better, of having it backup at the Windows shutdown command. So clearly it's not possible to use the pre-commands with the scheduled backup at shutdown? I'm just trying to think outside the box. It's very handy to get the backups done this way. My concern is it has to be setup to run manually with the pre-commands so you cannot choose to schedule. I'd have to do this all manually.

    So in order to have the delay I'd need to run the shutdown /s /t 300 the command prompt or add it to the pre-commands? If so then I assume I just add the /s /t 300 to the last command?

    The command would be added to the post-command. If you shutdown in a pre-command, the computer will turn off before the backup starts.

    You could setup a batch file to launch the backup task. Then you could just run it when you're ready to shutdown the computer.

    To abort, you would need to run the abort command from a Command Prompt or you could probably setup a batch file.

    Okay...so I'm clear in post #5 that is all correct. Using the pre-commands. You're saying if I want an abort option then add the info you provided to the post-commands. Let me know if I'm wrong here.

    So pre would be:

    Command: shutdown
    Working directory: C:\Windows\System32\
    Arguments: -s

    Then post would be:

    Command: shutdown
    Working directory:
    Arguments: /s /t 300

    Does TIH 2010 have a step to setup a batch file or are you recommending doing one from scratch. Been to long since I've done batch files.

    There wouldn't be anything in the pre-command. It should look like this (click for larger image):

    The abort batch file (or CMD file) could be created with Notepad and would be like the attached sample (AbortShutdown.txt).

    Just give it a .BAT or .CMD extension instead of .TXT. The batch file or shortcut to run the TI task would need to be created manually.

    There are several threads/posts on this already. I'll try and get some links. Of course, you can always start TI and run the task manually.

    Attachment Size
    22738-87889.png 31.06 KB
    22738-87892.txt 13 bytes

    Okay...

    It sounds like the steps in post #5 would work fine. But the only way to run the backup just before I want to shut down is to open Acronis TIH 2010 and then run it. When it's done it will shut down the PC with the commands provided in post #5.

    Is there a script that I can use to kick off the back that I can create a short cut to instead of always opening up TIH to run the backup? Plus, I'll run it again but it hasn't been shutting the PC off.

    Test that the shutdown /s command works by running it in a Command Prompt. You can also test shutdown /s /t 300 and shutdown /a.

    If that works, use the Test command button in the TI Task to make sure it's configured correctly.

    See this thread for instructions on setting up a shortcut for the task.

    MudCrab wrote:
    Test that the shutdown /s command works by running it in a Command Prompt. You can also test shutdown /s /t 300 and shutdown /a.

    If that works, use the Test command button in the TI Task to make sure it's configured correctly.

    See this thread for instructions on setting up a shortcut for the task.

    A question on that thread:

    My question. So it should look like:

    "C:\Program Files (x86)\Common Files\Acronis\TrueImageHome\TrueImageHomeNotify.exe /script:D6E45DED-FCC5-4F32-854C-D105A8FDF01A /uuid:D6E45DED-FCC5-4F32-854C-D105A8FDF01A"

    Tried with and without space before the /uuid. However when I try to save it I get an error that says the name in the target box is not valid.

    I posted on this yesterday and I saw the post. I don't know what happened to it.

    ---

    You have the quote marks in the wrong place. The command should look like this:

    "C:\Program Files (x86)\Common Files\Acronis\TrueImageHome\TrueImageHomeNotify.exe" /script:"D6E45DED-FCC5-4F32-854C-D105A8FDF01A" /uuid:"D6E45DED-FCC5-4F32-854C-D105A8FDF01A"