Skip to main content

Windows: group policy

Download the signed MSI from Devices → Install agent and verify it as described in download and verify the package. Create an enrollment code on the same page (or in Settings → Enrollment tokens).

Group policy software installation cannot pass command-line properties, so the enrollment code goes in a transform (.mst).

  1. Create a transform with Orca or another MSI editor that sets the ENROLLMENTCODE property in the Property table. (Agents before 0.3.1: TENANTID, SERVER and ENROLLMENTTOKEN.)
  2. Copy the MSI and the transform to a share that the computer accounts can read.
  3. In the Group Policy Management Editor, go to Computer Configuration → Policies → Software Settings → Software installation, add a package, choose Advanced, and add the transform on the Modifications tab.
  4. Link the policy to a pilot organizational unit.

Treat the transform as a secret: it contains the enrollment code. Use a code with an expiry and a device limit, and revoke it once the rollout is complete.