Win10 家庭版开启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

将以上脚本保存为Hyper-V.cmd ,并以管理员权限执行,之后按照要求重启,便可完成对应功能的安装。

在contarna中搜索Hyper,并打开对应用,创建自己的虚拟机。

猜你喜欢

转载自blog.csdn.net/u011494885/article/details/83549254