admin管理员组

文章数量:1530921

一、安装Hyper-v
将下面的命令复制到编辑器或者记事本当中,保存为 hyper-v.cmd,右键管理员权限执行,执行过程中输入Y重启,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

二、卸载Hyp-v(由于和Vmware有兼容问题导致Vmware启动失败,关闭hyper-v功能不会出现和vmware不兼容问题)
通过命令关闭Hyper-V(控制面板关闭Hyper-V起不到决定性作用,要彻底关闭Hyper-V)
1、 控制面板” >“ 卸载程序” >“ 打开或关闭Windows功能”以关闭Hyper-V。
2、以管理员身份运行Windows Powershell (管理员)
运行下面命令并重启电脑

bcdedit /set hypervisorlaunchtype off

本文标签: 家庭版功能hyper