其他分享
首页 > 其他分享> > 关于win10 安装 hyper-V

关于win10 安装 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

另存为Hyper-V.cmd放置电脑桌面,并以管理员身份运行

等待最终安装完,提示是否重启,输入Y,重启电脑后:

控制面板--程序--启用或关闭Windows功能,看下Hyper-V是否已安装

是否已启用

标签:hyper,%%,online,Hyper,SystemRoot%,win10,txt,安装
来源: https://www.cnblogs.com/go-wandering/p/15418781.html