0%

windows家庭版开启hyper虚拟机功能

windows家庭版开启hyper虚拟机功能

创建文件hyper.bat,并输入以下内容,保存,双击执行即可

1
2
3
4
5
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
赏口饭吃吧!