Adding a regular local user to the local administrators group using GPO

Abdulrahman 101 Reputation points
2023-03-15T12:17:41.97+00:00

Is it possible to add a regular local user to the local administrator group? so in case of emergency I can login to the machine using this local user with admin privileges.

If yes, then how it could be done?

Thank you.

Windows for business Windows Client for IT Pros Directory services Active Directory
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2023-03-15T13:08:47.76+00:00

    Sure thing, you can follow along here.

    https://woshub.com/add-domain-users-local-admin-group-gpo/

    -

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.

  2. Anonymous
    2023-03-16T20:39:53.7266667+00:00

    Ok, sure it's absolutely possible. From Computer Management expand and navigate to Users group, then in right pane right-click the local user (or create a new one), Properties, then on Member Of tab, Add, type in "administrators", check names, OK.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    User's image

    1 person found this answer helpful.

  3. Anonymous
    2023-03-17T14:23:35.26+00:00

    Yes, you could do this with PowerShell.

    Add-LocalGroupMember -Group "Administrators" -Member "Admin02", "MicrosoftAccount\******@Outlook.com", "AzureAD\******@contoso.com", "CONTOSO\Domain Admins"
    
    

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

    -

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.

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.