For different cases, you need to enable or disable secure boot for a virtual machine. For instance, you need to enable secure boot for a virtual machine to install Windows 11 on the VM. How to activate or deactivate UEFI secure boot for a virtual machine? Partition Magic offers you the steps in 2 cases.

Prerequisites to Enable or Disable Secure Boot

Before you enable secure boot for a virtual machine, ensure that the operating system and firmware of the VM support UEFI boot. In addition to that, there are some other prerequisites you should know before starting the operation.

Note:
UEFI secure boot is a security standard that ensures that your PC boots use only software trusted by the PC manufacturer. The software includes the bootloader, the operating system kernel, and operating system drivers. To safeguard your computer, you can make a Windows backup by using MiniTool Partition Wizard – PC cloning software. It also helps you manage storage devices like SSDs, HDDs, SD cards, USB drives, etc.

MiniTool Partition Wizard DemoClick to Download100%Clean & Safe

  • EFI firmware
  • Virtual hardware version 13 or later
  • An operating system that supports UEFI secure boot
  • Add a Trusted Platform Module (TPM) to an encrypted virtual machine with a minimum hardware version of 14 that uses the UEFI firmware type.
  • VMware Tools version 10.1 or later is required for virtual machines. You can upgrade virtual machines to the required VMware Tools version once it becomes available.
Tips:
VirtualBox 7.0 is the first hypervisor to support the emulation of TPM chips and all the other system components. Without the emulation of the TPM 2.0 chip, you can’t install Windows 11 on a VM.

However, you can enable secure boot just as you can for a physical machine for certain virtual machine hardware versions and operating systems. On physical machines, you can follow these Steps to Activate TPM 2.0 and Secure Boot to Install Windows 11.

Further reading:

Installing Windows 11 on a VM involves two things: encrypting the VM and enabling the TPM & securing the VM by enabling the UEFI secure boot.

Windows 11 needs both a TPM chip and secure boot to offer solid protection against threats and stop any malware from running when the system loads up. Though Windows 11 can work without Secure Boot and a TPM 2.0 chip, it won’t offer an extra layer of system protection. It means many features like Core-isolation and Data Encryption won’t work.

Therefore, you need to enable secure boot and TPM for a VM if you want to install Windows 11 on it with robust security protection. The steps to enable or disable UEFI secure boot for virtual machines in 2 cases have been offered to you. Simply follow them one by one.

Case 1: Enable or Disable Secure Boot on an Existing VM

It is very easy to enable or disable UEFI secure boot for virtual machines that exist on the PC. Here’s the tutorial for you.

Step 1: Power off the VM, click the VM tab, and choose the Settings option from the drop-down menu.

Step 2: In the Virtual Machine Settings window, navigate to the Options tab and click Advanced under the Settings section.

choose Advanced under Settings

Step 3: Under the Firmware type section, pick UEFI and tick the “Enable secure boot” option. If you want to disable secure boot for VM server, uncheck the “Enable secure boot” option instead.

Step 4: Click on Apply > OK to carry out the changes. The steps to enable or disable secure boot for a virtual machine (already exists) have been shown to you.

If you want to enable or disable TPM 2.0 in VirtualBox, please refer to these steps.

  1. Search VirtualBox in the search box and click on the best-matching result to open the app.
  2. Tap on a Windows virtual machine and click the Settings icon.
  3. Locate the System settings option and find the TPM option.
  4. Click the arrow icon to open the drop-down menu and pick the v2.0 option.
  5. Scroll down and locate the Extended Features section.
  6. Tick the Enable EFI (special OSes only) check box.
  7. Click OK to save changes.

To disable TPM, set the TPM version to None and uncheck the Enable EFI (special OSes only) option.

Fixed: VirtualBox Displays Black Screen and Not Booting Guest OS
Fixed: VirtualBox Displays Black Screen and Not Booting Guest OS

What to do if VirtualBox displays black screen and not booting guest OS? If you are bothered by this issue, take a look at this guide.

Read More

Case 2: Enable or Disable Secure Boot for a New VM

How to activate or deactivate UEFI secure boot for a virtual machine to create? In other words, how to enable or disable secure boot for a new virtual machine. In this section, we will illustrate the steps to enable secure boot for a new virtual machine.

Step 1: Launch the VMware workstation on your PC and create a new virtual machine by selecting Custom (Advanced) configuration.

  1. Click the File tab after you launch the VMware workstation.
  2. Choose New Virtual Machine in the drop-down menu.
  3. In the New Virtual Machine Wizard window, choose Custom (Advanced) and click Next.
create a new virtual machine

Step 2: Confirm hardware compatibility in the pop-up window and click Next to continue.

Step 3: Tick the option “I will install the operating system later” and hit the Next button.

select the option and click Next

Step 4: In the next window, choose a guest operating system from the given options and pick the specific version. In this scenario, we select Microsoft Windows and the Windows 11 x64 version. Then click Next to move on.

Step 5: Based on your needs, specify the virtual machine name and click Browse to specify the location for the VM. After that, click Next.

Step 6: In the firmware type selection window, choose UEFI and tick the Secure Boot option. Then hit Next.

Tips:
To disable secure boot for VM server, uncheck the Secure Boot option in this step.

Step 7: Finally, click the Finish button to complete the operation.

Improve Virtual Machine Performance: 7 Methods and 4 Tips
Improve Virtual Machine Performance: 7 Methods and 4 Tips

This post tells you the possible reasons for virtual machine running slow and methods to improve virtual machine performance.

Read More

Conclusion

This post shows you the steps to enable or disable secure boot for a virtual machine in 2 cases. Based on your situation, follow the corresponding steps in the post.

  • linkedin
  • reddit