Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

The account I am using is an admin account. When I checked for solutions I found many people indicating I had to Microsoft Management Console and add myself to the group, however this laptop has Windows 8.1 Core, not pro, so I cannot add the snapin. So I am not really sure what to do in this situation. Do I need to reinstall, running it as admin? Or will I get the same error again?

like image 256
Travis Avatar asked Nov 13 '14 20:11

Travis


2 Answers

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

in an elevated command prompt

like image 148
JaR Avatar answered Nov 08 '22 03:11

JaR


It's case sensitive apparently:

Try net localgroup "Hyper-V Administrators" /add

like image 1
Jeffrey Bane Avatar answered Nov 08 '22 03:11

Jeffrey Bane