Windows OS

How to Prepare Windows 10/11 for Installing VirtualBox, VMware Workstation Pro, or VMware Workstation Player

If Hyper-V or Device/Credential Guard is installed/enabled on the Windows 10/11 operating system, it forces the third-party hypervisor programs (i.e. VirtualBox, VMware Workstation Pro, VMware Workstation Player) to use the Hyper-V API to do the virtualization. Since hypervisor has to go through the Hyper-V abstraction layer, many of the native hypervisor features (i.e. Nested virtualization) do not work. Also, the hypervisor can’t run very efficiently which results in slower virtual machine performance.

So, to get the optimal virtual machine performance and all the features of the hypervisor program – VirtualBox, VMware Workstation Pro, VMware Workstation Player – to work, it’s best to uninstall Hyper-V and Device/Credential Guard from Windows 10/11.

In this article, we will show you how to uninstall Hyper-V and disable Device/Credential Guard from the Windows 10/11 operating system and prepare Windows 10/11 to install VirtualBox, VMware Workstation Pro, or VMware Workstation Player to ensure that you get the best virtual machine performance when you install one of these hypervisors.

Topic of Contents:

  1. Opening Windows Optional Features
  2. Uninstalling Hyper-V from Windows 10/11
  3. Disabling Device/Credential Guard from Windows 10/11
  4. Enabling the Hardware Virtualization Feature from the BIOS/UEFI Firmware
  5. Verifying Whether the Hardware Virtualization Feature Is Enabled from Windows 10/11
  6. Installing VirtualBox, VMware Workstation Pro, or VMware Workstation Player on Windows 10/11
  7. Conclusion

Opening Windows Optional Features

To uninstall/disable Hyper-V and Device/Credential Guard, you have to access the Windows Optional Features.

To access the Windows Optional Features, right-click on the “Start Menu”, and click on “Run”.

You can also press “Windows + R”.

A screenshot of a computer Description automatically generated

Type in “optionalfeatures”[1] and click on “OK”[2].

Windows Optional Features should be opened. You can uninstall Hyper-V and disable the Device/Credential Guard from here. Keep reading for more details.

A screenshot of a computer screen Description automatically generated

Uninstalling Hyper-V from Windows 10/11

If Hyper-V is installed, Hyper-V should be checked in the Windows Optional Features.

To uninstall Hyper-V from Windows 10/11, uncheck Hyper-V from Windows Optional Features[1] and click on “OK”[2].

Windows is now preparing to remove Hyper-V.

A screenshot of a computer Description automatically generated

For the changes to be applied, click on “Restart now” to reboot your computer.

A screenshot of a computer Description automatically generated

Hyper-V is now being removed from Windows 10/11.

A computer screen with white text Description automatically generated

A screen shot of a computer Description automatically generated

Once Hyper-V is uninstalled, Windows should boot as usual.

Disabling the Device/Credential Guard from Windows 10/11

If the Device/Credential Guard is enabled, the Virtual Machine Platform should be checked in the Windows Optional Features.

A screenshot of a computer screen Description automatically generated

To disable the Device/Credential Guard from Windows 10/11, uncheck the Virtual Machine Platform from Windows Optional Features[1] and click on “OK”[2].

A screenshot of a computer Description automatically generated

Windows is now preparing to disable the Device/Credential Guard.

A screenshot of a computer Description automatically generated

For the changes to be applied, click on “Restart now” to reboot your computer.

A screenshot of a computer Description automatically generated

The Device/Credential Guard is now being disabled from Windows 10/11.

A computer screen with white text Description automatically generated

A white text on a black background Description automatically generated

Once the Device/Credential Guard is disabled, Windows should boot as usual.

Enabling the Hardware Virtualization Feature from the BIOS/UEFI Firmware

Once Hyper-V is uninstalled and Device/Credential Guard is disabled from Windows 10/11, you must enable the hardware virtualization feature from the BIOS/UEFI firmware of your computer. Without it, VirtualBox, VMware Workstation Pro, or VMware Workstation Player won’t work.

For more information on enabling the hardware virtualization from the BIOS/UEFI firmware of your computer, read this article.

Verifying Whether Hardware Virtualization Feature Is Enabled from Windows 10/11

To verify whether the hardware virtualization feature is enabled, right-click on the “Start Menu” and click on “Task Manager”.

A screenshot of a computer Description automatically generated

Once the Task Manager app is opened, navigate to Performance > CPU. If the hardware virtualization feature is enabled, the virtualization should be set to “Enabled” as marked in the following screenshot:

Installing VirtualBox, VMware Workstation Pro, or VMware Workstation Player on Windows 10/11

If you need any assistance in installing VirtualBox, VMware Workstation Pro, or VMware Workstation Player on Windows 10/11, check the following articles:

Conclusion

In this article, we showed you how to uninstall Hyper-V and disable Device/Credential Guard on Windows 10/11. We also linked them to an article that shows you how to enable the hardware virtualization from the BIOS/UEFI firmware of your computer and how to verify whether the hardware virtualization is enabled from the Windows Task Manager app. Once you’ve done all the steps that are shown in this article, your Windows 10/11 operating system should be ready to install VirtualBox, VMware Workstation Pro, or VMware Workstation Player.

About the author

Shahriar Shovon

Freelancer & Linux System Administrator. Also loves Web API development with Node.js and JavaScript. I was born in Bangladesh. I am currently studying Electronics and Communication Engineering at Khulna University of Engineering & Technology (KUET), one of the demanding public engineering universities of Bangladesh.