How to Remove an Enrolled User from a Windows Device in Intune
Question details
The user needs to remove an enrolled user association from a managed Windows device to pass Microsoft Endpoint compliance requirements.

- Product
- Microsoft Intune
- Device & OS
- Windows
- Scenario
- Managing user profiles and resolving device compliance failures in Microsoft Endpoint Manager.
- Observed behavior
- A Windows device fails a compliance requirement because an enrolled user remains associated with it, and deleting the local Windows profile does not fix the Endpoint user association.
Ensure you have Microsoft Intune Administrator privileges or equivalent permissions to manage device enrollments and change primary user assignments.
Change or Remove the Primary User in Microsoft Endpoint Manager
Reassign or remove the primary user associated with the device directly through the Microsoft Endpoint Manager admin center to resolve the compliance issue.
Deleting a local user profile on a Windows machine only removes the data locally. The device's management record in Intune still lists the user as the primary enrolled user. You must break this association in the Endpoint portal.
Log in to the Microsoft Endpoint Manager admin center using your administrator credentials.
Navigate to 'Devices' and select 'All devices'. Search for and select the specific Windows device that is failing the compliance check.
Click on 'Properties' under the 'Manage' section on the left-hand navigation menu.
Locate the 'Primary user' section and click 'Change primary user' to assign a new user, or 'Remove primary user' to convert it to a shared device.
Save your changes. Go back to the device Overview page and click 'Sync' to force the device to check in with Intune and reevaluate compliance.

Consult the Microsoft Configuration Manager Community
If the device is co-managed or the Endpoint user associations persist due to complex on-premises synced policies, consult specialized support.
Looking for a Lightweight Office Suite? Try WPS Office
While Microsoft Intune effectively manages your Windows device ecosystem, you might also need an efficient, cost-effective productivity suite for your organization's users. WPS Office provides a fully compatible, lightweight, and free alternative to Microsoft Office, ensuring seamless document management across all your managed devices.

Frequently Asked Questions
Why does deleting the local Windows profile not remove the Endpoint user association?
Local profile deletion only removes the user data and registry entries on the physical device itself. The device's management record in Azure AD and Intune still retains the user as the primary enrolled user until it is explicitly reassigned or removed in the Endpoint Manager.
How long does it take for the Intune compliance status to update after changing the primary user?
Once the primary user is updated in the admin center, it can take up to 15-30 minutes for the change to propagate. You can accelerate this process by manually initiating a device sync from the Intune portal or the device's Work/School account settings in Windows.
Can a Windows device have no primary user in Intune?
Yes, devices can be configured as shared devices (without a primary user). This setup is commonly used for kiosks or shared workstations. To transition to this state, you simply use the 'Remove primary user' option in the device properties.




