怎么开启windows hypervisor platform,解决hypervisor platform消失无法安装的问题
正常的windows功能面板
我的
很好,没有安装windows hypervisor platform的机会,但是没关系
然后cmd 或powershll 管理员身份运行
Dism /online /Get-Features
可以查看到hypervisor platform是禁用状态
pushd “%~dp0”
dir /b %SystemRoot%\servicing\Packages*HypervisorPlatform*.mum >hypervisorplatform.txt
for /f %%i in (‘findstr /i . hypervisorplatform.txt 2^>nul’) do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages%%i"
del hypervisorplatform.txt
Dism /online /enable-feature /featurename:HypervisorPlatform /LimitAccess /ALL
pause
以上代码保存为.cmd文件 然后使用管理员身份运行,然后重启就安装好了
eg:cmd.exe或powershell 不能直接敲这些命令,需要改动下
重启之后可以用Dism /online /Get-Features查看,但是,windows功能界面还不能看到HypervisorPlatform
eg:命令文档
https://msdn.microsoft.com/zh-cn/library/windows/hardware/dn898547(v=vs.85).aspx?f=255&MSPPError=-2147217396
https://msdn.microsoft.com/zh-tw/library/windows/hardware/dn938336(v=vs.85).aspx