Skip to content
  • There are no suggestions because the search field is empty.

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

  1. Log in to Datto RMM

  2. Go to Components

  3. Click Create Component

  4. Fill out basic info:

    • Name: Install Block64 Discovery Agent

    • Category: Software Deployment

    • OS: Windows


Step 2: Upload the Installer

  1. In the Files section, click Upload File

  2. Select your .msi file

  3. 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

  1. Click Save

  2. Deploy the component to a test device or group

  3. Confirm successful installation:

    1. The Block 64 Discovery Agent appears in Control Panel > Programs and Features

    2. 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.