win10家庭版开启hyper-V服务
今天在IT之家游泳的时候看到一篇家庭版开启hyper-V的教程,很简单的几句cmd就可以为家庭版用户开启虚拟机服务,原文链接如下:
https://www.ithome.com/html/win10/374942.htm
这里我就记录一下那个cmd代码吧,方便我自己查阅
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