彻底解决解决Windows 10 1903之后版本无法打开Vmware Workstation虚拟机的问题 |
您所在的位置:网站首页 › 北京成人高考试题 › 彻底解决解决Windows 10 1903之后版本无法打开Vmware Workstation虚拟机的问题 |
大家好呀我是书生,好久不见~! 看到这个界面是不是很熟悉,这曾经也是困扰我很久的一个问题,自Windows10 19H1版本之后推出的“Windows沙盒”之后,书生也是第一时间在控制面板中打开了这个功能 但是之后有一次突然想玩玩XP却打不开的时候,发现无法运行虚拟机,并提示
VMware Workstation 与 Device/Credential Guard 不兼容。在禁用 Device/Credential Guard 后,可以运行 VMware Workstation。 书生之前了解过Cridential Guard,这是策略组的一个功能,于是轻车熟路的打开了策略组(Windows徽标键+R打开“运行”对话框,输入“gpedit.msc”,回车
找到这个路径,轻敲一下“已禁用”就可以了 但是,似乎没有什么卵用,该怎样就是怎样 于是便在网上搜索相关答案,给出的大多数答案都是关闭hyper-v之类的,但是我电脑的hyper-v根本就没有打开过 于是便来时胡思乱想,是不是因为之前留意过的Windows Defender内核隔离之类的与虚拟化有关的功能出了问题呢?捣鼓了半天也没有思绪。 于是到vmware社区中寻找问题的答案,找到了这么一条:删除相关的EFI变量 以下是原文: Purpose: This article provides steps to disable Credential Guard or Device Guard for a Windows 10 Enterprise host. Cause This issue occurs because Device Guard or Credential Guard is incompatible with Workstation. Resolution To disable Device Guard or Credential Guard: Disable the group policy setting that was used to enable Credential Guard. On the host operating system, click Start > Run, type gpedit.msc, and click Ok. The Local group Policy Editor opens. Go to Local Computer Policy > Computer Configuration > Administrative Templates > System > Device Guard > Turn on Virtualization Based Security. Select Disabled. Go to Control Panel > Uninstall a Program > Turn Windows features on or off to turn off Hyper-V. Select Do not restart. Delete the related EFI variables by launching a command prompt on the host machine using an Administrator account and run these commands: mountvol X: /s copy %WINDIR%\System32\SecConfig.efi X:\EFI\Microsoft\Boot\SecConfig.efi /Y bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d "DebugTool" /application osloader bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path "\EFI\Microsoft\Boot\SecConfig.efi" bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215} bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} device partition=X: mountvol X: /d Note: Ensure X is an unused drive, else change to another drive. Restart the host. Accept the prompt on the boot screen to disable Device Guard or Credential Guard.
译文大概是: 目的 本文提供了为Windows 10 Enterprise主机禁用Credential Guard或Device Guard的步骤。 原因 出现此问题是因为Device Guard或Credential Guard与Workstation不兼容。 解决方案 要禁用 Device Guard 或 Credential Guard: 禁用用于启用Credential Guard的组策略设置。 在主机操作系统上,单击 Start > Run,键入gpedit.msc,然后单击确定。本地组策略编辑器打开。 转到本地计算机策略 > 计算机配置 > 管理模板>系统 > 设备防护 > 打开基于虚拟化的安全性。 选择禁用。 转到控制面板 > 卸载程序 > 打开或关闭 Windows 功能以关闭 Hyper-V。 选择不重启。 通过使用管理员帐户在主机上启动命令提示符并运行以下命令来删除相关的EFI变量: mountvol X:/ s copy%WINDIR%\ System32 \ SecConfig.efi X:\ EFI \ Microsoft \ Boot \ SecConfig.efi / Y bcdedit / create {0cb3b571-2f2e-4343-a879-d86a476d7215} / d“DebugTool”/ application osloader bcdedit / set {0cb3b571-2f2e-4343-a879-d86a476d7215} path“\ EFI \ Microsoft \ Boot \ SecConfig.efi “ bcdedit / set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215} bcdedit / set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS bcdedit / set {0cb3b571-2f2e -4343-a879-d86a476d7215}设备分区= X: mountvol X:/ d 注:确保 X 是一个未使用的驱动器,否则更改为另一个驱动器。 重新启动主机。 接受启动屏幕上的提示以禁用 Device Guard 或 Credential Guard。
但是按照官网做的时候有点犹豫,mountvol X: /d 是删除卷标,挺担心把我磁盘的卷标删除了,但最终还是试一试的心态运行了一下,忘记截图了嘿嘿 以管理员身份进入CMD命令行后,先进入一个没有与虚拟机相关文件的磁盘,把那一串复制粘贴运行过之后,重启一下,在重启的过程中会弹出一个界面“virtualization based security opt-out tool”,按F3确认关闭之后按ESC键退出就可以了 开机后赶紧打开此电脑看看我的宝贝盘符,幸好没有丢。 完成。 总结:Windows沙盒是基于Windows自带的一个虚拟化平台,需要依赖hyper-v虚拟化功能,而vmware是依赖运行在自己的虚拟化平台,是与Windows虚拟化平台不兼容的,所以说Windows沙盒与vmware平台不兼容,从目前来看只能是二选一这样子,如果有哪位dalao可以解决这种问题欢迎私信我哦,一起探讨一下。 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |