Command line installation
  • 19 Sep 2022
  • 2 Minutes to read
  • Contributors
  • Dark
    Light

Command line installation

  • Dark
    Light

Command Line

There are three primary and mutually exclusive modes of operation: install, uninstall and plugin-installDAtAnchorSetup_v4.0.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.
  • -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.
  • -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
  • -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 
  • -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.
  • -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-os-check
    • Proceed with the installation even if the host operating system is not Windows 10 or Windows 11.
    • This parameter allows installation on unsupported (pre-Windows 10) Windows systems; e.g. Windows 8.
  • --skip-vcredist-check
    • This parameter may only be specified along with the --install parameter.
  • --disable-ignore-extensions
    • When specified, sets Windows Registry element REGNAME_IGNORE_EXT_DISABLED.
    • This parameter allows the anchor agent to exclude hex, DLL and other configuration files from encryption.
    • Effective with Agent release 4.0.0. 
  • --disable-update-header
    • This parameter is to turn off the update Header feature of Anchor.
    • Please use this parameter if you are using OneDrive/SharePoint.
  • --enable-key-local-db
    • This parameter is to enable Git support.


Perform regular install of Agent with reboot prompt:

Note: Setup logs will be stored in: C:\Users\Public\DAtAnchorSetupLogs

DAtAnchorSetup_v4.0.0.exe --install --org-id <org-id>

Perform silent-install of Agent:

Note: Setup logs will be stored in: C:\Users\Public\DAtAnchorSetupLogs

DAtAnchorSetup_v4.0.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_v4.0.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_v4.0.0.exe --install --org-id <org-id> --silent --setup-logs "C:\\Users\\Public\\Anchor Setup Logs" --disable-NWShares



Was this article helpful?

First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.