โ† Windows & Intune
๐Ÿ“ฑ Intune

Windows Autopilot in Intune: A Step-by-Step Guide

Pre-configure and provision Windows devices so end users can set up without IT involvement โ€” from CSV import to deployment profiles and dynamic Azure AD groups.

โš ๏ธ
Prerequisites: Windows 10 v1703+, Azure AD Premium licence, Intune licence, devices connected to internet during OOBE, OEM that supports Autopilot.
Extract Hardware Hash & Import Devices

Run the Get-WindowsAutopilotInfo script on each device to extract the hardware hash, then import the resulting CSV into Intune.

Install-Script -Name Get-WindowsAutopilotInfo
Get-WindowsAutopilotInfo -OutputFile C:\HWID\DeviceID.csv

Then in Intune: endpoint.microsoft.com โ†’ Devices โ†’ Windows โ†’ Windows Enrollment โ†’ Autopilot โ†’ Devices โ†’ Import CSV


Create a Deployment Profile

Navigate to Windows Enrollment โ†’ Deployment Profiles โ†’ Create Profile and set:

โ†’
Platform
Windows PC
โ†’
Deployment Mode
User-Driven
โ†’
Convert all targeted devices to Autopilot
Yes

Create Dynamic Azure AD Group

In Azure AD โ†’ Groups โ†’ New Group โ†’ Dynamic Device. Use this membership rule to automatically include all Autopilot devices:

(device.devicePhysicalIDs -any _ -contains "[ZTDId]")

Assign Apps & Policies

Target the Autopilot group with everything the device needs out of OOBE:

โ†’
Apps
Intune โ†’ Apps โ†’ assign required apps to the Autopilot group
โ†’
Wi-Fi Profile
Device configuration โ†’ Wi-Fi profile assigned to the group
โ†’
Compliance & Restrictions
Assign compliance policies and device restriction profiles