Is it possible to delete a user account from a laptop using Intune?

Priyanka Mathur 20 Reputation points
2023-12-03T23:39:26.95+00:00

Is it possible to delete a user account from a laptop using Intune?

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,693 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,460 questions
0 comments No comments
{count} votes

Accepted answer
  1. S.Sengupta 17,121 Reputation points MVP
    2023-12-04T00:28:10.05+00:00

    No, it is not possible to directly delete a user account from a laptop using Intune. Intune is a cloud-based service that provides mobile device management and application management for organizations. It does not have the capability to manage user accounts directly on devices.

    You can either retire or, reset the device from Intune, which will remove all user accounts as well as data from the device.


1 additional answer

Sort by: Most helpful
  1. Crystal-MSFT 45,896 Reputation points Microsoft Vendor
    2024-01-01T02:05:16.6866667+00:00

    @Priyanka Mathur, Thanks for posting in Q&A. If you want to delete a local user account from laptop, you can use PowerShell command to remove local account.

    https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.localaccounts/remove-localuser?view=powershell-5.1

    If the above command is working, then we can deploy the PowerShell script via Intune. Here is a link for your reference:

    https://learn.microsoft.com/en-us/mem/intune/apps/intune-management-extension

    Hope the above information can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments