-
Print
-
DarkLight
Command Line Installation of Desktop Agent
Command Line
There are three primary and mutually exclusive modes of operation: install, uninstall and plugin-installDAtAnchorSetup_v3.1.0.exe {--install --org-id <org-id> | -- uninstall | --plugin-install } [options...]
Critical points to observe:
- The parameters for the three primary modes of operation described above may not be specified together in any combination.
- When doing an install, an org-id must be specified.
- Should installation be non-responsive, verify the org-id parameter is valid and not empty.
- Make sure that the command with the selected parameter combination is run at least once in non-silent mode, to allow any errors to be discovered. Once satisfied that the selected parameter configuration produces a successful install or uninstall, the silent parameter for unattended operation (say within an RMM environment) may be added.
- NOTE: All parameters are case sensitive, and must be entered as described below. For example,
-SILENT
will not work and will generate an error.
Parameters:
-org-id <org-id>
- This parameter must be specified when the
-install
parameter is used. - This parameter may only be used to accompany the
-install
parameter. - The org-id and domain-name are case sensitive.
- This parameter must be specified when the
-silent
- May be specified for both
-install
and-uninstall
modes. - No user prompt and no progress bar will be displayed, during installation or uninstallation.
- The system will automatically reboot without prompting the user, unless the
-reboot-prompt
option has also been specified.
- May be specified for both
-setup-logs <folder-path>
- Logs created during install or uninstall will be redirected to the folder named
<folder-path>
. - If the specified folder does not exist, it will be created.
- The log file created within the specified folder has the following name format:
DatanchorSetup_<date-timestamp>.log
- The default location of the folder (i.e. if this parameter is not specified) is: C:\Users\Public\DAtAnchorSetupLogs
- Logs created during install or uninstall will be redirected to the folder named
-disable-NWShares
- This parameter may only be used to accompany the
-install
parameter. - This parameter is for use when utilizing Distributed File Systems (DFS) namespaces on Windows servers.
- When this parameter is specified, Anchor and unAnchor operations on Network Share folders will be disabled on Windows 10 and Windows 11.
- This parameter may only be used to accompany the
-reboot-prompt
- This parameter is intended to be used with the
-silent
parameter. - When specified, the user will be prompted before proceeding with system reboot.
- This parameter is intended to be used with the
-plugin-install
- Install Microsoft Office plugins only.
-skip-reboot
- Following installation, do not prompt user for a system reboot.
- The user will reboot at their convenience, at which time they can proceed with Anchor sign-in.
-help
- Display help window.
- If this parameter is specified, any other specified parameters will be ignored.
-skip-unregister
- This parameter may only be specified along with the
-uninstall
parameter. - When specified, an uninstall will be successfully executed even if no internet connectivity is available.
- This parameter bypasses agent unregistration from the Anchor cloud backend, and allows uninstallation to proceed. (The resulting undeleted agent entry in the cloud backend has been determined not to cause any ill side effects.)
- This parameter may only be specified along with the
Perform regular install of Agent with reboot prompt:
Note: Setup logs will be stored in: C:\Users\Public\DAtAnchorSetupLogs
DAtAnchorSetup_v3.1.0.exe --install --org-id <org-id>
Perform silent-install of Agent:
Note: Setup logs will be stored in: C:\Users\Public\DAtAnchorSetupLogs
DAtAnchorSetup_v3.1.0.exe --install --org-id <org-id> --silent
Perform silent-install of Agent and store setup logs in folder: C:\\Users\\Public\\Anchor Setup Logs
DAtAnchorSetup_v3.1.0.exe --install --org-id <org-id> --silent --setup-logs "C:\\\\Users\\\\Public\\\\Anchor Setup Logs"
Perform silent-install of Agent and disable Anchor/unAnchor operations on network share folders:
Note: Setup logs will be stored in: C:\\Users\\Public\\Anchor Setup Logs
DAtAnchorSetup_v3.1.0.exe --install --org-id <org-id> --silent --setup-logs "C:\\Users\\Public\\Anchor Setup Logs" --disable-NWShares