VMware startup error & method of disabling Device/Credential Guard

[Multi-picture warning] On a sunny afternoon, I thought about turning on the virtual machine for pleasant learning, but an error message popped up when I uploaded it

Finally, after I carefully searched Baidu, I found that my mistake was somewhat different from other people's mistakes (it was a combination of several problems), so I wrote this article to help other children with the same problem


Table of contents

Problem Description

Common online tutorials (closed through the control panel)

Unable to solve for other solutions (closed by local group policy editor)

First check whether the service exists (whether the virtualization security service is enabled)

 Enter the service group management tool to close the service

Install gpedit.msc

Turn off virtual security services via gpedit.msc

Final workaround (off via registry)

If you don’t know how to look at the picture, first open the registry

 Change the default value of DeviceGuard to 0

Finally restart the computer, open the virtual machine here and you're done! ! !


Problem Description

Prompt that Vmware is not compatible with DeviceCredential Guard. You need to disable Device/Credential Guard to run Vmware. According to the general method, you can’t find the entrance to close it directly. The error is shown in the figure

Common online tutorials (closed through the control panel)

The most online tutorial is to close the service visually through the control panel, as shown in the figure below (the control panel can be searched in the lower left corner), enter the program option

 After entering the program page, click to enable or disable windows features

 Then find the Hyper-V option here, just uncheck it (if you don’t find it, just keep looking down)

Unable to solve for other solutions (closed by local group policy editor)

However, some models (like win10 home version) do not have this option, such as my machine, so I have found another solution

First check whether the service exists (whether the virtualization security service is enabled)

View through msinfo32 , as shown in the figure

 Here you can see that because the virtualization security service is running, let's turn off the service next.

 Enter the service group management tool to close the service

Enter by command gpedit.msc

 

Unfortunately, this machine does not have this service (it seems that the home version does not have it), so I am going to install this service (although it is not used after installation). If you have this service, you can skip the installation step directly.

Install gpedit.msc

First, create a new txt file on the desktop, and put the following code cv into it

@echo off

pushd "%~dp0"

dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt

dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt

for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"C:\Windows\servicing\Packages\%%i"

pause

 Then save the file, modify the suffix to .cmd system script, and run it as an administrator

running interface

After the installation is complete, you can re-run the gpedit.msc command to enter the group management program

Turn off virtual security services via gpedit.msc

 But unfortunately, this machine still does not have this option (maybe there will be no control panel here)

Final workaround (off via registry)

The overall steps are as follows

Step 1: Enter regedit in cmd to enter the registry, find HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control \ DeviceGuard, and change the default value to 0
Step 2: [win+x] Select Windows Powershell (administrator) (A) Execute bcdedit /set hypervisorlaunchtype off
Step 3: Restart the computer.

If you don’t know how to look at the picture, first open the registry

找到HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Control \ DeviceGuard 

 

 Change the default value of DeviceGuard to 0

 Then [win+x] select Windows Powershell (administrator) (A) execute bcdedit /set hypervisorlaunchtype off 

Finally restart the computer, open the virtual machine here and you're done! ! !

Some pictures are from the Internet, if there is any infringement, please contact to delete 

If you guys have other questions, you can leave a message in the comment area, I believe other big guys will come to answer them one by one

   

Guess you like

Origin blog.csdn.net/weixin_45613635/article/details/128817590