Configuring Autopilot Device Preparation
Earn 25 points (50 with Pro) in two steps
- ① Read through the lesson — each section gets a ✓ as you scroll through it.
- ② When every section has a ✓, tap Complete lesson.
0 of 12 read · keep scrolling
✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro
Lesson: Configuring Autopilot Device Preparation
Introduction: The Modern Era of Device Deployment
In the traditional IT landscape, deploying a new computer to an employee was a laborious, manual process. An IT technician would spend hours unboxing a device, connecting it to a local network, imaging it with a custom operating system, installing a suite of software, and joining it to a local domain. This "hands-on" approach was not only inefficient but also difficult to scale when employees were distributed across different cities or countries. As workforces became increasingly remote and distributed, the need for a touchless, cloud-native deployment strategy became undeniable.
Windows Autopilot Device Preparation represents the evolution of this process. It is a collection of technologies used to set up and pre-configure new devices, getting them ready for productive use. Instead of IT staff touching every machine, the device arrives directly from the manufacturer or reseller to the end user. When the user powers on the machine and connects it to the internet, Windows Autopilot takes over, automatically applying the necessary configurations, security policies, and applications required for the user to start working.
Understanding Autopilot Device Preparation is critical for any modern IT administrator because it shifts the focus from managing hardware to managing identity and configuration. By leveraging cloud-based tools, organizations can reduce the burden on helpdesk teams, ensure consistent security baselines across the entire fleet, and provide a superior "out-of-the-box" experience for new hires. This lesson will guide you through the architecture, configuration, and best practices required to implement this technology effectively within your organization.
Not read yet
Understanding the Autopilot Architecture
Windows Autopilot is not a single piece of software; rather, it is a framework that interacts with Azure Active Directory (now Microsoft Entra ID) and Microsoft Intune. When a device is manufactured, it contains a unique Hardware Hash—a digital fingerprint that identifies that specific motherboard and network interface. By registering this hash in your cloud tenant, you are essentially telling Microsoft's servers that this specific piece of hardware belongs to your organization.
When the device boots up for the first time, it checks in with the Autopilot service. The service recognizes the hardware hash and instructs the device to download the specific configuration profile you have created. This profile dictates how the Windows Out-of-Box Experience (OOBE) behaves. For example, you can hide privacy settings, skip the creation of a local user account, and force the device to join the corporate Entra ID tenant automatically.
This process is fundamentally different from traditional imaging. In the old world, you were deploying a static "snapshot" of a computer. With Autopilot, you are deploying a set of instructions that the computer follows to configure itself. This ensures that the device is always pulling the latest updates and policies directly from the cloud, rather than relying on an outdated image stored on a local server.
Callout: Autopilot vs. Traditional Imaging Traditional imaging requires IT staff to capture a "gold image," maintain it, and deploy it via network boot or USB. This is time-consuming and prone to driver compatibility issues. Autopilot, conversely, uses the factory-installed Windows OS. It transforms the existing OS into a business-ready machine through policy application, which is faster, less prone to errors, and works over any internet connection.
Not read yet
Prerequisites for Successful Deployment
Before you dive into the technical configuration, you must ensure that your environment meets the necessary requirements. Skipping these foundational steps is the most common cause of deployment failure.
1. Licensing Requirements
To utilize Autopilot, your organization must have the appropriate licenses. Generally, this includes Microsoft 365 Business Premium, Enterprise E3, or E5. These licenses grant you access to Microsoft Intune and Entra ID Premium, which are the backbone of the Autopilot service.
2. Network Connectivity
The target device must have access to the internet during the OOBE process. While the device does not need to be on the corporate network (VPN or office LAN), it must be able to reach the Microsoft cloud services. Ensure that your firewall or web proxy is not blocking the necessary Microsoft endpoints.
3. Identity and Enrollment
Your tenant must be configured to allow automatic enrollment into Intune. Without this, the device may join Entra ID but will fail to receive the software and security policies required for a managed state.
- Entra ID join: The device must be able to register itself in your Entra ID tenant.
- Intune Enrollment: You must have a Mobility (MDM and MAM) scope set to "All" or a specific group in the Entra admin center.
Not read yet
Step-by-Step Configuration of Autopilot Profiles
The Autopilot profile is the heart of your deployment strategy. It tells the device exactly how to behave during the setup process. Follow these steps to create and assign your first profile.
Step 1: Navigating to the Autopilot Section
- Sign in to the Microsoft Intune admin center.
- Navigate to Devices > Windows > Windows enrollment.
- Select Deployment profiles.
Step 2: Creating the Deployment Profile
- Click + Create profile and select Windows PC.
- Provide a name and description (e.g., "Standard Corporate Laptop Profile").
- In the Out-of-box experience (OOBE) settings, configure the following:
- Deployment mode: Choose User-driven. This is the most common mode where the user logs in and the device is configured for them.
- Join to Azure AD as: Select Azure AD joined.
- Microsoft Software License Terms: Set to Hide.
- Privacy settings: Set to Hide.
- Hide change account options: Set to Hide.
- User account type: Set to Standard user. (Never give users local administrator rights by default).
Step 3: Assigning the Profile
After creating the profile, you must assign it to a group. It is a best practice to create a dynamic group in Entra ID that automatically includes all devices tagged with a specific "Autopilot" attribute.
Tip: Use Dynamic Groups Avoid assigning profiles to individual devices. Instead, create a dynamic device group with a rule like
(device.devicePhysicalIDs -any (_ -contains "[ZTDId]")). This ensures that any device you register for Autopilot is automatically added to the group and receives the profile immediately.
Not read yet
Registering Devices: The Hardware Hash
A device cannot be managed by Autopilot until its hardware hash is registered in your tenant. There are three primary ways to achieve this:
1. OEM/Reseller Registration
If you purchase devices from partners like Dell, HP, or Lenovo, you can provide them with your Tenant ID. They will automatically upload the hardware hashes to your tenant before the device even leaves the factory. This is the "gold standard" for large organizations.
2. The PowerShell Method (Manual)
If you already have the devices in your possession, you can extract the hardware hash using a script.
- Open PowerShell as an administrator.
- Install the script:
Install-Script -Name Get-WindowsAutopilotInfo - Run the script:
Get-WindowsAutopilotInfo.ps1 -Online - You will be prompted to sign in with your administrator credentials, and the script will upload the hash directly to your Intune portal.
3. The CSV Import Method
If you are working with a large batch of existing devices, you can export the hardware hashes from those devices into a CSV file. You then upload this file into the Devices section of the Autopilot enrollment portal.
Warning: The "Reset" Trap If you manually register a device using the PowerShell script, ensure the device is in a fresh state (OOBE screen). If you try to run the script on a device that is already set up and joined to a local domain, the script may fail or require a "Reset this PC" command afterward to trigger the Autopilot flow.
Not read yet
Configuring Enrollment Status Page (ESP)
The Enrollment Status Page (ESP) is the screen the user sees while the device is being prepared. It shows progress as the device joins the domain, installs applications, and applies security policies. If you do not configure this, the user might arrive at the desktop before the security policies are applied, which is a major security risk.
To configure the ESP:
- In the Intune portal, go to Devices > Windows > Windows enrollment > Enrollment Status Page.
- Select the default policy or create a new one.
- Set Show app and profile configuration progress to Yes.
- Set Block device use until all apps and profiles are installed to Yes.
By setting the block option to "Yes," you ensure that the user cannot reach the Windows desktop until the security software (like Microsoft Defender for Endpoint) and essential applications (like Microsoft 365 Apps) are fully installed. This is critical for maintaining your organization's security posture.
Not read yet
Best Practices for Deployment
Successful Autopilot implementation requires more than just technical configuration; it requires a strategy that respects the user experience while enforcing strict security.
1. Always Use Standard User Accounts
One of the most common mistakes is leaving users as local administrators. This opens the door to malware and unauthorized software installations. Use Intune to restrict local admin rights and use Endpoint Privilege Management (EPM) if you need to grant temporary elevation for specific tasks.
2. Keep the Enrollment Status Page Lean
Do not force the installation of every single application during the ESP. If you include 50 applications in the "blocking" list, the user will be staring at a progress bar for an hour. Only include the absolute essentials—security agents, identity management tools, and core productivity suites. Everything else can be installed in the background after the user reaches the desktop.
3. Test with a "Pilot" Group
Never roll out a new Autopilot configuration to the entire company at once. Create a pilot group of 5-10 devices, including different hardware models if possible. Test the entire lifecycle: unboxing, OOBE, ESP progress, and post-deployment application installs.
4. Monitor with Autopilot Diagnostics
If a deployment fails, use the Autopilot diagnostics page in the Intune portal. You can search for a specific device by its serial number to see exactly where the process failed (e.g., "Domain Join failed" or "App installation timed out").
| Component | Best Practice |
|---|---|
| User Rights | Always set to Standard User; use EPM for elevation. |
| ESP Timing | Only block for critical security and core apps. |
| Registration | Use OEM/Reseller automated registration whenever possible. |
| Security | Force BitLocker encryption via Configuration Profile. |
| Updates | Configure Windows Update rings to apply during OOBE. |
Not read yet
Troubleshooting Common Pitfalls
Even with careful planning, things can go wrong. Here are the most frequent issues administrators encounter and how to solve them.
Error: "Something went wrong" during OOBE
This is a generic error that usually indicates a network connectivity issue or a failure to reach the Microsoft Autopilot service.
- The Fix: Check the network. If the device is on a restricted corporate Wi-Fi, it might not be able to reach the internet. Try connecting to a mobile hotspot to rule out local network filtering.
Error: Device stuck on "Preparing your device for mobile management"
This usually happens when the device has successfully joined Entra ID but is failing to enroll in Intune.
- The Fix: Verify your MDM User Scope in the Entra ID Mobility settings. If the user account used to log in is not part of the group allowed to enroll in MDM, the process will hang.
Device not showing up in Autopilot Devices list
You uploaded the CSV, but the device is missing from the list.
- The Fix: Check the Imported Devices status in the Autopilot portal. Sometimes the CSV format is incorrect (e.g., improper headers). Ensure you are using the exact format provided by the Microsoft template.
Callout: The Importance of Time Synchronization A frequently overlooked issue is the system clock. If the device's hardware clock is significantly off from the actual time, SSL/TLS handshakes with the Microsoft servers will fail. While rare on modern hardware, if you are re-purposing older machines, ensure the BIOS time is accurate before starting the Autopilot process.
Not read yet
Advanced Scenarios: Autopilot Pre-Provisioning
For organizations that have a central IT office, Autopilot Pre-Provisioning (formerly known as "White Glove") is a powerful feature. This allows an IT technician to perform the heavy lifting before the device is shipped to the end user.
The technician powers on the device, presses the Windows key five times at the OOBE screen, and selects "Windows Autopilot provisioning." The device then goes through the entire configuration and application install process. Once finished, the technician shuts the device down. When the end user receives the device and powers it on, the machine is already fully configured and ready to go. The user simply logs in with their credentials, and they are at the desktop in seconds.
This approach combines the speed of an IT-prepared machine with the cloud-native benefits of Autopilot. It is highly recommended for users who have slow home internet connections, as the "heavy" part of the deployment (downloading apps) happens on the corporate high-speed network.
Not read yet
Security Considerations
Autopilot is a powerful tool, but it also carries security implications. Because it automates the process of joining a device to your corporate infrastructure, you must ensure that your tenant is protected.
1. Multi-Factor Authentication (MFA)
Ensure that MFA is enforced for all users, including those enrolling devices. If a bad actor gains access to a corporate credential, they could potentially register their own device as an "Autopilot" device and gain access to your cloud resources.
2. Conditional Access Policies
Use Conditional Access to restrict where and how devices can be enrolled. For example, you can create a policy that only allows Autopilot enrollment from known IP ranges or from devices that meet specific compliance criteria.
3. Device Clean-up
If a device is lost or stolen, use the Autopilot Reset command in the Intune portal. This will wipe the device and restore it to a clean state. If you are decommissioning a device, remember to remove it from the Autopilot list in Intune so it no longer attempts to associate with your tenant if someone else tries to use it.
Not read yet
Integrating with Windows Update for Business
One of the major advantages of Autopilot is that it doesn't just deploy the OS; it ensures the OS is up to date. During the Autopilot process, you can trigger the download and installation of the latest Windows quality and feature updates.
To configure this:
- Create a Windows Update ring in the Intune portal.
- Set the "Quality update deferral period" to 0 days for your pilot groups.
- This ensures that the device is patched to the current standard before the user even starts working.
This is a massive improvement over traditional images, which were often months out of date by the time a user received the machine. By integrating updates into the deployment flow, you eliminate the "Day 1" vulnerability window where a new machine is susceptible to known exploits before it has a chance to download patches.
Key Takeaways
Configuring Windows Autopilot is a journey from manual, hardware-centric management to automated, cloud-based lifecycle management. By following the steps outlined in this lesson, you can transform your deployment process into a lean, secure, and user-friendly experience.
- Shift to Cloud-Native: Autopilot removes the need for local imaging servers and manual intervention, allowing you to ship devices directly from the manufacturer to the user.
- The Power of the Hash: Everything starts with the hardware hash. Ensure your registration process (OEM/Reseller or script-based) is robust and tested.
- ESP is Essential: Use the Enrollment Status Page to gate access to the desktop until security policies and critical applications are confirmed to be installed.
- Standard User Principle: Never grant local administrator rights during the deployment process. Leverage modern tools like EPM if you have specific edge-case requirements.
- Pilot Everything: Always test new Autopilot profiles in a small, controlled environment before rolling them out to the entire organization to prevent widespread deployment failures.
- Automation is Key: Utilize dynamic groups in Entra ID to ensure that device assignment is automated and requires zero manual interaction from the IT team once the device is registered.
- Continuous Improvement: Use the Autopilot diagnostics logs to iterate on your deployment process. If a device fails, treat it as a data point to refine your configuration, not just a one-off error.
By mastering these concepts, you are not just managing devices; you are providing a foundation for a modern, secure, and agile workforce. The time you save on manual deployments can be redirected toward higher-level security initiatives and improving the overall digital experience for your users.
Not read yet
Common Questions (FAQ)
Q: Can I use Autopilot on a device that is already joined to a local Active Directory domain?
A: You can, but it requires a "Reset this PC" command first. Autopilot is designed to take a device from a "fresh" state to a "managed" state. If you have an existing machine, you will need to wipe it to trigger the OOBE flow.
Q: Does Autopilot require a VPN?
A: No. One of the primary benefits of Autopilot is that it works over any internet connection. It connects to Microsoft Entra ID and Intune directly. If your environment requires a VPN for internal resources, you can deploy the VPN configuration profile via Intune during the Autopilot process.
Q: What happens if the user turns off the device during the Autopilot process?
A: The process will resume where it left off once the device is powered back on and connected to the internet. The Autopilot service is designed to be resilient to interruptions.
Q: Is there a limit to how many devices I can have in Autopilot?
A: There is no hard limit on the number of devices, but for very large organizations, ensure you are using proper grouping and filtering to manage your profiles effectively.
Q: Can I use Autopilot to deploy non-Microsoft applications?
A: Yes. Any application that can be deployed via the Intune Management Extension (Win32 apps, MSI, etc.) can be part of the Autopilot process. Just ensure they are included in the Enrollment Status Page blocking list if they are critical for the user's workflow.
Not read yet
Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.
- Choosing Device Join Types
- Choosing Device Join Types Quiz5q
- Joining Devices to Microsoft Entra ID
- Joining Devices to Microsoft Entra ID Quiz5q
- Registering Devices to Microsoft Entra ID
- Registering Devices to Microsoft Entra ID Quiz5q
- Planning Device Groups in Microsoft Entra ID
- Planning Device Groups in Microsoft Entra ID Quiz5q
- Implementing Dynamic Device Groups
- Implementing Dynamic Device Groups Quiz5q
- Configuring Enrollment Settings
- Configuring Enrollment Settings Quiz5q
- Configuring Automatic Enrollment for Windows
- Configuring Automatic Enrollment for Windows Quiz5q
- Configuring Bulk Enrollment for iOS and Android
- Configuring Bulk Enrollment for iOS and Android Quiz5q
- Configuring Android Enrollment Profiles
- Configuring Android Enrollment Profiles Quiz5q
- Configuring Android Enterprise Work Profiles
- Configuring Android Enterprise Work Profiles Quiz5q
- Managing Roles in Intune
- Managing Roles in Intune Quiz5q
- Implementing Compliance Policies
- Implementing Compliance Policies Quiz5q
- Implementing Conditional Access with Compliance
- Implementing Conditional Access with Compliance Quiz5q
- Configuring Windows Hello for Business
- Configuring Windows Hello for Business Quiz5q
- Implementing Windows LAPS
- Implementing Windows LAPS Quiz5q
- Managing Local Groups Membership
- Managing Local Groups Membership Quiz5q
- Choosing Between Autopilot and Provisioning Packages
- Choosing Between Autopilot and Provisioning Packages Quiz5q
- Choosing Windows Autopilot Deployment Modes
- Choosing Windows Autopilot Deployment Modes Quiz5q
- Applying Device Name Templates
- Applying Device Name Templates Quiz5q
- Implementing Windows Autopilot Deployment
- Implementing Windows Autopilot Deployment Quiz5q
- Creating Enrollment Status Pages
- Creating Enrollment Status Pages Quiz5q
- Implementing Provisioning Packages
- Implementing Provisioning Packages Quiz5q
- Planning Windows 11 Upgrades
- Planning Windows 11 Upgrades Quiz5q
- Implementing Windows 365 Cloud PC
- Implementing Windows 365 Cloud PC Quiz5q
- Configuring Autopilot Device Preparation
- Configuring Autopilot Device Preparation Quiz5q
- Creating Windows Device Configuration Profiles
- Creating Windows Device Configuration Profiles Quiz5q
- Importing ADMX Files
- Importing ADMX Files Quiz5q
- Creating Android Device Profiles
- Creating Android Device Profiles Quiz5q
- Creating iOS and iPadOS Device Profiles
- Creating iOS and iPadOS Device Profiles Quiz5q
- Creating macOS Device Profiles
- Creating macOS Device Profiles Quiz5q
- Targeting Profiles Using Filters
- Targeting Profiles Using Filters Quiz5q
- Creating Windows 11 Enterprise Multi-Session Profiles
- Creating Windows 11 Enterprise Multi-Session Profiles Quiz5q
- Configuring Endpoint Privilege Management
- Configuring Endpoint Privilege Management Quiz5q
- Using Enterprise App Catalog
- Using Enterprise App Catalog Quiz5q
- Implementing Advanced Analytics
- Implementing Advanced Analytics Quiz5q
- Configuring Remote Help
- Configuring Remote Help Quiz5q
- Implementing Microsoft Tunnel for MAM
- Implementing Microsoft Tunnel for MAM Quiz5q
- Understanding Microsoft Cloud PKI
- Understanding Microsoft Cloud PKI Quiz5q
- Syncing and Restarting Devices
- Syncing and Restarting Devices Quiz5q
- Retiring and Wiping Devices
- Retiring and Wiping Devices Quiz5q
- Performing Bulk Remote Actions
- Performing Bulk Remote Actions Quiz5q
- Rotating BitLocker Recovery Keys
- Rotating BitLocker Recovery Keys Quiz5q
- Running Device Queries with KQL
- Running Device Queries with KQL Quiz5q
- Updating Defender Antivirus Definitions
- Updating Defender Antivirus Definitions Quiz5q
- Preparing Applications for Deployment
- Preparing Applications for Deployment Quiz5q
- Deploying Apps Using Intune
- Deploying Apps Using Intune Quiz5q
- Deploying Microsoft 365 Apps
- Deploying Microsoft 365 Apps Quiz5q
- Configuring Policies for Office Apps
- Configuring Policies for Office Apps Quiz5q
- Using Office Deployment Tool with Autopilot
- Using Office Deployment Tool with Autopilot Quiz5q
- Managing Apps in Microsoft 365 Admin Center
- Managing Apps in Microsoft 365 Admin Center Quiz5q
- Deploying Apps from Platform App Stores
- Deploying Apps from Platform App Stores Quiz5q
- Managing Win32 App Dependencies
- Managing Win32 App Dependencies Quiz5q
- Planning App Protection Policies
- Planning App Protection Policies Quiz5q
- Implementing App Protection Policies
- Implementing App Protection Policies Quiz5q
- Implementing Conditional Access for Apps
- Implementing Conditional Access for Apps Quiz5q
- Planning App Configuration Policies
- Planning App Configuration Policies Quiz5q
- Implementing App Configuration Policies
- Implementing App Configuration Policies Quiz5q
- Configuring Selective Wipe for Apps
- Configuring Selective Wipe for Apps Quiz5q
- Creating Antivirus Policies
- Creating Antivirus Policies Quiz5q
- Creating Disk Encryption Policies
- Creating Disk Encryption Policies Quiz5q
- Creating Firewall Policies
- Creating Firewall Policies Quiz5q
- Configuring Attack Surface Reduction
- Configuring Attack Surface Reduction Quiz5q
- Implementing Security Baselines
- Implementing Security Baselines Quiz5q
- Integrating with Defender for Endpoint
- Integrating with Defender for Endpoint Quiz5q
- Onboarding Devices to Defender for Endpoint
- Onboarding Devices to Defender for Endpoint Quiz5q
- Configuring Endpoint Detection and Response
- Configuring Endpoint Detection and Response Quiz5q
- Planning Device Updates
- Planning Device Updates Quiz5q
- Creating Windows Update Rings
- Creating Windows Update Rings Quiz5q
- Managing iOS and macOS Updates
- Managing iOS and macOS Updates Quiz5q
- Managing Android Updates
- Managing Android Updates Quiz5q
- Configuring Delivery Optimization
- Configuring Delivery Optimization Quiz5q
- Monitoring Update Deployments
- Monitoring Update Deployments Quiz5q
- Creating Feature Update Policies
- Creating Feature Update Policies Quiz5q
- Managing Quality Update Expedites
- Managing Quality Update Expedites Quiz5q
- Using Windows Update for Business Reports
- Using Windows Update for Business Reports Quiz5q
Spend your points to unlock exam-style practice questions
Spend points to unlock MD-102 exam-style practice questions.
Practice for MD-102