Windows device says already enrolled during Hexnode re-enrollmentSolved

Participant
Discussion
4 days ago Aug 20, 2026

Trying to re-enroll a Windows desktop in Hexnode after it was disenrolled. Even after reformatting the device, the installer stops with: “Your device is already enrolled with your organization. Disenroll your device or remove the work/school account and run the installer again.” Settings > Accounts > Access work or school does not show any connected work or school account. What else could make Windows think the device is still enrolled?

Replies (4)

Marked SolutionPending Review
Hexnode Expert
4 days ago Aug 20, 2026
Marked SolutionPending Review

This can happen if Windows still has orphaned MDM enrollment entries in the registry, even when no work or school account appears in Settings. On the affected Windows device, check the following registry locations:

  1. Open Registry Editor and go to: HKLM\SOFTWARE\Microsoft\Provisioning\OMADM\Accounts. If any folders are present under Accounts, delete them. If required, the entire Accounts folder can also be removed.
  2. Then go to: HKLM\SOFTWARE\Microsoft\Enrollments. In this location, Windows may keep a couple of default system folders that cannot be deleted. Leave those as they are. Delete any other non-default folders present under Enrollments.

After clearing these leftover enrollment records, download the latest Hexnode Windows installer from the enrollment page of your Hexnode portal and run that installer. Avoid using an older installer that was downloaded previously.

Marked SolutionPending Review
Participant
4 days ago Aug 20, 2026
Marked SolutionPending Review

We tried checking Access work or school first and there was nothing listed. The device had also been reformatted, so we assumed there couldn’t be anything left. The error still showed up until our IT team checked the registry paths.

Marked SolutionPending Review
Hexnode Expert
4 days ago Aug 20, 2026
Marked SolutionPending Review

The key part is that a reformat or account removal does not always clear every MDM enrollment artifact Windows uses during enrollment. If the Hexnode installer detects those stale OMADM or enrollment records, it can treat the device as already enrolled. Make sure all entries under HKLM\SOFTWARE\Microsoft\Provisioning\OMADM\Accounts are removed, and that only the default system folders remain under HKLM\SOFTWARE\Microsoft\Enrollments. Once that cleanup is complete, use a freshly downloaded Hexnode installer for re-enrollment.

Marked SolutionPending Review
Participant
3 days ago Aug 20, 2026
Marked SolutionPending Review

Confirmed this fixed it for us. After IT deleted the leftover registry entries and used the latest installer, the Windows desktop enrolled successfully.

Save