Forum Discussion
Deleted Device from Intune - Lost recovery key
- Apr 28, 2025
Only registered devices are automatically deleted from Entra after you delete them from Intune.
If your devices are provisioned via Autopilot, they will not be deleted from Entra after you delete them from Intune as the Entra object is linked to the Autopilot enrollment.
If you have a local administrator, you can try to clean the TPM and install a new OS image on your device.
And for the next time it happens, hope not to, go directly under the
https://account.microsoft.com/devices/recoverykey with the user account for the specific device, you should be able to find the key.
Good luck!
Hi
I ended up in a similar situation recently, and I got around it by following the steps below.
Good luck
1. Start Windows installation via USB;
2. Proceed with the installation until you reach the screen where you will select the disk for installation;
3. On this screen press Shift+F10 to open the Command Prompt;
4. Enter the commands below:
diskpart [Enter]
list disk [Enter]
select disk 0 [Enter](Change the 0 to the number of the disk you want to install Windows)
clean [Enter]
create partition primary [Enter]
exit [Enter]
exit [Enter]
5. Close the command prompt and go back to the installation;
6. Click the update button and the newly created partition will appear, select it and proceed with the installation.