Tools

How to silently install a DRE Agent on a macOS device

This article explains how to install a DRE Agent on a macOS device silently.

First published date

4/18/2019 2:07 PM

Last published date

4/2/2020 11:32 PM

Overview

When installing the DRE agent on a Mac machine, it is required to have the pin code. It must be generated from the DRE technician console. This pin code is unique for each installation. Aside from manually installing it, the administration also has the option to install it silently and by batch.

Product section

Dameware Remote Support & Mini Remote Control

Resolution

Generate the pin code for Mac.
 
  1. Login to the Dameware Remote Everywhere console.
  2. Select the My Computers tab.
  3. Press Add Computer.
    • Only the Computer Name field is mandatory.
    • Select Mac OS X 10.10+
    • You can also set a value for number of installations required from 1 to 100
  4. Press Generate Link.
  5. Take note of the PIN Code.

On the remote machine.
  1. Go to the https://startcontrol.com.
  2. Select Mac version and then choose Download Agent, or use this direct Link to download the Agent.
  3. Open the terminal and navigate to the path to where you have downloaded the agent.
  4. Run the command below. BAManagement.app/Contents/MacOS/BAManagement.
# -s is silent installation
# -p PIN code

sudo ./BAManagement.app/Contents/MacOS/BAManagement -s -p 123456

Notes: If you run the command and the installation is not silent and still ask for the pin code, please perform the following steps. 

1. Download the Mac DRE agent from the Admin Area in the Downloads tab.

2. Generate new PIN code from the Dameware Remote Everywhere Console.

3. Execute the script with your PIN code.
 
# -s is silent installation
# -p is PIN code

sudo ./Dameware\ Remote\ Everywhere\ Agent\ Installer.app/Contents/MacOS/Dameware\ Remote\ Everywhere\ Agent\ Installer -s -p 123456