Forum Discussion
Luke_Pulis
Mar 24, 2020Tin Contributor
How to recover or re-add device
Hi, To try and make a long story short, I have 2 devices, Device 1 one belonged to me and Device 2 belonged to someone previously. I had taken Device 2 because the specs we're better and am giving ...
Luke_Pulis
Mar 25, 2020Tin Contributor
Hi, Moe_Kinani
From looking at the command I assume this makes a spare device on AD to which I can then add the device to the already existing user?
Moe_Kinani
Mar 25, 2020Bronze Contributor
Correct.
It’s the only workaround in your situation.
It’s the only workaround in your situation.
- Dutch2005nlJun 01, 2021Tin Contributor
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
- amojabiOct 09, 2025Copper Contributor
nothing else, including microsoft support, worked until i tried this.
dsregcmd /forcerecovery >> sign in worked like a charm
- RestaurantITGuyFeb 02, 2024Copper Contributor
Dutch2005nlIt worked! Much thanks for being a life saver
- shalafoundationAug 21, 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