Deploying Block 64 Discovery Agent via Datto RMM
This article explains how to silently deploy the Block 64 Discovery Agent .msi
application using Datto RMM.
✅ Prerequisites
Make sure you have:
-
The
.msi
installer file (e.g.,Block64DiscoveryAgent-x86-2.8.1.msi
) -
The Enrollment Token provided by Block 64
-
Access to create/edit components in Datto RMM
Step 1: Create a Component in Datto RMM
-
Log in to Datto RMM
-
Go to Components
-
Click Create Component
-
Fill out basic info:
-
Name: Install Block64 Discovery Agent
-
Category: Software Deployment
-
OS: Windows
-
Step 2: Upload the Installer
-
In the Files section, click Upload File
-
Select your
.msi
file -
Once uploaded, Datto will place the file in this location on target devices:
C:\ProgramData\CentraStage\temp\
Step 3: Add the Installation Script
In the Script section, paste the following PowerShell code:
# Look for a Block64DiscoveryAgent .msi file in the temp folder
$installerPath = Get-ChildItem "$env:ProgramData\CentraStage\temp" -Filter "Block64DiscoveryAgent*.msi" | Select-Object -First 1 | ForEach-Object { $_.FullName }
$enrollmentToken = "YOUR_ENROLLMENT_TOKEN_HERE"
if ($installerPath) {
Start-Process -FilePath "msiexec.exe" -ArgumentList @(
"/i", "`"$installerPath`"",
"/qn",
"ENROLLMENT_TOKEN=$enrollmentToken"
) -Wait
} else {
Write-Host "❌ Block 64 Discovery Agent installer not found in temp folder."
}
🔒 Replace
YOUR_ENROLLMENT_TOKEN_HERE
with your actual token.⚠️ Each enrollment token is unique to your environment. Contact your Block 64 Engagement Lead or Partner to obtain the correct token.
This will perform a silent install with no user interaction required.
Step 4: Save and Test the Component
-
Click Save
-
Deploy the component to a test device or group
-
Confirm successful installation:
-
The Block 64 Discovery Agent appears in Control Panel > Programs and Features
-
The device appears in the Block 64 inventory dashboard
-
✅ Done!
You now have a reusable Datto RMM component that silently installs the Block64 agent across your endpoints with a fixed enrollment token.