简体   繁体   中英

Failed to add current user to Hyper-V administrators group error when installing Visual Studio Community 2013

I used to have Visual Studio Express installed on my laptop, which worked well, but when I heard Community 2013 was made available for free I decided to install it. However, after running the install process I got the error:

Failed to add current user to Hyper-V administrators group

Try net localgroup "Hyper-V Administrators" <username> /add

in an elevated command prompt

It's case sensitive apparently:

Try net localgroup "Hyper-V Administrators" /add

Please check the right name of Hyper-V Administrators group. The group name may be different in the different locales.

Open the window Windows+R -> lusrmgr.msc in this window you may check all groups in your system and use command

net localgroup "<Hyper-V group name>" <username> /add

For me below steps worked with me

preflight checks can all be individually disabled. For the HyperV check you can use:

minishift config set skip-check-hyperv-driver true

If you prefer the check to happen, but not fail startup, you can use the warn option instead:

minishift config set warn-check-hyperv-driver true

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM