Win10中找不到Typer-V解决办法

版权声明:未经本人允许,不得转载本博客,转载请注明地址 https://blog.csdn.net/qq_34691713/article/details/82351278

在Win10下安装Docker的时候,需要打开Typer-V服务,但是需要win10专业版以上的版本,为此我上网搜了方法

1.首先新建txt文本

2.输入以下代码

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

3.重命名文件为.bat文件

4.运行到最后选择Yes,重启电脑,在左下角    开始电脑->Windows管理工具->找到Typer-V管理工具即可

猜你喜欢

转载自blog.csdn.net/qq_34691713/article/details/82351278
今日推荐