Run Hyper-V and VMware virtual machines on Windows 10

I use Windows’ Hyper-V to run virtual machines for long time. Recently I need to run a VMware virtual machine to test something. I installed VMware Player, which is free for non-commercial usage. However, the virtual machine cannot started, with an error:

VMware Player and Device/Credential Guard are not compatible. VMware Player can be run after disabling Device/Credential Guard. Please visit for more details.


The link will redirect you to a document with many steps.

  1. Disable the group policy setting that was used to enable Credential Guard.

    1. On the host operating system, click Start > Run, type gpedit.msc, and click Ok. The Local group Policy Editor opens.
    2. Go to Local Computer Policy > Computer Configuration > Administrative Templates > System > Device Guard > Turn on Virtualization Based Security.
    3. Select Disabled.
  2. Go to Control Panel > Uninstall a Program > Turn Windows features on or off to turn off Hyper-V.
  3. Select Do not restart.
  4. 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.
  5. Restart the host.
  6. Accept the prompt on the boot screen to disable Device Guard or Credential Guard.

Actually, this is a conflict that can be simply resolved by temporarily disabling Hyper-V hypervisor:

bcdedit /set hypervisorlaunchtype off

Restart is required. Apparently, the side effect is that Hyper-V virtual machines cannot be started after this:


And so is Docker:


To get Hyper-V back, just turn its hypervisor back on:

bcdedit /set hypervisorlaunchtype auto



    you can chose at boot which one you want to use

    see answer from hfmanson

  • hyyyy
    <a href="">ثبت شرکت</a>
    <a href="">ثبت شرکت</a>
    <a href="">ثبت شرکت</a>
    <a href="">ثبت شرکت</a>
    <a href="">ثبت شرکت</a>

  • Thank you, I really like it, the article is very helpful

  • Resolveu meu problema... vlw!

  • Help a lot, thank you so much guys

  • Turning the hypervisor off will stop sandbox mode in Windows 10 1903.

  • Try running it in Oracle VirtualBox. That's what I did with mine and it ran fine without screwing around with any of this garbage. The one thing that did work for VMWare was the elevated CMD window command of 'bcdedit /set hypervisorlaunchtype off'. But this breaks WIndows 10 v1903 Sandbox capability.

    VMWare doesn't seem to be able to Dev their way out of this hole... Kick them to the curb and go Oracle.

  • Instead of uninstalling Hyper-v you can disable it in Powershell with this command: "bcdedit /set hypervisorlaunchtype off" If you ever want to reenable Hyper-v you can use "bcdedit /set hypervisorlaunchtype auto"

  • This fix worked for me... thanks! Very straight forward.

  • I struggled to disable device guard or credential guard. This solution is really helpful. Thanks for making it so easy.

  • The solution is good but everytime I switsh off my pc I have to fix it again. Every time!
    Any idea?

  • Same for me, Nicola. Don't persist on system restart

  • The problem with VirtualBox is that while it may work for now, it is an Unsupported Experimental Feature. It may or may not function with the next patch from MS, or next upgrade from Oracle.

    There is no real good way to get this to work at will, at this time. Hopefully, VMware will develop/offer VMware Workstation Pro 16 that solves this issue....but until they supply some upgrade, everyone is going to have to manually turn off/on things to get either Hyper-V or VMware to work.

  • Thank bro, it saved my day

  • Great trick! I was getting crazy trying to run a virtual machine on a Windows 10 Home host and it just wasn't working.

    VMware shows a message asking to disable Windows Defender while VirtualBox just don't run with no message.

    After disable Power Shell, Windows Virtual Platform and Hyper-V it's run now on VMware!

  • شركة تصميم مواقع وتطبيقات الجوال

Add a Comment

As it will appear on the website

Not displayed

Your website