开启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/
来源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。

相关文章:

  • 2021-08-29
  • 2022-12-23
  • 2021-10-02
  • 2021-11-04
  • 2022-02-09
  • 2021-05-18
  • 2021-04-16
猜你喜欢
  • 2021-09-27
  • 2021-12-16
  • 2022-12-23
  • 2020-11-01
  • 2021-07-27
  • 2021-10-23
  • 2021-12-06
相关资源
相似解决方案