进入高架模式下运行PowerShell的(以管理员身份运行) 和工作站运行
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All
停止工作站并转到设置/处理器/虚拟化引擎并设置:
- 首选模式:二进制翻译自动
- 禁用加速:未选中
- 虚拟化的英特尔VT-x/EPT或AMD-V/RVI:检查
- 虚拟化CPU性能计数器:检查
开始工作站并运行lusrmgr.msc
并检查您的帐户是否位于Hyper-V Administratiors组中
检入HV主机服务和Hyper-V虚拟机管理已启动并正在运行的服务。
如果Error 31: A device attached to the system is not functioning
按照here的步骤操作。
The fix is:
- Shut down Workstation.
- Open the registry (Start > Run > regedit).
- Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\hcmon.
- Create a new key called Parameters.
- In Parameters, create a new DWORD value entry named DisableDriverCheck, and then set the value to 1.
- Reboot
Appears this issue is for Windows 7 host. The fix worked on the few I tried.
如果错误31仍然显示在升高的模式工作站命令提示符下运行(运行作为管理员),然后键入
bcdedit /set "{current}" hypervisorlaunchtype auto
,然后重新启动工作站。
再次检查HV主机服务和Hyper-V虚拟机管理已启动并正在运行的服务。
转到网络和共享中心/更改适配器设置以及禁用和重新启用与名称的所有适配器:vEthernet(内置以太网端口的Windows Phone模拟器内部开关)
而且现在你应该运行模拟器。 ..;)
是Windows日志文件给什么,寻找线索有更多的条目? – lokusking
@lokusking,你的意思是事件日志?无法看到任何附注 – Benjol
[Some stuff](https://social.technet.microsoft.com/Forums/de-DE/396c882f-2cc8-4bc8-804d-eec75c0b8066/virtual-machine-could-not-be - 因为管理程序不在运行?forum = winserverhyperv)在你没有阅读它的情况下阅读。和[更多内容](https://technet.microsoft.com/en-us/windows-server-docs/compute/hyper-v/best-practices-analyzer/windows-hypervisor-must-be-running) – lokusking