To deregister a computer from Microsoft Intune, an administrator retires, wipes or deletes the device in the Intune admin center, and the user can also disconnect the work account on the PC. Which method you choose depends on whether you want to remove only company data, erase the whole device, or just remove the record. This guide explains each option, the steps, the cleanup in Microsoft Entra ID and Autopilot, and common errors.
Key takeaways
- Retire removes company data, apps and settings, and leaves personal data on the device.
- Wipe resets the device to factory settings and erases everything.
- Delete removes the device record from Intune and does not erase data by itself.
- Also clean up the Microsoft Entra ID device record and any Windows Autopilot registration, or the device may re-enroll or leave stale records.
- Always save BitLocker recovery keys and back up needed data before you retire or wipe.
What does it mean to deregister a device from Intune?
Deregistering means ending Intune management of a device, so it no longer receives policies, apps and settings from your organization. People do this when an employee leaves, a device is sold or reassigned, a laptop is replaced, or a device was enrolled by mistake. Menu names in the Microsoft portals change from time to time, so check Microsoft documentation if a label differs from what you see here.
Retire vs wipe vs delete: which should you use?
Use retire to remove company control and keep personal data, wipe to reset the device completely, and delete to remove a stale record. The diagram and table show the difference.
| Action | What it does | Personal data | Use when |
|---|---|---|---|
| Retire | Removes company data, apps, settings and the management relationship | Stays on the device | Employee leaves, or a personal device is removed from management |
| Wipe | Resets the device to factory settings | Erased | Lost or stolen device, resale, or a full re-image |
| Delete | Removes the device record from Intune | Not touched | Stale or retired device that no longer checks in |
How do you retire or wipe a computer in the Intune admin center?
Sign in to the Microsoft Intune admin center, open the device list, select the computer and choose Retire or Wipe. Follow these steps:
- Check the device. Confirm the user, the device name and whether you have a current backup and the BitLocker recovery key.
- Open the device. Go to Devices, then All devices, and select the computer.
- Choose the action. Select Retire to remove company data, or Wipe to factory reset. For wipe, read the options carefully, for example whether to keep enrollment state or the user account.
- Confirm. The action is sent to the device at its next check-in, so the device must be online and able to connect.
- Check the status. Watch the action status on the device page until it shows complete.
- Delete the record (optional). After the retire or wipe completes, select Delete to remove the stale record from the list.
How do you disconnect a Windows PC yourself?
On the PC, open Settings, then Accounts, then Access work or school, select the work account and choose Disconnect. This removes the work or school account and the management connection from that device. Notes:
- If the Disconnect option is missing or grayed out, your organization may block it, so an administrator must retire the device first.
- On a device that is joined to Microsoft Entra ID (work-owned), disconnecting may not be allowed, and you may need a local administrator account or a reset of the PC.
- You can check the join state with
dsregcmd /statusin an elevated Command Prompt. To leave a joined state, administrators sometimes usedsregcmd /leave, but only do this when you understand the effect and have another way to sign in. - After disconnecting, restart the PC and check that company apps and policies are gone.
What cleanup is needed after you deregister?
After you deregister, also remove stale records in Microsoft Entra ID and Windows Autopilot so the device does not reappear. Follow this checklist:
- Microsoft Entra ID. In the Microsoft Entra admin center, find the device under Devices and delete the stale object if the device is no longer used.
- Windows Autopilot. If the device is registered with Autopilot, delete the Autopilot device record, or it may enroll again the next time it starts setup.
- Groups and assignments. Remove the device or user from groups that assign policies and apps.
- Licenses and users. Confirm license and user assignments are updated.
- BitLocker keys. Save recovery keys before you wipe or delete, because the key record is tied to the device object.
- Inventory. Update your asset list, and plan secure disposal. See our guide to IT asset disposition (ITAD).
You can also set device cleanup rules in Intune to remove devices that have not checked in for a set number of days, which keeps the list tidy.
What are common errors and fixes?
Most problems come from a device that is offline, a stale record or a policy that blocks removal. Try these fixes:
- Retire or wipe stays pending. The device is offline or cannot reach Intune. Connect it to the internet, restart it and sync, or wait for the next check-in.
- Device cannot be removed from the work account. The Disconnect option may be blocked. Ask an administrator to retire the device.
- Device re-enrolls automatically. An Autopilot record, an automatic enrollment policy or a group policy may be re-enrolling it. Remove the Autopilot record, and check the automatic MDM enrollment setting. See our guides to the Group Policy Management Console and RSoP for checking which policies apply.
- Duplicate or stale records. Delete the old record after the new device is confirmed.
- Enrollment fails with an already-enrolled message. Remove the old work account and stale Intune and Entra records, then try again.
What are best practices when removing devices?
Plan the process so you do not lose data or leave gaps. Good habits include:
- Document an offboarding checklist for devices, accounts and licenses.
- Back up user data before you wipe, and store BitLocker keys safely.
- Retire personal or bring-your-own devices and wipe company-owned ones, in line with your policy. Related ideas are covered in our guide to CYOD and the acceptable use policy.
- Follow your data retention policy before deleting any data.
- Lock screens and remove access quickly for lost devices, and follow a clean desk policy for shared spaces.
Frequently asked questions
What is the difference between retire and delete in Intune?
Retire removes company data and management from the device. Delete only removes the device record from Intune and does not change the device itself. Retire first, then delete the record.
Does retiring a device delete personal data?
No. Retire removes company data, apps and settings, and leaves personal files. Wipe is the action that erases everything.
Can I deregister a device that is offline?
The action is delivered when the device next checks in. For a device that will never come back, such as a lost one, you can delete the record, but the device itself is not cleaned unless it connects.
How do I remove a computer from Intune without admin rights?
On the PC, go to Settings, Accounts, Access work or school and choose Disconnect. If it is blocked, you need an administrator to retire the device.
Do I need to remove the device from Microsoft Entra ID too?
Usually yes, if you are retiring the device for good. Delete the stale Entra object and any Autopilot record so the device does not reappear or re-enroll.
Conclusion
Deregistering a computer from Intune is easy when you pick the right action: retire to remove company control, wipe to reset the device and delete to clean up the record. Back up data and BitLocker keys first, remove the Entra and Autopilot records, and verify that the device no longer receives policies. A short offboarding checklist keeps your device list clean and secure.