Hyper-V的VS Emulator for Android错误 [英] VS Emulator for Android error with Hyper-V

查看:137
本文介绍了Hyper-V的VS Emulator for Android错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试为Android运行Visual Studio模拟器时,出现以下错误.

When I try to run the Visual Studio emulator for Android I get the following error.

无法将用户添加到Hyper-V管理员组.退出代码2220"

我能够毫无问题地运行Windows Phone仿真器,因此显然存在管理员组.尝试以管理员身份运行,但结果相同.

I am able to run the Windows Phone emulator without problem, so the administrators group is obviously present. Have tried to run as administrator with same result.

在Windows 10周年更新(14393.10)上运行Visual Studio Enterprise 2015.

Running Visual Studio Enterprise 2015 on Windows 10 Anniversary update (14393.10).

推荐答案

该问题可能与您已经或开始使用的Windows版本有关.您必须先安装Pro. 从家庭升级到专业版尚不完整.

The problem may be related to the version of Windows you have or started with. You have to start with a Pro install. Upgrading from Home to Pro is incomplete.

我最近发现,如果您从 MSDN Windows 10(多个版本)1607版开始并安装它,则默认为 Home 版本.放入Pro Key进行升级后,它将变为" Pro ";但不是真的. "用户和组"管理单元将不起作用,因为您受困于"首页"中的安全模型.升级后,您需要重置安装-但不要删除/格式化分区,否则您将再次获得"首页"版本.

I recently discovered if you start with the MSDN Windows 10 (Multiple Editions), Version 1607 and install it, it defaults to the Home edition. Once you put in the Pro Key to upgrade it, it becomes "Pro"; but not really. The "Users And Group" snap-in will not work, you are stuck with the security model in "Home". Once you have upgraded, you need to Reset the installation -- but do not delete/format the partition or you get a "Home" edition again.

MSDN版本不允许您选择家庭/专业版,并且没有要下载的专业版版本.非常令人沮丧.微软对此已经了解了将近一年.

The MSDN version does not allow you to select Home/Pro and there is no Pro version to download. Very frustrating. MS has known about this for almost a year.

有人推测是因为他们删除了包含 Hyper-V Administrators 的默认组定义文件,但是我使用Net命令在"首页"中创建了该组而且仍然无法正常工作.

Some have postulated it is because they removed a Default group definition file that included Hyper-V Administrators, but I created the group in "Home" using a Net command and it still does not work.

这篇关于Hyper-V的VS Emulator for Android错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