Hello @miliie ,
This usually happens when the device is factory reset locally, or when the management profile/app is removed manually, before Hexnode UEM can receive confirmation from the device.
If the device is already wiped, the disenroll command can no longer reach the old enrollment. The previous device record may then remain in the portal as a pending disenrollment entry and continue to affect the license count.
To clear these residual records:
- Go to Reports > Built-in Reports > Device > Disenrollment pending devices.
- Select the old device entries that belong to the previous enrollments.
- Choose Mark as disenrolled.
This only clears the older residual enrollment records. It does not affect the same devices if they have already been enrolled again as new active records.
For future wipe and re-enrollment workflows, the recommended sequence is:
- Keep the device powered on and connected to the internet.
- In Hexnode, go to Manage and select the device.
- Use Actions > Security > Wipe device to trigger the factory reset remotely.
- After the wipe is completed, clean up any remaining portal records if required.
- Enroll the device again using the intended enrollment method.
If you only want to remove management without wiping the device, use Actions > Device Control > Disenroll device while the device is still online. Avoid removing the MDM profile or management app manually before sending the disenroll command from Hexnode.
Regards,
Simon Scott
Hexnode UEM