微软自带虚拟机
-
windows+r 快速启动运行页面,输入 control
或右键左下角windows标志–点击运行
-
跳转控制面板页面点击[程序]
-
点击[启用或关闭windows功能]
-
找到Hyper-V g勾选即可
注释:
若在windows功能页面无Hyper-V,那是系统没有安装
桌面–新建"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
电脑重启就有了—Hyper—V—程序