Hey @tomas . This usually happens when the device keeps leftover enrollment data in the registry, even after it is removed from the console. Clearing those entries should fix it.
Here’s what you can do: open Registry Editor and then,
- Remove old management profiles.
Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Provisioning\OMADM\Accounts. Delete every folder you see inside Accounts. These are leftover management profiles.
- Remove previous enrollment data.
Open HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Enrollments. Delete all folders under Enrollments. These are the records that tell Windows that the device is still enrolled.
Once both locations are cleared, Windows should no longer think the device is managed.
Best Regards,
Isabel Lora
Hexnode UEM