Skip to main content
KBY Technologies Logo

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.

A contemporary office setup showcasing external hard drives, laptop, and camera for efficient data management.

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

View all parts

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 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.

Autopilot Reset, Wipe and Fresh Start on an Entra-joined Autopilot device
ActionWhat it removesWhat it keepsUse it when
Autopilot ResetPersonal files, apps and settingsThe Microsoft Entra join, the Intune enrolment, Wi-Fi details, provisioning packages and SCEP certificatesThe laptop moves to a new user inside the organisation
Wipe, no options selectedEverything: a full factory resetNothing on the device. The Autopilot registration stays in the service, so the laptop can deploy again from OOBEThe laptop is being rebuilt from scratch, or is about to leave
Fresh Start, with Retain user data on this deviceApps, including preinstalled OEM apps, and settingsThe Entra join and the user’s Home folder; the device re-enrols when an Entra user signs inThe 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 , 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

  1. Go to Devices > All devices and select the pilot laptop.
  2. 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

  1. 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.
  2. Delete it from Intune. Note the serial number, then in Devices > Windows find the laptop, select Delete and confirm with Yes.
  3. 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.
  4. 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 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-Pilot tag 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:

Common reset and retirement problems
What you seeLikely causeWhat to do
Autopilot Reset fails with 0x80070032The Windows Recovery Environment is disabledRun reagentc.exe /enable on the device, then reset again
Autopilot Reset is missing or refusedThe device is hybrid joined, or your role lacks the permissionUse a full wipe for hybrid devices; check your Intune role
The serial number stays in Windows Autopilot devices after DeleteDeregistration has not finished yetSelect Sync and Refresh every few minutes; check that the Intune record was deleted first
A retired laptop deploys again with your brandingIt was wiped but never deregisteredDeregister 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

This page lists no external sources.

Corrections

No corrections are listed for this page. Some review sweeps corrected pages without naming each one; those are in the corrections log.

Series navigation
Part 6 of 6 in Windows Autopilot with Intune, Step by Step
View full series

Found this useful? Follow KBY for more like it.

Reader Interaction

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.

Loading comments...

More from KBY that goes with this article.

Discover more

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.