Configuring Autopilot Device Preparation

Earn 25 points (50 with Pro) in two steps

  1. ① Read through the lesson — each section gets a ✓ as you scroll through it.
  2. ② 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

  1. Sign in to the Microsoft Intune admin center.
  2. Navigate to Devices > Windows > Windows enrollment.
  3. Select Deployment profiles.

Step 2: Creating the Deployment Profile

  1. Click + Create profile and select Windows PC.
  2. Provide a name and description (e.g., "Standard Corporate Laptop Profile").
  3. 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.

  1. Open PowerShell as an administrator.
  2. Install the script: Install-Script -Name Get-WindowsAutopilotInfo
  3. Run the script: Get-WindowsAutopilotInfo.ps1 -Online
  4. 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:

  1. In the Intune portal, go to Devices > Windows > Windows enrollment > Enrollment Status Page.
  2. Select the default policy or create a new one.
  3. Set Show app and profile configuration progress to Yes.
  4. 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:

  1. Create a Windows Update ring in the Intune portal.
  2. Set the "Quality update deferral period" to 0 days for your pilot groups.
  3. 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.