2024年11月Win10家庭版安装Hyper-V虚拟机教程

发布时间:

  ⑴pushd "%~dp"

  ⑵dir /b %SystemRoot%servicingPackages*Hyper-V*.mum >hyper-v.txt

  ⑶for /f %%i in ('findstr /i . hyper-v.txt ^>nul') do dism /online /norestart /add-package:"%SystemRoot%servicingPackages%%i"

  ⑷del hyper-v.txt

  ⑸Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAess /ALL