Part 6: Reset, Retire and Reuse Windows Autopilot Devices Safely in Intune
Autopilot Reset, Wipe and Fresh Start compared, a handover to a new user, and the safe order for retiring a device.

Advertising disclosure: this article includes partner links. KBY may earn a commission if you sign up or buy through one, at no extra cost to you. How we make money.
Continue the series
You are reading Part 6 of 6
Windows Autopilot with Intune, Step by Step
Underlined words are defined in the KBY Lexicon. Tap or click one to see what it means.
#What this part does
A deployed device does not stay with one person for ever. This part covers the three things that happen next: passing the laptop to a new user, cleaning it up for the same user, and retiring it when it leaves the organisation. Each has its own action in Intune, and choosing the wrong one is how devices lose their Autopilot registration or their BitLocker recovery keys.
By the end, you will have reset the pilot laptop for a second pilot user, and you will know the order Microsoft documents for retiring a device for good.
#Where the pilot stands after Part 5
The pilot laptop completed its first deployment in Part 5. It is Microsoft Entra joined, enrolled in Intune under a PILOT- name, still registered in Windows Autopilot with the group tag AP-Pilot, and its first pilot user is its primary user. Its Microsoft Entra device object also holds the BitLocker recovery keys that Intune shows under the device’s Recovery keys.
That last detail shapes everything below. Deleting a Microsoft Entra device removes all the details attached to it, BitLocker keys included, and the deletion cannot be undone. This is why no step in this series deletes the Entra object by hand.
#Three ways to reset a device, compared
Intune offers three actions that look alike but leave the device in very different states. The table sets out what each one keeps, based on Microsoft’s documentation for each action.
| Action | What it removes | What it keeps | Use it when |
|---|---|---|---|
| Autopilot Reset | Personal files, apps and settings | The Microsoft Entra join, the Intune enrolment, Wi-Fi details, provisioning packages and SCEP certificates | The laptop moves to a new user inside the organisation |
| Wipe, no options selected | Everything: a full factory reset | Nothing on the device. The Autopilot registration stays in the service, so the laptop can deploy again from OOBE | The laptop is being rebuilt from scratch, or is about to leave |
| Fresh Start, with Retain user data on this device | Apps, including preinstalled OEM apps, and settings | The Entra join and the user’s Home folder; the device re-enrols when an Entra user signs in | The same user keeps the laptop but it needs cleaning up |
Fresh Start needs one warning of its own. Without Retain user data on this device, it restores Windows to a completed OOBE state with the built-in administrator account, so Autopilot does not run. It is a clean-up tool for the current user, not a way to hand the laptop on.
#Hand the pilot laptop to a new user
Autopilot Reset is the right tool for a handover, because it removes the first user’s data without breaking the laptop’s link to Entra ID and Intune. The remote version needs a device that is managed by Intune and joined to Microsoft Entra ID, which the pilot laptop is. It does not support Microsoft Entra hybrid joined devices; those need a full wipe instead.
Two checks come first. Ask the first pilot user to move anything they need to OneDrive or another approved location, since the reset removes personal files. Then confirm that the Windows Recovery Environment is enabled on the laptop: without it the reset fails with ERROR_NOT_SUPPORTED (0x80070032), and Microsoft’s fix is to run reagentc.exe /enable on the device.
Once both are done, start the reset from the Intune admin centre
- Go to Devices > All devices and select the pilot laptop.
- Select More, then Autopilot Reset, and confirm.
Following along? Tap a step’s number to tick it off.
A remote reset requires the Intune Service Administrator role. The reset removes the device’s primary user and Entra device owner, so the next person to sign in becomes both. Have a second member of SG-Autopilot-Pilot sign in after the reset. Windows keeps them from the desktop until it has restored the kept settings and completed an MDM sync, and Intune then applies whatever is assigned to them.
Local Autopilot Reset, started with Ctrl+Windows+R on the lock screen, is off by default. It needs the Autopilot Reset device restriction set to Allow, and it does not change the primary user, so this series uses the remote reset.
#Retire a device that is leaving
When a laptop leaves the organisation for good, at the end of its life or before it is sold or returned, it should also leave Windows Autopilot. A device that permanently leaves should be deregistered, and skipping steps or removing records out of order can leave orphaned records or unrecoverable devices. The order matters for BitLocker as well. Deleting the Intune record of an Entra-joined device protected by BitLocker removes the key protectors on the system drive and leaves BitLocker suspended, so the wipe has to come before the deletion.
Work through these steps with the laptop in hand and switched on
- Wipe it. In Devices > All devices, select the laptop, then Remove data > Wipe. Leave both options cleared for a full factory reset, and confirm. The laptop restarts into Windows setup when the wipe has run. If your tenant uses multiple administrative approval, a second administrator approves the wipe first.
- Delete it from Intune. Note the serial number, then in Devices > Windows find the laptop, select Delete and confirm with Yes.
- Deregister it from Autopilot. Go to Devices > Windows, select Enrollment under Device onboarding, then Devices under Windows Autopilot. Find the serial number and select the device. If Unassign user appears in the … menu, select it and confirm. Then select Delete and Yes.
- Leave the Microsoft Entra object alone. Microsoft advises against deleting it manually, because that can cause unexpected issues. For a device that was enrolled in Intune, deregistration does not delete it automatically, and it can stay in Entra ID.
Deregistration can take some time to show. Select Sync, then Refresh every few minutes until the serial number disappears.
A laptop going away for repair is a special case. Microsoft lists repair as a reason to deregister, and a replaced motherboard can change the hardware hash. Register it again, as in Part 2, when it comes back.
#How to tell it worked
Each path ends in a state you can see in the admin centre:
- Handover: after the second pilot user signs in, the laptop still appears in Devices > All devices with the new user as its primary user, and in Windows Autopilot devices with the
AP-Pilottag and its profile still Assigned. - Retirement: the serial number no longer appears in Windows Autopilot devices, and the laptop is gone from Devices > All devices.
If something goes wrong, these are the usual reasons:
| What you see | Likely cause | What to do |
|---|---|---|
| Autopilot Reset fails with 0x80070032 | The Windows Recovery Environment is disabled | Run reagentc.exe /enable on the device, then reset again |
| Autopilot Reset is missing or refused | The device is hybrid joined, or your role lacks the permission | Use a full wipe for hybrid devices; check your Intune role |
| The serial number stays in Windows Autopilot devices after Delete | Deregistration has not finished yet | Select Sync and Refresh every few minutes; check that the Intune record was deleted first |
| A retired laptop deploys again with your branding | It was wiped but never deregistered | Deregister it, as in step 3 |
#The complete model, and what to decide next
Across six parts, the pilot now covers a device’s whole life. Part 1 prepared the tenant, Part 2 registered the hardware with the AP-Pilot tag, and Part 3 assigned a user-driven Entra join profile through SG-Autopilot-Devices-Pilot. Part 4 added an ESP that blocks for a short list of Win32 apps, Part 5 ran and diagnosed the first deployment, and this part handed the laptop on and retired it in Microsoft’s order.
Keep the pilot running for a while before widening it, and review it on a regular cycle, monthly works for most teams. Each review should cover four things: the Windows Autopilot deployments report for failures and slow device setup phases, the blocking app list against the 90-minute time-out, any device that has left without being deregistered, and Microsoft’s Autopilot documentation for changes since your last check.
The safe next decision is how far to widen the scope. Ask your OEM or reseller to register new devices directly, then set a group tag on them as they appear. Then add a second tagged group for one department, using a copy of the pilot profile and ESP. Leave the all-devices [ZTDid] rule from Part 3 until each tagged group has completed deployments cleanly.
About this page
Credited to
Dates
Published
Sources
Corrections
No corrections are listed for this page. Some review sweeps corrected pages without naming each one; those are in the corrections log.
Found this useful? Follow KBY for more like it.
Related labs
Calculators and what-if tools that go with this article.
- Intune AssignmentsCheck whether a user and device receive an Intune app or policy: group include and exclude rules, assignment filters in include or exclude mode, and app intent conflicts.Open the lab
- Apple Update DatesWork out when an iOS or macOS update becomes visible under a Declarative Device Management or legacy deferral, and when a DDM enforcement deadline forces the install.Open the lab
- Port LookupSearch ports and protocols for common infrastructure services, plus the network requirements for Intune, Autopilot, Apple push notifications and Entra Connect, with copy-ready firewall rules.Open the lab
Recommended reading
More from KBY that goes with this article.

