Intune Deployment (Windows)
Deploy the Pult Agent on Windows via Microsoft Intune using PSAppDeployToolkit.
This guide covers deploying the Pult Agent on Windows devices using Microsoft Intune as a Win32 App, with PSAppDeployToolkit (PSADT) handling the installation and bootstrap token provisioning.
Intune Win32 Apps run in SYSTEM context by default. This means MSI properties like
BOOTSTRAP_TOKEN and AUTOLAUNCHAPP do not work correctly. PSADT solves this by running
post-install actions in the correct user context.
Prerequisites
- Microsoft Intune with Win32 App deployment capability.
- PSAppDeployToolkit (PSADT) v4.1.0 or later.
- The Pult Agent
.msiinstaller file. - A bootstrap token generated in the Pult Dashboard.
- The IntuneWinAppUtil tool (Microsoft Win32 Content Prep Tool) for packaging.
Step 1: Prepare the PSADT Package
- Download and extract the PSAppDeployToolkit template.
- Place the Pult Agent
.msifile in theFiles/directory of the PSADT template. - Edit the deployment script to:
- Install the MSI silently.
- Write the bootstrap token file in the user's
%APPDATA%directory (usingStart-ADTProcessAsUserto run in user context). - Launch the agent in user context after installation.
The key challenge is that Intune runs the deployment in SYSTEM context, but the bootstrap token and
app launch must happen in the logged-in user's context. PSADT's Start-ADTProcessAsUser function
bridges this gap.

Step 2: Package for Intune
Use the Microsoft Win32 Content Prep Tool to create an .intunewin package:
IntuneWinAppUtil.exe -c <source-folder> -s <setup-file> -o <output-folder>Step 3: Create the Win32 App in Intune
- In the Microsoft Intune admin center, go to Apps → Windows → Add → Windows app (Win32).
- Upload the
.intunewinpackage. - Configure the app:
- Install command: The PSADT install command (e.g.,
Deploy-Application.exe -DeploymentType "Install") - Uninstall command: The PSADT uninstall command
- Detection rule: Use a custom detection script or file-based detection (check for
pult-agent.exeat the expected path and version)
- Install command: The PSADT install command (e.g.,
- Assign the app to the target device or user group.
Step 4: Detection Rule
Use a custom PowerShell detection script to verify the agent is installed:
$AgentPath = "C:\Program Files\Pult Agent\pult-agent.exe"
$RequiredVersion = "0.2.9"
if (-not (Test-Path $AgentPath)) {
exit 1
}
$Version = (Get-Item $AgentPath).VersionInfo.FileVersion
if ($Version -eq $RequiredVersion) {
Write-Host "Pult Agent $Version detected"
exit 0
} else {
exit 1
}Step 5: Verify
After deployment:
- Check the Intune deployment status for the target devices.
- In the Pult Dashboard, go to Settings → Presence → Device Authentication to review incoming device auth requests.
- Approve the requests to complete enrollment.
Troubleshooting
| Issue | Solution |
|---|---|
| Bootstrap token not picked up | Verify the token file was written to the correct %APPDATA%\com.pult.agent\ path in user context (not SYSTEM). |
| Agent not launching after install | Ensure Start-ADTProcessAsUser is used for the app launch step. SYSTEM context cannot launch user-visible apps. |
| Detection script not finding the agent | Verify the installation path and version string match exactly. |
Last updated on Apr 20, 2026, 10:32 PM