To add a user to the Hyper-V Administrators group, you must already have administrative privileges on the host machine. This process allows standard users to manage virtual machines without giving them full system administrator access.
Option 1: Use PowerShell (Fastest)
Open Windows Terminal or PowerShell as an Administrator and run the following command:
powershell
Add-LocalGroupMember -Group “Hyper-V Administrators” -Member “UserName”
Note: Use code with caution.
(Replace “UserName” with the actual account name or “Domain\UserName” for domain accounts).
Option 2: Use Command Prompt
Run Command Prompt as an Administrator and use this syntax:
cmd
net localgroup “Hyper-V Administrators” “UserName” /add
Note: Group names are localized; if your Windows installation is not in English, use net localgroup to find the exact name of the Hyper-V group on your system.
Option 3: Use Computer Management (Graphical)
This is the most common method for Windows 10, 11, and Windows Server users.
- Right-click the Start button and select Computer Management.
- Navigate to System Tools > Local Users and Groups > Groups.
- In the right pane, double-click Hyper-V Administrators.
- Click Add… and enter the username of the person you want to add.
- Click Check Names to verify, then click OK and Apply.
- Important: The user must log out and log back in for the changes to take effect.