Translate

Tuesday, January 14, 2025

How To add an AzureAD, EntraID or Active Directory user to the Local Administrators Group via CMD

  1. First login and then out as the user you want to make an administrator if they have never logged into the device before
  2. Login as a Local admin on the device
  3. Open Command Prompt as an Administrator and run the command bellow
    "net localgroup administrators AzureAD\JohnDoe /add"
  • make sure to change AzureAD to the AD Domain name if Applicable
  • make sure to change JohnDoe to the name of the user in the Users folder (Example: C:/users)

No comments:

Post a Comment