I use Virtual Machines a lot but they stopped working under Windows a while back with the following message :
"VMware Workstation and Device/Credential Guard are not compatible"
The VMWare URL pointed to a Microsoft webpage that was out of date with the newer version of Windows 10 I am using [Version 10.0.19041.21].
This helped greatly but, unfortunately, it is still out of date :
Here is what I had to do but note, VMWare only started working after doing all three so the first two might not be necessary but it works now so I'm not going to make any changes ;-)
Control Panel | Programs And Features | Turn Windows Features On or Off | Untick the following :
Virtual Machine Platform
Windows Hypervisor Platform
Search Windows for “Group Policy” open "Edit Group Policy" app and do :
Computer Configuration\Administrative Templates\System\Device Guard
Disable : Turn On Virtualization Based Security
Download dgreadiness from here : https://www.microsoft.com/en-us/download/details.aspx?id=53337 and do the following in an Administrator PowerShell :
Unfortunately, breaks Windows Subsystem For Linux :-(.
My current solution, to run WSL2, is to do the following in an Administrator PowerShell :
This is so bloody stupid, that I can't run a VM and WSL side-by-side.
I'll endeavour to keep this page updated when Microsoft change things, again.
PS I'm sure this is also necessary for VirtualBox but I haven't got a current Windows 10 hosted VirtualBox to test.