Command Line

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 box asking the user to reboot


Command 2: Base command with --silent parameter
DAtAnchorSetup_v3.0.0.exe --install --org-id <org-id/domain-name> --silent

During Installation:

  • No UI
  • No command prompt

After Installation:

  • No message box asking the user to reboot


Command 3: Base command with --silent --reboot-prompt parameters
DAtAnchorSetup_v3.0.0.exe --install --org-id <org-id/domain-name> --silent --reboot-prompt

During Installation:

  • No UI
  • No command prompt

After Installation:

  • A Message box will appear asking the user to reboot


Commands to enable/disable certain Anchor features:

The following command line parameters can be used in conjunction with the above commands to enable or disable certain Anchor features.

Note: --silent parameter can also be used with any of the commands below

Command 1: Base command with --disable-NWShares parameter

DAtAnchorSetup_v3.0.0.exe --install --org-id <org-id/domain-name> --silent --disable-NWShares

This command will disable Anchor and unAnchor operations on Network Share folders. This command should only be used if you are using Distributed File Systems (DFS) namespaces in Windows Servers.

During Installation:

  • No UI
  • No command prompt

After Installation:

  • No message box asking the user to reboot

Command 3: Base command with --skip-os-check parameter

DAtAnchorSetup_v3.0.0.exe --install --org-id <org-id/domain-name> --silent --skip-os-check

This command skips OS version check. Anchor agent will only work on Windows 10 and 11 currently. So, if you try to install it on Windows Server it will fail. You can skip the check with this command.

During Installation:

  • No UI
  • No command prompt

After Installation:

  • No message box asking the user to reboot

Command overview:

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

DAtAnchorSetup_v3.0.0.exe {--install --org-id <org-id/domain-name> | -- uninstall | --plugin-install } [options...]

Critical points to observe:
  1. The parameters for the three primary modes of operation described above may not be specified together in any combination.
  2. When doing an install, an org-id must be specified.
  3. If the command does not seem to do anything when running in silent mode, the culprit is most likely that the user forgot to specify an org-id.
  4. 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/domain-name>
    • 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\\DAtAnchorTemp
  • --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 or Windows Server. Note: Anchor agent is only supported on Windows 10 and 11 (Beta) today. This is a experimental flag.
  • --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.
  • --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.
  • --skip-vcredist-check
    • This parameter may only be specified along with the --install parameter.
  • --plugin-install
    • Install Microsoft Office plugins only.
  • --skip-plugin
    • This parameter may only be specified along with the --uninstall parameter.
    • The user will reboot at their convenience, at which time they can proceed with Anchor sign-in.
    • Note: For internal use.
  • --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, all 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 registration 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.)



    • Related Articles

    • 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. ...
    • 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 ...
    • 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 ...