Join our Newsletter — 33% off our NHI Course
Home› Guides› Windows Autopilot Security Guide: Trusted Registration, Safe Provisioning…
Guide Endpoint Security

Windows Autopilot Security Guide: Trusted Registration, Safe Provisioning and Controlled Reset

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 14 November 2026 17 min read
On this page

Windows Autopilot decides which physical devices your tenant will trust as corporate and hand a full set of policies, certificates and apps to, so whoever controls registration controls who gets a corporate device. Most teams leave its trust decisions to defaults. This guide covers the registration trust chain, the deployment modes and their security trade-offs, profile and Enrollment Status Page settings, pre-provisioning and reset controls, deregistration, and how to monitor the whole lifecycle. It goes deeper than the general Microsoft Intune Guide, which covers Intune roles and hardening, and is written for endpoint engineers, identity teams and auditors who run or review Autopilot.

This is an independent guide from NHI Mgmt Group, based on Microsoft's public Windows Autopilot documentation as of November 2026. It is not sponsored or reviewed by Microsoft. Product features change, so confirm settings against Microsoft's current documentation.

Key takeaways

  • Registration is the trust anchor. An Autopilot registered device is treated as corporate owned, passes a "block personal devices" enrolment restriction and receives device targeted configuration, so the hardware hash list deserves the same control as a list of privileged accounts.
  • Prefer OEM or partner registration. Microsoft recommends registration through the OEM or Partner Center and describes manual hash upload as mainly for testing, because hardware hashes contain information only the device owner should control.
  • Make the Enrollment Status Page a gate, not a progress bar. Block device use until required apps and profiles install, add your EDR agent to the blocking app list and do not let users continue after an installation error on sensitive devices.
  • Give users standard accounts. The profile setting "User account type" decides whether the enrolling user joins the local Administrators group; Standard is the safe default for almost every fleet.
  • Control the lifecycle as well as the build. Pre-provisioning, Autopilot Reset and deregistration each change who holds a device and which tenant it trusts, so scope who can run them, log them and follow Microsoft's deregistration order.

How Autopilot establishes device trust

Autopilot converts the OEM installed Windows image into a business ready state: it joins the device to Microsoft Entra ID (or, with a domain join profile, Microsoft Entra hybrid join), enrols it into Intune with automatic MDM enrolment, applies configuration and can change the Windows edition. Microsoft lists a Microsoft Entra ID P1 or P2 subscription and an Intune subscription with Windows automatic enrolment enabled as prerequisites.

  • Hardware hash: the device identity Autopilot matches on. Microsoft documents that it includes manufacturer, model, device serial number, hard drive serial number and a generation timestamp. The hash changes each time it is generated; Autopilot tolerates minor changes such as a new hard drive, but a motherboard replacement breaks the match and needs a new hash.
  • Tenant association: a hash belongs to one tenant. An import that collides with another tenant fails with ZtdDeviceAssignedToAnotherTenant, which is useful evidence when a reseller or previous owner still holds the device.
  • Corporate ownership: Microsoft states that Autopilot registered devices are treated as corporate owned. Entra registered and MDM only devices are for personal devices and should not be registered with Autopilot.
  • Profile assignment: the deployment profile decides join type, deployment mode, local admin rights and naming. A registered device with no matching profile receives the default profile assigned to All Devices.

ATT&CK tracks the abuse of the cloud side of this process as T1098.005 Device Registration, where an adversary registers a device they control to gain persistence or satisfy device based access policies. See the Entra Device Identity for the device object itself.

Registration routes and their trust

Microsoft describes four routes to get a hash into a tenant. They differ in who touches the hash and how much you have to trust them.

RouteWho uploads the hashMain riskControl
OEM registrationThe manufacturer, at purchase, after a registration authorisation processWrong tenant or wrong order associated with your tenantReconcile registered serials against purchase orders; restrict who can approve OEM authorisation requests
Reseller, distributor or CSP partner (Partner Center)The partner, through Partner CenterPartner account compromise or a partner that can also delete registrationsLimit partner relationships to those that sell you devices; review partner relationships and their roles regularly
Manual import in IntuneYour admins, by CSV (up to 500 rows per file) or from Configuration ManagerAny admin with enrolment permissions can make an arbitrary device corporateRestrict to a small custom role; require a change ticket per import; treat as test and exception route
Direct upload during OOBE (Get-WindowsAutopilotInfo with the Online option)A technician signing in from the device being registeredAn Intune Administrator credential typed into an unmanaged deviceAvoid for production; if used, use a dedicated low scope role and phishing resistant MFA

