win10/win11家庭版安装虚拟机hyper-v

win10/win11家庭版安装虚拟机hyper-v

解决方案goocz2025-04-28 21:37:527A+A-

1、用在桌面新建文本文档hyperV.txt, 双击打开将下面的内容复制保存在里面

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

如图1:

2、点击文件选择重命名, 修改为hyperV.cmd,然后以管理员身份运行

等待运行到最后输入Y重启电脑

3、按windows按键搜索启用或关闭windows 功能,点击进入勾选hyper-v 按确定


启用Hyper-V

4、按windows键搜索hyper-v就可以进入hyper-V可以导入你的虚拟机,或者自己创建虚拟机


Hyper-V管理器界面

这样就安装完成。下一步我们将创建一个虚拟机

点击这里复制本文地址 以上内容由goocz整理呈现,请务必在转载分享时注明本文地址!如对内容有疑问,请联系我们,谢谢!

果子教程网 © All Rights Reserved.  蜀ICP备2024111239号-5