- Microsoft Intune error
0x800705b4: Autopilot self-deploying mode fails at Securing your hardware
2 min read

Related articles
Enterprise IT Management
Part 3: Create a Windows Autopilot Deployment Profile and Dynamic Device Group in Intune
Build a dynamic device group on the AP-Pilot group tag and assign it a user-driven Entra join profile. Wait for the profile status to show Assigned before you deploy.
ReadEnterprise IT Management
Part 5: Run Your First Windows Autopilot Deployment and Fix ESP Device Setup Timeouts
Run the first user-driven Autopilot deployment, read each ESP phase, collect logs with mdmdiagnosticstool and fix device setup time-outs.
ReadEnterprise IT Management
Part 4: Configure the Intune Enrollment Status Page for Autopilot: Blocking Apps and Timeout
A custom ESP profile on the Autopilot device group, a short Win32 blocking list, quality updates on, and a 90-minute time-out chosen for a reason.
ReadEnterprise IT Management
Design Microsoft 365 Automation That Survives Microsoft Graph Throttling: Retry-After, Batching and Safe Writes
Read Retry-After on every Graph 429, retry only throttled batch items, use delta query and keep writes safe to repeat.
ReadDiscover more
Graduate Learning
- TutorialWorking Out Why an Intune App Install Failed on One Windows Device
- TutorialNarrowing an Intune Policy to the Right Devices with an Assignment Filter
- TutorialCollecting Diagnostics from a Windows Device in Intune and Reading What Comes Back
- TutorialTracing an Endpoint and Device Management Problem with Microsoft Intune
Ops Playbook
- PlaybookReplace Remote-Control Sessions With Intune Device Query for First-Line Windows Triage
- PlaybookFind the Windows Apps That Crash Most With Intune’s Application Reliability Report
- PlaybookDeploy Teams Rooms on Windows With Autopilot Self-Deploying Mode and Autologin
- PlaybookInstall the Configuration Manager Client During Windows Autopilot With Intune Co-Management Settings
Lexicon Definitions
Was this useful?
Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.
Engineering insights, direct to you.
Receive the latest Systems Engineering tutorials, production guides, Engineering Labs and operational best practices.
Comments
Add a thoughtful note on Part 6: Reset, Retire and Reuse Windows Autopilot Devices Safely in Intune. Comments are checked for spam and held for moderation before appearing.