Command Line Options

Command Line Options

There are three primary and mutually exclusive modes of operation: install, uninstall and plugin-install

DAtAnchorSetup_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.
  • --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 11.
  • --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-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.)

    Frequently used commands

    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
    

    Uninstall Agent with user confirmation before uninstall and user confirmation for reboot:

    DAtAnchorSetup_v3.1.0.exe --uninstall
    

    Perform silent uninstall:

    DAtAnchorSetup_v3.1.0.exe --uninstall --silent
    

    Perform silent uninstall with reboot prompt:

    DAtAnchorSetup_v3.1.0.exe --uninstall --reboot-prompt
    


    • Related Articles

    • Command Line

      Note: All commands should be run in a Windows command prompt in administrator mode. Command 1: Base command DAtAnchorSetup_v3.0.0.exe --install --org-id <org-id/domain-name> During Installation: No UI No command prompt After Installation: A message ...
    • Command Line Uninstallation of Desktop Client

      Anchor installer package contains 2 executables. DAtAnchorInstallerApp.exe and DAtAnchorSetup_v3.0.0.exe. Please use DAtAnchorSetup_v3.0.0.exe for command line installations. Command 1: Base Command DAtAnchorSetup_v3.0.0.exe --uninstall User ...
    • Command Line installation of Desktop Client

      Note: All commands should be run on a Windows command prompt in Administrator mode or using admin credentials from a RMM Tool  Please contact Anchor support to get your Organization ID/Name. Anchor installer package contains 2 executables. ...
    • What to do if Anchor installer command prompt is stuck?

      In rare scenarios Anchor installer command prompt can be stuck during installation. If this happens then installation will be stalled. Solution: Click on the command prompt and type something in the command prompt. It will unfreeze the command prompt ...
    • What to do if Anchor uninstaller command prompt is stuck?

      In rare scenarios, the Anchor uninstaller command prompt can be stuck during uninstallation. If this happens then uninstallation will be stalled. Solution: Click on the command prompt and type something in the command prompt. It will unfreeze the ...