Two details matter for the manual route. First, the Assigned User column must be a valid UPN, but Microsoft validates only the domain, so a typo can leave a device unusable until the assignment is removed. Second, the "Convert all targeted devices to Autopilot" profile setting registers every corporate owned device in the targeted groups and keeps them registered even if the setting is later turned off, so use it on purpose rather than as a default.

Microsoft warns that manual registration is best kept for testing because inexpensive Intune accounts lack robust vetting and hardware hashes contain sensitive data. Store exported hash files in a controlled location and delete them after import.

Deployment modes and their security trade-offs

ModeWho authenticatesJoin typesSecurity notes
User-drivenThe end user with Entra credentials during OOBEEntra join or Entra hybrid joinDevice is tied to the enrolling user; Conditional Access applies at sign-in; set User account type to Standard
Self-deployingThe device, using its TPM 2.0 and device attestationEntra join onlyFor kiosks, signage and shared devices; only device targeted compliance policies apply; no automatic primary user; fails on virtual machines with a 0x800705B4 timeout
Pre-provisioningA technician in the technician phase, then the userEntra join or Entra hybrid joinDevice targeted policy, certificates and apps land before the user has the device; requires TPM 2.0 attestation and a physical device
Autopilot device preparationThe end user; the device joins a pre-defined device security group at enrolmentEntra join onlyWindows 11 24H2, or 23H2 and 22H2 with KB5035942 or later; pair with Windows corporate identifiers if personal enrolment is blocked

Decision guidance: user-driven Entra join is the cleanest trust model for knowledge workers, because a named, MFA verified user enrols a device the tenant already expects. Use self-deploying for userless devices, accepting that the device's TPM is the only authenticator, so physical custody before deployment matters more. Use pre-provisioning when bandwidth or app volume makes first sign-in slow, and only with technicians you would trust to stage a privileged image. Microsoft recommends cloud native Entra join and states that hybrid join is not recommended, including through Autopilot; hybrid join also prevents Autopilot Reset and self-deploying mode. Small organisations without a reseller relationship can use device preparation with corporate identifiers rather than collecting hashes by hand.

Hardening the deployment profile and Enrollment Status Page

Deployment profile

  • User account type: set to Standard. Administrator adds the enrolling user to the local Administrators group. Handle exceptions through endpoint privilege management, not the profile. See the Endpoint Privilege Management Guide.
  • Allow pre-provisioned deployment: No on every profile that does not need it. When it is off, Intune enforces it and a technician who presses the Windows key five times gets error 0x80180005.
  • Hide change account options: hide, with Entra company branding configured, so users cannot pivot to a different account during OOBE.
  • Apply device name template: use a prefix plus %SERIAL% (maximum 15 characters, letters, numbers and hyphens, not all numbers) so names map back to the asset register.
  • Assignments: assign to explicit device groups built on group tags rather than All Devices; exclusions cannot be used with All Devices. If a group gets several profiles, the oldest created profile wins.
  • Changes: profile edits only apply after a device is reset and re-enrolled, so a tightened profile does not fix devices already deployed.

Enrollment Status Page (ESP)

SettingRecommended value for managed fleetsWhy
Show app and profile configuration progressYesUnlocks the blocking settings below
Block device use until all apps and profiles are installedYesStops the user reaching the desktop before Intune finishes
Block device use until these required apps are installedSelected: EDR or antivirus agent, VPN or ZTNA client, certificate toolingThe ESP only tracks the apps you list (up to 100)
Allow users to use device if installation error occursNo on sensitive devicesYes lets the user bypass the gate after a failure
Allow users to reset device if installation error occursYesA clean retry is safer than a half built device
Install Windows quality updatesYesApplies the monthly security update during OOBE (adds 20 to 40 minutes)
Turn on log collection and diagnostics pageYesGives support evidence without granting extra rights
Show custom message when time limit or error occurYes, support contact onlyAvoid internal hostnames or account names in the message

The ESP does not track device restriction or security baseline policies, which install in the background, and it does not track PowerShell scripts. Confirm baselines through compliance policy and Conditional Access instead of assuming the ESP enforced them. See the Device Trust and Posture Guide.

Stopping rogue enrolment

