How to give a standard user a local admin rights on Windows devices via Intune?

Vinod Survase 4,781 Reputation points
2023-04-20T10:23:47.78+00:00

How to give a standard user a local admin rights on Windows devices via Intune? What are the ways to do it and how I can achieve this as I tried EPM in Intune but somehow it did not work may be because of the policy or something is not configured correctly?

Microsoft Security | Intune | Configuration
Microsoft Security | Intune | Application management
Windows for business | Windows Client for IT Pros | User experience | Other
Microsoft Security | Intune | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Pavel yannara Mirochnitchenko 13,336 Reputation points MVP
    2023-04-20T10:36:31.81+00:00

    Try this powershell and deploy it to current user; add-localgroupmember -Group "Administrators" -Member "AzureAD$env:USERNAME" I use the same but with different cmdlet to remove local admin. I highly recommend that you DON'T want to do this :D


  2. Crystal-MSFT 53,991 Reputation points Microsoft External Staff
    2023-04-21T01:18:51.58+00:00

    @Vinod Survase, Thanks for posting in Q&A.

    For the policy, could you confirm if we tried the policy in the following link to add the user into local administrators group? If not, try this one and see if it works.

    https://techcommunity.microsoft.com/t5/intune-customer-success/new-settings-available-to-configure-local-user-group-membership/ba-p/3093207

    However, if the above profile is still not working, please collect the following information to clarify:

    1. What is the profile deploy status? Is it successful or failed?
    2. How many devices are affected? What are these devices' join type, Azure AD joined or Hybrid Azure AD joined?

    If there's any update, feel free to let us know.


    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.