VMware Workstation and Device/Credential Guard are not compatible. code example
Example: how to disable device guard or credential guard vmware
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity