Command Line
AllSync can be launched via the command line with various parameters, allowing integration into other programs or process workflows.Syntax
AllSync.exe -Command -Option "Profile" "Profile Folder" ...Make sure to use the correct capitalization for commands and options.
Commands
- -k "Profile"
Starts a copy operation with the specified profiles. - -r "Profile"
Creates a copy preview of the specified profiles. - -ra "Profile"
Creates a copy preview of the specified profiles and then automatically processes it. - -h "Profile"
Starts a copy operation with the specified profiles in the background without displaying the user interface. Only a window with the progress indicator is displayed. After the copy operation, the program exits automatically. - -Q[1-6] "{Folder 1}" "{Folder 2}"
Passes two folders to QuickSync and automatically creates a copy preview. The -Q command must be specified with an additional number from 1 to 6 for a copy mode: - -S
Starts the AllSync Scheduler. - -ST
Starts the AllSync Service Tool. - -l:"{Licensee}","{License Key}"
Allows license data to be entered via the command line. - -LIC
Displays the license entry window. - -ServiceUninstall
Uninstalls the Scheduler service. - -InstallService
Installs the Scheduler service.
Tip: Use the Shortcut Assistant to conveniently assemble most commands and options with a mouse click.
Options
- -s
Displays a confirmation window before the copy operation for the commands -h, -X, and -XE. - -e
Displays a confirmation window after the copy operation for the commands -h, -X, and -XE. - -np
Deactivate profile chaining. - -a
Automatically activates the Scheduler (-S) at startup. - -m
Starts the application minimized. - -X[0-7]
Specifies which action should be performed after the copy operation for the commands -k, -ra, and -h:- Shut down computer
- Shut down Windows
- Restart Windows
- Log off user
- Standby
- Hibernate
- Exit AllSync
- Lock computer
- -XE[0-7]
Has the same function as -X, but only performs the selected action if no error occurred during the copy operation. - -Xf
Forces the following actions for the options -X and -XE and terminates all programs that block the action:- Shut down computer
- Shut down Windows
- Restart Windows
- Log off user
- -rh
Safely removes all used USB devices after a copy operation. - -ServiceLogon[0-1]
Specifies the login account for the InstallService command.- Local system account
- User account
- -ServiceStart[0-2]
Specifies the startup type for the InstallService command.- Automatic
- Manual
- Disabled
- -ServiceUser="{User}"
Defines the name of the user account for the ServiceLogon1 option. - -ServicePW="{Password}"
Defines the password of the user account for the ServiceLogon1 option.
Profiles
The following rules must be observed when specifying profiles:- The profile must be located in the profile folder of AllSync.
- The profile name must be enclosed in quotation marks.
- The file extension of the profile file (.a4p) does not need to be specified.
- The path of the AllSync profile folder does not need to be specified.
Examples for using a profile named Backup:
- "Backup.a4p"
- "Backup"
- "USB\Backup"
- "C:\AllSync\Profile\USB\Backup.a4p"
Profile Folder
The following rules must be observed when specifying profile folders:- The folder must be located in the profile folder of AllSync.
- The name of the profile folder must be enclosed in quotation marks.
- The path of the AllSync profile folder does not need to be specified.
- The profile folder must be specified either with a backslash (\) or a backslash with asterisk (\*):
- A backslash uses all profiles in the profile folder.
- A backslash with asterisk uses all profiles including those in subfolders.
Examples for using a profile folder named Backup:
- "Backup"
- "USB\Backup"
- "USB\Backup\*"
- "C:\AllSync\Profile\USB\Backup\"
Examples
- AllSync.exe -S
Starts the AllSync Scheduler. - AllSync.exe -S -a
Starts and activates the AllSync Scheduler. - AllSync.exe -k "HD-Backup" "USB-Backup"
Starts a copy operation with the profiles HD-Backup and USB-Backup. - AllSync.exe -k "C:\AllSync\Profile\Backup\*"
Starts a copy operation with all profiles in the folder Backup and its subfolders. - AllSync.exe -r "HD-Backup" "\USB\Backup (USB)"
Creates a copy preview with the profiles HD-Backup and Backup (USB). - AllSync.exe -r "USB"
Creates a copy preview with all profiles from the folder USB. - AllSync.exe -h "Backup"
Starts a copy operation with the profile Backup without the AllSync user interface. - AllSync.exe -h -s "HD-Backup" "USB-Backup"
Starts a copy operation with the profiles HD-Backup and USB-Backup and displays a confirmation window beforehand. - AllSync.exe -h -s -e "Backup"
Starts a copy operation with the profile Backup and displays a confirmation window before and after. - AllSync.exe -Q4 "C:\Data" "D:\Data"
Starts AllSync with QuickSync and creates a copy preview using the copy mode 'Synchronize' between the two specified folders. - AllSync.exe -l:"{Licensee}","{License Key}"
Activates the full version of AllSync with the specified license data. - AllSync.exe -InstallService
Installs the Scheduler as a service using the local system account and the startup type Automatic. - AllSync.exe -InstallService -ServiceLogon1 -ServiceStart0 -ServiceUser="{User Account}" -ServicePW="{Password}"
Installs the Scheduler as a service using a user account and the startup type Automatic.





