Avatar of tjie
tjie
Flag for United States of America asked on

Add a security group to a Local Admin group of a virtual machine

Hi,
 
  I have Dell Server PowerEdge R510 with the Windows server 2019 Operating System.
 This server hosted several Virtual Machines. The name of this server is “Server6”
There is a virtual machine called “VM-MFA”
In the Active Directory (User and computer), there is a security group called “MFA”
I have got both access permission to “Server6” and “VM-MFA”
 
The Goal: I must ADD this security group “MFA” to the Local Admin group of this virtual machine “VM-MFA”.
 
Somebody would show me how to do it please.


Thanks,

Tjie

SecurityVirtualizationDellActive Directory

Avatar of undefined
Last Comment
Michael B. Smith

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Michael B. Smith

Is Server6 a member of the domain?

I would do it with PowerShell.

On the VM-MFA vm, open PowerShell elevated then enter:
Add-LocalGroupMember -Group Administrators -Member $env:userdomain\MFA

Open in new window

This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23