VMware Workstation and Hyper-V are not compatible [duplicate]

I installed VMworkstation on a fresh Windows 10 operating system. When I tried to create any machine I got the following error:

VMware Workstation and Hyper-V are not compatible. Remove the Hyper-V role from the system before running VMware Workstation.

I checked the "Windows Features" and I found that Hyper-V is disabled. Also I used the following CMD shell and power shell commands to disable Hyper-v.

CMD Shell

bcdedit /set hypervisorlaunchtype off

CMD Shell

dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All

PowerShell

Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

Then I restart the machine, then I reinstall the Vmware workstation again and still it doesn't work.

Update: The operating System is windows 10


Check the solution here: Cannot run VM in VMWare on Windows 10 due to Hyper-V

Some of Microsoft's security software (in the example above, DeviceGuard), uses the HyperV engine, so even though HyperV is disabled itself, the componenets are still being used.

You can only have one hypervisor at a time (it locks the Hardware Assisted Virtualization to a single one).


Thanks lot in my window defender following setting causing issue. window defender -> device security -> core isolation -> memory integrity = on turn of it for get rid.