Forum Discussion
How to recover or re-add device
It’s the only workaround in your situation.
I was able to resolve this using the following steps:
For Azure AD joined devices Windows 10 devices, take the following steps:
Open the command prompt as an administrator
Enter dsregcmd /forcerecovery (You need to be an administrator to perform this action).
Click “Sign in” in the dialog that opens up and continue with the sign in process.
Sign out and sign in back to the device to complete the recovery.
https://docs.microsoft.com/en-us/azure/active-directory/devices/faq
Just for good measure I gave user temporarly administrator priviledges & followed the steps initially to remove the device
e.g.
1) dsregcmd /debug /leave
2) Reboot
3) Add user to local-admins
4) Log-off & on again
5) dsregcmd /forcerecovery (I was unable to use the GUI, it did not “work” e.g. no sign-in screen showed.)
I used this for:
https://www.technipages.com/fix-office-365-error-70003-your-organization-has-deleted-this-device?unapproved=1033343&moderation-hash=4c1bd2119308ea6ec3a95df729a416f5#comment-1033343
It might resolve your issue aswell
- RestaurantITGuyFeb 02, 2024Copper Contributor
Dutch2005nlIt worked! Much thanks for being a life saver
- shalafoundationAug 22, 2023Copper Contributordsregcmd /forcerecovery on the cmd line worked PERFECTLY! Thanks so much
- AubreyM1870Aug 16, 2024Copper ContributorThis is Legendary, i just restored my IT Manager now
- JMT-SATX210Apr 10, 2023Copper Contributor
This saved me. I accidentally deleted a device from the admin portal and my employee could not recieve emails. The "dsregcmd /forcerecovery" wouldn't launch until the user was set up as an admin, and on a fresh restart. We are up and running now. Thank you!!!
- KeithUKFeb 13, 2023Copper ContributorI had a similar problem with a computer where the device had been deleted on AzureAD by mistake. Found using "dsregcmd /forcerecovery" worked for me.
Was a few seconds away from resetting the PC as nothing else had worked when I spotted this suggestion. Saved me a lot of time and have made a note of the command in case it occurs on another device. - AmirShahzadJul 16, 2021Copper ContributorI deleted the device from my AzureAD and wanted the new named device to show here and the above solution worked for me. thank you.
- D_Wallace3086Nov 05, 2021Copper Contributorme too!