Registration says which devices are corporate; enrolment restrictions decide what else may enrol. Microsoft lists Autopilot, Group Policy and co-management enrolment, bulk provisioning packages and device enrollment manager accounts as authorised corporate methods when you block personally owned Windows devices. Automatic MDM enrolment with Entra join during setup or from Settings is blocked unless the device is registered with Autopilot, and Add Work Account, MDM only, Company Portal and Microsoft 365 app enrolment are always treated as personal.

  1. Block personal Windows enrolment in device platform restrictions once registration coverage is complete, then watch Devices, Enrollment failures for the reason "Enrollment restriction not met".
  2. Restrict who can join devices to Entra ID and set a hard device limit in Entra, because Intune device limit restrictions do not apply to Autopilot, Entra joined, Group Policy or device enrollment manager enrolments.
  3. Retire device enrollment manager accounts or keep them few and monitored; they bypass the personal block by design.
  4. Require a compliant device in Conditional Access for corporate resources, so a device that enrols outside your process still gets nothing useful until it meets policy. See the Conditional Access Guide.

Microsoft states plainly that enrolment restrictions are not security features, because a compromised device can misrepresent its attributes. The same applies to Windows corporate identifiers (manufacturer, model and serial number uploaded by CSV): they classify ownership at enrolment time, they do not authenticate hardware. The stronger signals are TPM backed attestation in self-deploying and pre-provisioning modes and compliance evaluated after enrolment. See the TPM and device attestation for enterprise endpoints.

Pre-provisioning, reset and deregistration controls

  • Pre-provisioning technician phase: applies every device targeted policy, certificate and device context app, plus device context apps for a pre-assigned user. Run it only in a controlled staging area or through a partner under contract. The success screen offers Reseal, which shuts the device down for shipping; nothing in the flow protects the device in transit, so use tamper evident packaging and serial checks at receipt. The user phase must run at least 90 minutes and within six months after the technician phase, or certificates installed by the management extension may no longer be valid.
  • Re-enrolment: a self-deployed or pre-provisioned device cannot automatically re-enrol through Autopilot; you must delete its Intune record first. That deletion step is a natural approval point.
  • Local Autopilot Reset: off by default through the CredentialProviders/DisableAutomaticReDeploymentCredentials policy. When enabled (Intune device restrictions, setting Autopilot Reset = Allow), anyone with local admin credentials can trigger it with CTRL + Windows key + R at the lock screen. Keep it off unless shared device turnaround needs it, and pair it with Windows LAPS so the local admin password is unique per device.
  • Remote Autopilot Reset: removes personal files, apps and settings but keeps Entra device membership, MDM enrolment, Wi-Fi details, provisioning packages and SCEP certificates. It is not a decommissioning step: for a device leaving the organisation, use wipe and deregistration. Remote reset clears the primary user and Entra device owner; local reset does not, so review ownership afterwards. Hybrid joined devices are not supported and need a full wipe.
  • Deregistration order: delete the device from Intune, then delete it from Autopilot devices (unassign the user first if offered), then for hybrid joined devices delete the on-premises AD computer object so sync does not recreate it. Do not delete Autopilot devices directly from Entra ID; Microsoft warns that the wrong order can leave orphaned or unrecoverable devices.

Deregister before a device is sold, recycled or returned under warranty, otherwise it will rejoin your tenant on its next OOBE. See the Hardware Maintenance, Repair and RMA Security Guide.

Where identity fits

Every Autopilot control is ultimately an admin role. Microsoft lists Intune Administrator or Policy and Profile Manager, or a custom role with the Enrollment programs permissions, as the minimum to import devices; corporate identifiers need Policy and Profile Manager or Intune Administrator; remote reset needs the Intune Service Administrator role. Build a custom "Autopilot registrar" role that can import and edit Autopilot devices but cannot manage enrolment program tokens, scope it with scope tags, and keep profile authors separate from registrars so one account cannot both make a device corporate and give its user admin rights. Manual imports also need consent for the Microsoft Intune PowerShell and Microsoft Graph PowerShell enterprise applications; any automation that registers devices through Microsoft Graph is a non-human identity with fleet-wide reach and needs an owner, a narrow permission set and credential rotation. See the Microsoft Intune Guide for Multi Admin Approval and role design, and the Windows 11 Security Settings Guide for what the device should enforce once it is built.

Detection and measurement

  • Intune audit logs: Autopilot device imports, deletions, group tag and assigned user edits, profile and ESP changes, and enrolment restriction changes. Alert on imports outside a change window or by an account that is not in the registrar role.
  • Entra audit and sign-in logs: device registrations and joins, and sign-ins from devices that are joined but not compliant.
  • Enrollment failures: spikes in "Enrollment restriction not met" can mean users trying to enrol personal devices, or an attacker testing the policy.
  • Deployment reports: the Autopilot deployments report and the device preparation report show per device phase, app and script status; repeated ESP bypasses are a policy problem.
