1. Macrium Reflect LTSC
  2. Defaults and Settings

Script Defaults

This section of the 'Defaults and Settings' is used to specify the default values when creating a PowerShell or VBScript script in Macrium Reflect. This means that the specified options can be further refined and changed when creating the script files themselves. Read more about creating script files here.


- Shutdown

- Run Once a Day

- Run Programs

- Elevation

- Duplicate


Shutdown

This sets whether the system should shut down or log off automatically at the end of the script.


Run Once a Day

The script will only ever run once per day, whether it is triggered manually or on a schedule. This can be especially useful when the script is triggered on an action like logging in but only needs to be executed once per day.


Run Programs

This option can be used to run programs and scripts automatically at the start and end of the script. This has a wide range of applications, including automatically synching backups to a secondary location, mapping and unmapping network shares, and even ejecting USB drives once a backup has been completed.

Option Description
File name

This is the full path and file name of the executable file that will run at the start or end of the script. For example:

C:\Users\Admin\Documents\USBEject.bat

Parameters These are optional additional command line parameters that can be specified when running the executable. 

Elevation

When running the script, it will prompt for elevation. All called programs will then be run with elevated privileges. This option is not necessary if the script is going to be scheduled to run, as the Task Scheduler will elevate the script automatically.

The return code will always be zero. 


Duplicate

When enabled, this option will use RoboCopy to automatically synchronize the backups from the destination to the specified directory once the script has completed. This ensures that there are multiple copies of backups for redundancy:

You can read more about synchronizing backups here.