Skip to Content
V1GovernanceOrg mode: Intune

Org mode: Microsoft Intune

Deploy Lore’s managed hook to Windows and macOS devices with Intune. Read Org mode first.

Prerequisites

  • Pro plan, org owner, and the bundle downloaded from Governance Hooks → Organization with Microsoft Intune selected.
  • The Lore CLI deployed to the same devices (for example as a Win32 or macOS app).
  • A device group for the people who use AI tools.

Deploy on Windows

  1. In the Intune admin center , go to Devices → Windows → Scripts and remediations → Platform scripts → Add.

  2. Upload intune/lore-hooks-windows.ps1 and use these settings:

    SettingValue
    Run this script using the logged on credentialsNo (runs as SYSTEM)
    Enforce script signature checkNo, unless your org signs scripts
    Run script in 64 bit PowerShell HostYes
  3. Assign it to the device group.

Platform scripts run once per device. To have Intune re-apply the hook if it’s removed, create a Remediation instead, with lore hooks status --json as detection and the same script as remediation.

Deploy on macOS

  1. Go to Devices → macOS → Scripts → Add and upload intune/lore-hooks-macos.sh.
  2. Settings: Run script as signed-in user: No, Script frequency: Every 1 day, Max retries: 3.
  3. Assign it to the device group.

Verify

  • In Intune, the script’s device status shows success, and its output lists each tool with scope managed.
  • On a device: start a new AI session and check that it can quote your org’s Rules.
  • In the Lore panel, Governance Hooks → Coverage shows the device as Enforced within an hour.

Roll back and uninstall

Unassign the scripts, then deploy a script that runs, as administrator:

& "$env:ProgramFiles\Lore\lore.exe" hooks uninstall --scope=managed
lore hooks uninstall --scope=managed
© 2025 Lore · Built by M1 Cloud