Win10家庭版 开启Hyper-V

一直使用Oracle的Virtual Box做虚拟机,但是最近想做win7虚拟机时发现各种不给力,时不时黑屏。于是想试试免费,系统自带,兼容性可靠的Win10自带虚拟机Hyper-V。

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(在开始菜单中)

猜你喜欢

转载自blog.csdn.net/hotcoffie/article/details/85043581