62348: Acronis True Image: pre/post commands

Last update: 04-02-2019


Acronis True Image allows you to specify commands or even batch files/scripts that will be executed before and after the backup procedure. See product documentation for more info 

You can use any script type that is supported by the operating system or installed manually, e.g. cmd, bat, ps1, vbs and others.

How to use

In the Command field:

  • type a Windows shell command,


  • browse to the .bat, .com or .ps1 file


  • if your script runs on Windows Script Host or CScript, for example, a VBS script, then type cscript or wscript.

The program does not support interactive commands, i.e. commands that require user input.

For advanced users:

You can also specify an explicit path to your script interpreter, for example, if you need specifically 32 or 64-bit version of it:

Batch scripts (.bat) and Windows shell commands:

64-bit: "C:\Windows\System32\cmd.exe"

32-bit: "C:\Windows\SysWOW64\cmd.exe"

PowerShell (.ps1):

64-bit: "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"

32-bit: "C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"

CScript (.vbs, .vba, etc.)

64-bit: "C:\Windows\System32\cscript.exe"

32-bit: "C:\Windows\SysWOW64\cscript.exe"

In the Working directory field, specify a path to a directory where the command/batch file will be executed. This is a directory context of the command. This is not the folder with the batch file. This is equivalent to issuing command "cd FOLDERNAME" before running the actual script.

In the Arguments field specify the command’s execution arguments. For running VBS scripts, indicate the path to the .vbs file.

Remember to test the command before saving changes: 

When saving changes to the backup task, you will be prompted to enter credentials of your Windows account. This is a security measure to prevent unauthorized impersonation of your Windows account.