SmartRecovery provides you with a set of command-line switches to take snapshots, restore the system, change the program settings and more with batch files or network scripts. The following table defines the SmartRecovery command line switches:
Parameter
Description
How to use it
Supported versions
Description
Restore the system
How to use it
–restore=baseline/latest
Supported versions
Pro, Edu, Lte (only restore to baseline)
Description
Take a snapshot
How to use it
Take a snapshot on Pro: –snapshot=”snapshot name” Take a snapshot on Edu: –snapshot
Supported versions
Pro, Edu
Description
Update the baseline
How to use it
–baseline=update
Supported versions
Pro, Edu
Description
Set Auto Restore/Manual Restore
How to use it
Manual Restore: –schedule=disable Auto Restore: –schedule=restart
Supported versions
Pro, Edu, Lte
Parameter
–cpass –changepass
Description
Set SmartRecovery admin password
How to use it
–cpass=”password” –changepass=”password”
Supported versions
Pro, Edu, Lte
Description
Register (activate) SmartRecovery
How to use it
Must include the “–orgname” and the “–serial” parameters
Supported versions
Pro, Edu, Lte
Parameter
–orgname –serial
Description
“Organization name” and the “Serial code” of the license
How to use it
–register –orgname=”Organization name” –serial=”Serial code”
Supported versions
Pro, Edu, Lte
Description
Uninstall SmartRecovery
How to use it
Restore to the baseline and uninstall: –uninstall=baseline Restore to the latest snapshot and uninstall (only on Pro and Edu): –uninstall=latest Keep the current state of the system and uninstall: –uninstall=current
Supported versions
Pro, Edu, Lte
Description
Set/Get the minimum preset percentage of the alert for the free space of total protection
How to use it
Set to 8%: –warning=8
Supported versions
Pro, Edu
Description
Username (Edu and Lte only “admin”)
How to use it
–username=”admin”
Supported versions
Pro, Edu, Lte
Parameter
–password -p
–norestart
How to use it
–password=”password”
–p=”password”
Supported versions
Pro, Edu, Lte
Examples
*Restore to the latest snapshot (username: admin; password: 1234):
srcmd.exe –restore=latest –u=admin -p=1234
*Take snapshot (Pro version):
srcmd.exe –snapshot=”snapshot name” –u=admin -p=1234
*Take snapshot (Edu version):
srcmd.exe –snapshot –u=admin -p=1234
*Take snapshot (Edu version) on the next system boot:
srcmd.exe –snapshot –norestart –u=admin -p=1234
*Change admin password:
srcmd.exe –cpass=12345678 –u=admin -p=1234
*Set the schedule to “Restore at every restart”:
srcmd.exe –schedule=restart –u=admin -p=1234
*Register(activate) SmartRecovery:
srcmd.exe –register –orgname=”org name” –serial=”XXXXXXXXXXXXXXXXXXXXXXXXX”
*Uninstall and keep the current system state:
srcmd.exe –uninstall=current –u=admin -p=1234