www.cftea.com

Windows 10 家庭版安装 Hyper-V

ITPOW2019/6/15 15:13:36

Windows 10 家庭版本身是不能安装 Hyper-V 的,在安装前,需执行点代码:

pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt
for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
del hyper-v.txt
Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL

注意:需以管理员身份运行。

安装完成,在控制面板->程序->程序和功能,启用和关闭 Windows 功能。

<<返回首页<<