windows电脑有虚拟机功能,不过需要经过一番复杂的设置才能运行。那么windows11怎么开启虚拟机呢?各个版本的开启方法都是啥呢?想要了解具体操作的小伙伴可以跟小编一起来看看哦!
一、虚拟机状态查看
1、首先打开Windows 11系统的任务管理器查看你的虚拟机是否开启,右键【开始】菜单选择【任务管理器】,然后切换到【性能】找到“虚拟化”,查看虚拟机是否开启;

二、win11专业版开启
2、如果你使用的是Windows 11专业版,那么通过【win+I】打开Windows设置,在左侧切换到【应用】;

3、在应用设置的右侧点击【更多Windows功能】,再找到并展开、勾选【Hyper-V】,如下图所示;

4、然后继续在Windows功能窗口中,上下滑动找到【虚拟机平台】并勾选,再重启电脑即可。

三、win11家庭版开启
5、由于Windows 11家庭版没有Hyper-V选项,需要通过创建文本的方式来开启,在桌面空白处右键选择【新建】-【文本文档】;

6、复制下方命令(加粗、橙色颜色),粘贴到新建的文本文档中,然后点击左上角【文件】-【另存为】,选择保存类型为【所有文件】,将文件名命名为【Hyper-V.cmd】,点击【保存】;
pushd “%~dp0”
dir /b %SystemRoot%servicingPackages*Hyper-V*.mum 》hyper-v.txt
for /f %%i in (‘findstr /i 。 hyper-v.txt 2^》nul’) do dism /online /norestart /add-package:“%SystemRoot%servicingPackages%%i”
del hyper-v.txt
Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL


7、保存好文件之后,右键该文件,选择【以管理员身份运行】,等待命令执行完成之后,输入【Y】,重启电脑即可按照上方的Windows 11专业版步骤开启Hyper-V虚拟机。


好了,今天的分享就到这里了,想要了解更多热门资讯教程就来自由互联,快快收藏吧,更多精彩不容错过!