Overview
Run the Unbound installer on a schedule with Intune Remediations.Remediations requires Windows Enterprise E3 or E5, included in Microsoft 365 E3, E5 and F3. Without it, use the scheduled task below.
getunbound.ai, backend.getunbound.ai, api.getunbound.ai, raw.githubusercontent.com and github.com.
1. Get your API key
Open Configure and copy the key from the API Access panel.2. Create the detection script
Save this asDetect_Unbound.ps1:
3. Create the remediation script
Save this asRemediate_Unbound.ps1, replacing YOUR_ADMIN_API_KEY with your key:
C:\Program Files, which standard users cannot write to, and is locked to SYSTEM and administrators. Nothing can be planted there ahead of the script.
-Backfill imports past GitHub Copilot, Claude Code and Codex sessions. Re-running never duplicates a session.
4. Create the package in Intune
Go to Devices → Manage devices → Scripts and remediations → Remediations → Create script package.1
Upload the scripts
Name the package
Unbound daily onboard and upload both files as UTF-8 without a BOM.2
Set the options
Run using logged-on credentials: No. Enforce signature check: No. Run in 64-bit PowerShell: Yes.
3
Assign and schedule
Assign to your developer device group and set the schedule to Daily.
Verify
Intune
Device status shows Without issues.
Device
C:\Program Files\Unbound\last-success.txt updates daily.Unbound
Devices appear with a recent last-seen time.
Troubleshooting
No Remediations licence
Deploy this once as a Platform script, run as SYSTEM in 64-bit. The task script holds your API key, so it lives underC:\Program Files, which standard users cannot write to, locked to SYSTEM and administrators.
Scheduled task script
Scheduled task script
Unregister-ScheduledTask -TaskName 'Unbound Daily Onboard' -Confirm:$false.Remove Unbound
Run the installer with-Clear in an elevated PowerShell, then delete C:\Program Files\Unbound.
Tamper Resistance
Best practices for keeping Unbound active on every device with managed settings.

