You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
[Environments reliability] Hyper-V Operations: Can't add standard user account to Hyper-V Administrator group if elevating using a separate administrator account #3112
On my computer I have one standard user account and one administrator user account.
When I run Dev Home as standard user and try to create an environment I get the message "The current user is not in the Hyper-V administrators group."
I click the "Add user to group"-button, get a UAC prompt asking for an administrator account, I authenticate with my administrator account, the error message about "The current user is not in the Hyper-V administrators group." disappears.
Expected result
My user is added to Hyper-V administrators group and I am able to create an environment.
Actual result
When I once again try to create an environment I get the same message "The current user is not in the Hyper-V administrators group.".
When I start lusrmgr.msc and look in the Hyper-V Administrators group only my administrator account is added to it, probably because the PowerShell script adds my administrator account instead of my user account to Hyper-V Administrator group.