Intune Article

Deploying Datto RMM as Win32 app using Microsoft Endpoint Manager

As most of you reading this article will know there are many different ways to deploy apps using Microsoft Endpoint Manager (MEM), this...

Deploying Datto RMM as Win32 app using Microsoft Endpoint Manager

As most of you reading this article will know there are many different ways to deploy apps using Microsoft Endpoint Manager (MEM), this post will detail how to deploy the Datto RMM agent as a Win32 app.

But Datto documentation suggests using PowerShell?!…Well, yes it does, and while PowerShell certainly has it’s place in MEM, if I can package an app and deploy it using the Intune Management Extension I always will. I have found I have always had more success in deploying apps this way, reporting tends to be better and the ability to use supersedence and dependencies is great.

If you prefer to deploy Datto RMM using PowerShell, you can follow the official guide here: Deploying the Datto RMM Agent using Microsoft Endpoint Manager (formerly Intune)

Now, onto the juicy bits - For this guide I’ll take you through every step, but as I post more content I’ll likely skip repetitive sections such as how to wrap an installer using the Win32 Content Prep Tool.

I like to start by creating three folders in the root of my C: or the custom temp folder I normally create.

Migrated image 1

Now you’ll need to download the Win32 content prep tool which you can find here: GitHub - microsoft/Microsoft-Win32-Content-Prep-Tool: A tool to wrap Win32 App and then it can be uploaded to Intune

Extract the contents of the downloaded zip folder and move the IntuneWinAppUtil.exe into the folder you created earlier called ‘Win32 Prep’.

Migrated image 2

Now you are going to download the Datto RMM agent you intend to deploy, keep in mind these are site specific so make sure you are deploying the right one for the right client!

Head into the client site and download the Windows agent, move this into the folder you created called ‘Source’.

Migrated image 3

Now we have everything we need to get started, go ahead and open an elevated CMD prompt (you can use PowerShell or Terminal here however, I’ve had issues with Terminal whereby it will not complete the conversion, your mileage may vary but this works for me!) and navigate to the Win32 Prep folder and run the IntuneWinAppUtil.exe.

Migrated image 4

Input the source folder where you stored the Datto RMM agent.

Migrated image 5

Input the installer name and hit enter.

Migrated image 6

Input the output folder location you want the .intunewin file to be placed and hit enter, when prompted ‘do you want to specify catalog folder’ choose No.

Migrated image 7

Now you have the shiny new .intunewin file that can be uploaded to the MEM portal, so head there now.

Head into ‘Apps’ and choose to upload a Win32 application.

Migrated image 8

Migrated image 9

Fill in the appropriate information and upload an image if you desire then hit next.

Migrated image 10

Fill in the program commands as below, remember to update your agent filename though.

Migrated image 11

Configure your app requirements, I keep them simple.

Migrated image 12

For detection rules you are going to want to choose ‘Manually configure’ and use the same as the below image.

Migrated image 13

Migrated image 14

If you want to configure dependencies or supersedence go ahead and configure those, I leave them blank as RMM is the primary app I want installing anyway so it’s normally the dependency for other applications.

On the assignments page, go ahead and deploy to your required groups, as a general rule of thumb I always deploy to the ‘All Devices’ built in group and would use the new filters options if I need to target specific devices.

Migrated image 15

Publish the app and that’s all there is to it, you can monitor the install status from the app overview pane.

Migrated image 16

The Datto RMM agent is self-updating so you don’t need to worry about updating this in the MEM portal, just set and forget!

Related writing
Intune 18 January 2024

A winget match made in heaven

Learn how to package and auto-update apps in Intune using community-driven tools, WinTuner and Winget-AutoUpdate-Intune, for an efficient, l

8 min read
Deployment guide 19 September 2023

Deploying MDE to macOS

This guide will get you up and running with MDE for macOS in no time.

8 min read
Intune 18 September 2023

Easily import, export and document Intune configurations!

Need to bulk import, export or document your Intune configurations, this guide has you covered.

6 min read
Site search

Find a practical answer

Start typing to search posts and deployment guides.

    Esc closes · Results are generated locally with Pagefind