AQUILA EDR Mass Deployment Via Microsoft Intune
Deploying Endpoint Detection & Response (EDR) via Microsoft Intune
Overview
This guide explains how to install an Endpoint Detection & Response (EDR) solution on all devices managed through Microsoft Intune. The process ensures consistent protection across your organization’s endpoints by using Intune’s Endpoint security policies and app deployment features.
Prerequisites
Before beginning, confirm the following:
-
You have Global Administrator or Intune Administrator rights in Microsoft 365.
-
Devices are already enrolled and compliant in Microsoft Intune.
-
You have the installer package ( IntuneWin format) for your chosen EDR solution.
Step 1: Prepare the EDR Installer
-
Obtain the official EDR installation package (MSI) from AQUILA
-
If the installer is not in .intunewin format, convert it using the Microsoft Win32 Content Prep Tool.
Download tool: GitHub - microsoft/Microsoft-Win32-Content-Prep-Tool: A tool to wrap Win32 App and then it can be uploaded to Intune
Steps for preparing an Installer for Intune (.intunewin format)
Download the Packaging Tool
-
-
-
Go to Microsoft’s official download page: Win32 Content Prep Tool (GitHub)
-
Download the ZIP file to your computer.
-
Right-click the ZIP → Extract All…
-
Choose a location (for example:
C:\IntuneWinAppUtil
).
-
-
Prepare Your Installer Files
-
-
-
Create a folder for your installer, for example:
-
C:\2. Source\EDR
-
-
Place your EDR installer inside that folder. Place also here the script files.
- Aquila Agent(Namespace).msi
- Master-Installer.ps1
- Install-ElasticAgent_(Namespace)-Force.ps1
-
Create another empty folder where the packaged file will be saved, for example:
-
C:\3. Output
-
-
-
Run the Packaging Tool
Check the Result
Step 2: Add the EDR App to Intune
Sign in to the Microsoft Intune admin center → https://intune.microsoft.com
- Go to Apps.
- Windows App
- Add
-
Select the app type:
-
Upload the prepared installer package.
-
Find and upload the .intune file on the Output folder from earlier.
-
-
Configure App Information: name, description, publisher.
-
Set Program Install/Uninstall Commands.
-
Install Command:
-
powershell.exe -ExecutionPolicy Bypass -File .\Master-Installer.ps1}
-
- Uninstall command:
- Get the Product Code of Aquila Agent by running this command on PowerShell.
- $msiPath = "C:\Path\To\Aquila Agent.msi" (Paste here the File Path of the Aquila Agent MSI)
$installer = New-Object -ComObject WindowsInstaller.Installer
$database = $installer.OpenDatabase($msiPath, 0)
$view = $database.OpenView("SELECT Value FROM Property WHERE Property='ProductCode'")
$view.Execute()
$record = $view.Fetch()
$record.StringData(1) - For Example, this is now your Uninstall Command:
msiexec /x {49F416F0-D969-4B1F-B501-DC67A39FE035} /quiet /norestart
-
-
Under Requirements, select OS architecture and minimum version.
-
Add Detection Rules to confirm successful installation.
Option A: MSI Product Code (recommended if you know it)
-
Rule type: MSI
-
MSI product code:
{Aquila Agent Product code}
(Please refer to 4. on how to get the Aquila Agent Product Code:)
Option B: File exists
-
Rule type: File
-
Path:
C:\Program Files\Aquila Agent
-
File or folder:
Aquila Agent.exe
-
Detection method: File or folder exists
Option C: Registry key
-
Rule type: Registry
-
Path:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\"{Aquila Product Code}"
-
Value:
DisplayName
→ check exists or equals “Aquila Agent”
-
- Set Dependencies
- Supersedence
- Assignments
-
Required
-
Intune automatically installs the app on targeted devices.
-
Perfect for your Elastic/Aquila Agent deployment.
-
-
Available for enrolled devices
-
Users can see the app in Company Portal and install it manually.
-
Good for optional apps or testing.
-
-
Uninstall
-
Used if you want to remove the app from certain groups.
-
-
- Review + Create
Step 3: Monitor Deployment
-
In the Intune admin center, go to Apps → select your EDR app.
-
Check Device install status to confirm successful installations.
If you need further assistance, kindly contact our technical support at support@cytechint.com for prompt assistance and guidance.
No Comments