Browse Docs
Atera RMM Deployment
The Atera RMM solution allows you to create custom scripts for software installation. In this guide, you’ll find instructions for creating a script to install the DefensX Agent on Windows systems.
Steps to Create the Script for Windows
Log in to Atera RMM and navigate to Admin → Monitoring and Automation → Scripts
, then click the Create Script button:
In the "New Script" window, fill in the following required fields:
-
Script Name: Enter
DefensX Agent
-
File Type: Select
.ps1
-
Script Description: Enter
DefensX Agent Installer
In the Script Editor, download the DefensX_Generic_v1.2.ps1
script from the right panel, then copy and paste its contents into the editor window.
Customizing the Script:
Atera RMM supports environment variables, which you can insert into the script during execution. Modify the $DX_Key = ""
line to $DX_Key = "{[defensx_key]}"
and click on the Create button to create the script.
Using the Script to Install DefensX Agent:
When running the script, Atera RMM will prompt you to enter the defensx_key
.
You can find the Deployment Key by navigating to the Policies page for the specific customer in the DefensX Backend. Copy and paste the key when prompted.
Note
|
Atera RMM has built-in support for software uninstallation. Since the DefensX Agent is installed via a standard MSI package, you can manage the uninstallation through Atera’s standard process. If you prefer to create an uninstallation script, refer to the relevant KB article here |