MetricTargetWhat it shows
Share of Autopilot registrations from OEM or partner channelsAbove 90 per cent for new devicesManual hash upload is the exception, not the norm
Registered serials reconciled to asset register or purchase orders100 per cent, monthlyNo unknown hardware is trusted as corporate
Profiles with User account type set to Administrator0, or documented exceptions onlyUsers are not local admins by default
Devices that left the ESP with an installation errorTrending to 0The ESP gate is holding
Disposed or RMA devices still registered in Autopilot0Deregistration is part of disposal
Accounts able to import Autopilot devicesSmall, named and reviewed quarterlyRegistration rights are governed like privileged access

Implementation and rollout

  1. Inventory: export existing Autopilot devices, profiles, ESP profiles and enrolment restrictions; reconcile serials against the asset register and remove devices the organisation no longer owns, using the deregistration order.
  2. Roles: create the registrar and profile author roles, apply scope tags, and remove broad Intune Administrator use for day to day Autopilot work.
  3. Channels: move new purchases to OEM or partner registration and agree group tags with the supplier so devices land in the right profile automatically.
  4. Pilot: build a hardened profile (Standard user, pre-provisioning off unless needed) and ESP (blocking apps, no use after error) and assign it to a pilot group tag; test user-driven, reset and failure paths on real hardware, since self-deploying and pre-provisioning do not run on virtual machines.
  5. Expand: roll out by group tag; because profile edits only apply after reset, plan to rebuild or remediate existing devices through compliance and configuration policies.
  6. Close the side doors: block personal Windows enrolment, limit Entra join rights, and require compliant devices in Conditional Access.
  7. Rollback: keep the previous profile and ESP in place but unassigned; if the hardened ESP blocks deployments, temporarily raise the timeout or reduce the blocking app list rather than allowing use after error across the fleet.

Framework mapping

FrameworkReferenceAutopilot control
NIST SP 800-53 Rev 5CM-8 System Component InventoryRegistered serials reconciled to the asset register
NIST SP 800-53 Rev 5IA-3 Device Identification and AuthenticationHardware hash registration, TPM attestation, compliant device requirement
NIST SP 800-53 Rev 5CM-2 Baseline ConfigurationDeployment profile and ESP blocking apps
NIST SP 800-53 Rev 5SR-11 Component AuthenticityOEM registration and receipt checks for pre-provisioned devices
NIST CSF 2.0ID.AM-01, PR.PS-01Hardware inventory; configuration management applied at build
CIS Controls v8.1Control 1 (Inventory and Control of Enterprise Assets), Control 4 (Secure Configuration)Registration reconciliation; hardened profile and baseline
ISO/IEC 27001:2022 Annex AA.5.9 Inventory of information and other associated assets, A.8.1 User endpoint devicesRegistered device list; controlled build of endpoints
MITRE ATT&CKT1098.005 Device RegistrationRestricted registration rights and audit of device imports and joins

Common failure patterns

  • Everyone with Intune Administrator can register devices. Registration becomes an untracked way to make any hardware corporate.
  • User account type left at Administrator. Every new hire becomes a local admin on day one, undoing the endpoint hardening that follows.
  • ESP set to allow use after error. Devices reach users without the EDR agent or VPN client, and nobody notices because the device still shows as enrolled.
  • Disposed devices still registered. A recycled or returned laptop still matches your tenant at its next OOBE.
  • Deleting devices from Entra ID first. Out of order deletion leaves orphaned records and breaks reprovisioning.
  • Hardware hashes shared as files. CSV exports left in tickets, mailboxes or shared drives give anyone who finds them the data needed to register those devices elsewhere or understand your estate.

Practitioner checklist

  • Register new devices through the OEM or a CSP partner and agree group tags with the supplier.
  • Create a scoped Autopilot registrar role and separate it from profile authoring.
  • Set User account type to Standard and Allow pre-provisioned deployment to No unless needed.
  • Configure the ESP to block use until required apps install, list the EDR agent as a blocking app and disallow use after error.
  • Block personal Windows enrolment and set an Entra device limit and join restrictions.
  • Require a compliant device in Conditional Access for corporate resources.
  • Keep local Autopilot Reset off unless shared devices need it, and use Windows LAPS where it is on.
  • Follow the Intune, Autopilot, then on-premises AD deregistration order for every disposed, sold or RMA device.
  • Alert on Autopilot imports, deletions and profile changes outside change windows.
  • Reconcile registered serials against the asset register monthly.

Standards and references

Related NHI Mgmt Group resources: Microsoft Intune Guide · Entra Device Identity · TPM and device attestation for enterprise endpoints · Windows Update for Business and Autopatch Security Guide

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 14 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org