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).
- Create a transform with Orca or another MSI editor that sets the
ENROLLMENTCODEproperty in the Property table. (Agents before 0.3.1:TENANTID,SERVERandENROLLMENTTOKEN.) - Copy the MSI and the transform to a share that the computer accounts can read.
- 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.
- 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.