←水@痕→
若水无痕

开启Hyper-V

添加方法非常简单,把以下内容保存为.cmd文件,然后以管理员身份打开这个文件。提示重启时保存好文件重启吧,重启完成就能使用功能完整的Hyper-V了。

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


作者:donglc
链接:https://www.jianshu.com/p/1329954aa329/
来源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。
posted on 2019-06-23 18:05  若水无痕  阅读(1225)  评论(0编辑  收藏  举报