Deploy Datto RMM Agent via Intune | Win32 Packaging
Datto RMM is the remote monitoring and management platform used by many managed service providers. Like NinjaRMM, the agent installer is downloaded from your portal pre-configured with your site token, making deployment straightforward. This guide covers silent deployment via Intune and the service-based detection rule.
Prerequisites
- A Datto RMM account with admin access
- The target site configured in your Datto RMM portal
Download your site installer
Log in to your Datto RMM portal and work through to:
Setup → Devices → Deploy Agent → select your site → Download Windows Installer
Download the Windows installer for your target site. It will be pre-configured with your site token. The filename is typically DattoRMM-Setup.exe or a site-specific name.
Wrap with the Content Prep Tool
IntuneWinAppUtil.exe -c "C:\AppSource\DattoRMM" -s "DattoRMM-Setup.exe" -o "C:\IntunePackages"
Add the app in Intune
- Upload the .intunewin file
- Name: Datto RMM Agent
- Publisher: Datto, Inc.
Install and uninstall commands
Detection rule
# Detect Datto RMM Agent (CagService)
$svc = Get-Service -Name "CagService" -ErrorAction SilentlyContinue
if ($svc) { Write-Output "Detected"; exit 0 } else { exit 1 }Frequently Asked Questions
Download the agent installer from your Datto RMM portal under Setup > Devices > Deploy Agent. The MSI or EXE is pre-configured with your site token. Deploy it silently with /S or /quiet.
Yes. Like NinjaRMM, the Datto RMM installer you download from the portal is pre-baked with your site ID and token. The agent self-registers to your account without needing additional switches.
Use a PowerShell detection script checking for the CagService Windows service, or a file detection rule checking for CagService.exe in C:\Program Files (x86)\CentraStage.
Yes. Datto RMM and Intune serve complementary purposes. Intune handles device policy and app deployment from Microsoft, while Datto RMM provides remote management, patching, and monitoring features through the MSP toolset.