Tools

Command line switches and parameters to install or uninstall the DRE agent

This article details the available command line options when installing or uninstalling the DRE agent.

First published date

4/9/2019 8:06 PM

Last published date

9/10/2025 2:33 PM

Overview

Here are the available commands that you can use when installing or uninstalling the DRE agent.

Product section

Dameware Remote Everywhere

Resolution

  • BASE Agent Command Line Installation
    Capital letters required and order should be respected.
    • [BAManagement.exe] /S /R 
      [BAManagement.exe] /Instance <InstanceName>
      Where <InstanceName> is the company name to install to
  • BASE Agent Silent Uninstall
    • uninstall.exe /S /R
  • It might require the command line to navigate to the installation location of the DRE agent.
    • Default location: C:\Program Files (x86)\Dameware Remote Everywhere Agent
    • This command will only uninstall the DRE agent service; for deletion of the installation folder, a manual Windows command to delete the agent is needed.
  • For both commands above, /S will force a silent installation (no user interaction) and /R will register the agent automatically after installation completes.
  • /Instance parameter should not be used unless multiple agents are being installed on the same device.
  • /Instance does not support spaces in InstanceName. Use an underscore _ instead.
  • Uninstall the agent silently using the MSI installer
    • msiexec.exe /qn /x "Path to the MSI installer.msi"