Deploying the Agent
The RealmJoin Agent can be seamlessly deployed using Microsoft Intune. A ready-to-use package is available in our Package Store, simplifying the setup process. This guide outlines the recommended and supported method for installing the RealmJoin Agent via Intune.
Automatic Deployment
Microsoft Intune (intunewin)
RealmJoin integrates directly with your Microsoft Intune tenant by adding and updating the agent as an intunewin package:
Open our Package Store.
Select the banner "RealmJoin Agent" or use this direct link: RealmJoin Agent (Device)
Select "Use Intune (managed)" as deployment method and click "Continue".
Add this package to your "Enrollment Status Page" under "Block device use until required apps are installed if they are assigned to the user/device". This ensures that Intune waits for RealmJoin Agent installation during enrollment.
Please also activate "Automation Main channel".

Please do not use "Automate Preview channel" as the intunewin application ID can change what will remove the package from your "Enrollment Status Page" configuration.
Assign the package to devices (if assigned to user objects, the agent might not start during deployment), e.g.:
Add single devices or device group/s to the automatically created managed app groups
Add "All devices" as additional assignment via Intune (note that you might need filters to exclude special devices like AVD or Kiosk)
Beta and Canary channel
For testing initial deployments with other channels, you can manually download and upload one of the following intunewin packages:
Beta Channel (near to stable, for long-term testing): RealmJoin Beta Version
Canary Channel (Experimental, first testing): RealmJoin Canary Version
When uploading to Intune, please use the suggested settings and:
Program:
Device restart behavior:
Determine behavior based on return codes
Detection rules:
Manually configure detection rules
File:
Path:
C:\Program Files\RealmJoin
File or folder:
RealmJoin.exe
Detection method:
File or folder exists
Associated with a 32-bit app on 64-bit clients:
No
Windows Defender Exceptions
RealmJoin has worked with the Microsoft Defender Team to be whitelisted from malware detection. Since Defender is using more and more machine learning mechanisms to identify potential threats and RealmJoin has several features like cloud downloaded application installations, RealmJoin might be recognized by Windows Defender as a possible threat.
While this behavior is not certain, it is recommended to implement additional Windows Defender Antivirus exceptions:
Files and Folders
%ProgramFiles%\RealmJoin
%ProgramFiles%\RealmJoin\RealmJoin.exe
%ProgramFiles%\RealmJoin\RealmJoinService.exe
%ProgramFiles%\RealmJoin\RealmJoinUpdate.exe
Processes
%ProgramFiles%\RealmJoin
%ProgramFiles%\RealmJoin\RealmJoin.exe
%ProgramFiles%\RealmJoin\RealmJoinService.exe
%ProgramFiles%\RealmJoin\RealmJoinUpdate.exe
Additional Information
Automatic Deployment
Legacy: Microsoft Intune (MSI)
This legacy deployment method is provided for reference purposes only and is no longer supported.
Also note that Microsoft does not recommend to mix MSI and intunewin deployment: "If you mix the installation of Win32 apps and line-of-business apps during Windows Autopilot enrollment, the app installation may fail as they both use the Trusted Installer service at the same time."
RealmJoin can be deployed via MSI installer as a Line-of-Business app. When uploading to Intune, ensure that "Ignore app version" is set to "Yes".

Interactive Installation via Command Line
If an administrator wants to install RealmJoin Agent on a device without mass deployment or the Microsoft Intune infrastructure, one may download the MSI and do an interactive installation. As alternative, you can also copy one of the command lines below to download and run the Agent in a single step.
MSI installer and EXE
Release Channel
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "((new-object net.webclient).DownloadFile('https://gkrealmjoin.s3.amazonaws.com/win-release/RealmJoin.exe', 'realmjoin.exe'))" && .\realmjoin.exe
Beta Channel
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "((new-object net.webclient).DownloadFile('https://gkrealmjoin.s3.amazonaws.com/win-beta/RealmJoin.exe', 'realmjoin.exe'))" && .\realmjoin.exe
Canary Channel
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "((new-object net.webclient).DownloadFile('https://gkrealmjoin.s3.amazonaws.com/win-canary/RealmJoin.exe', 'realmjoin.exe'))" && .\realmjoin.exe
Silent Installation
When installing RealmJoin during unattended OS installation or any other non-interactive deployment method you may decide not to have any UI interaction during installation. To install RealmJoin in such a scenario, use the silent installation option:
reamjoin.exe -install
Signed MSI
The RealmJoin.MSI is SHA2 (256 bit) signed by RealmJoin and therefore recognized by Windows as safe to install.

Last updated
Was this helpful?