Configure Default Windows Profile for Autopilot enrollment
Learn how to configure a default Windows profile in the MDM server that can be deployed to Windows endpoints on enrollment.
About this task
The following is the workflow to create a policy group that will apply a set of policies at enrollment time for Autopilot devices:
Procedure
- Prestage applications: The applications pre-staged on the MDM server are listed here. For information on how to pre-stage applications, see Prestage an Application.
-
Upload Custom Policy. Upload the
.xml file that contains custom policy code as
required.
Note: Optionally you can upload a Custom policy to restrict device users from unenrolling fully-managed (company-owned) devices
-
Create other MDM policy types as required such as Passcode policy, Restrictions Policy, Certificates Policy, and save the policies.
Note: Disk Encryption policies for Windows are not allowed to be part of policy groups for now.
-
Create a policy group
- Select the policy group and Deploy the Policy Group on MDM Server.
Results
- Custom policy to restrict device users from unenrolling fully-managed (company-owned) devices
- To restrict the Windows device users from unenrolling the fully-managed
(company-owned) device from MDM, upload a custom policy
.xml file with the following code and add it to the
policy group to be deployed onto the MDM server.
<Replace> <CmdID>20</CmdID> <Item> <Target> <LocURI>./Vendor/MSFT/Policy/Config/Experience/AllowManualMDMUnenrollment</LocURI> </Target> <Meta> <Format>int</Format> <Type>text/plain</Type> </Meta> <Data>0</Data> </Item> </Replace>