Win10家庭版安装Type-v
1.创建文本文档,将一下代码粘贴进去
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
2.另存为 run.cmd,并关闭
3.右键以管理员运行run.cmd
4.脚本自动运行安装,到最后根据提示输入Y,重启