I am receiving the error \"Unable to add user to the Hyper-V Administrators group. Exit code 2220\" while attempting to deploy to an MS Android emulator. I am able to deploy win
I spent quite a bit of time on this same problem.
Here is a fix:
I knew that the problem was upgrading from Home -> Pro and already having the anniversary update. Several times I tried reinstalling with the Windows Media Creation Tool, however, this tool does not offer a Pro option and will only install the default version of Windows in your Registry and then force you to upgrade through the Windows Store.
So how do you force Windows to install Pro? I believe this is new with the anniversary update, but go to "Recovery" in "Settings" and click "Get Started" under "Reset this PC". I did a clean reinstall (no saved files or settings, so I don't know if the alternative will work) and Windows took care of the rest. I think this works because the tool uses the CURRENT version of Windows you have and reinstalls that.