win10 hyper-v 配置教程
非家庭版跳过以下这一步。
pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hv.txt
for /f %%i in ('findstr /i . hv.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
del hv.txt
Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
Pause
塞到 bat 里,以管理员身份运行。
重启电脑后,Hyper-V就已经安装完成了。但为了验证,我们可以在“Windows 功能”中,再次确认一下。在搜索框中输入“Windows功能”,然后点击“启用或关闭Windows功能。


然后搜索 \(hyper-v\) 快速创建。

浙公网安备 33010602011771号