Windows 11

How to add TPM on VM for Windows 11: VMware, VirtualBox, Parallels Desktop and Hyper-V

What is a custody management program

The managed hypervisor requires an underlying operating system to work. They can be installed like regular computer programs. The guest operating system runs as a process on the host. Because of this design, you don’t need special hardware to implement virtualization-anyone can use a hosted hypervisor on their home PC.

Hyper-V

Microsoft Hyper-VOriginally created as a native management program, it is now included as an optional feature in the Windows client version (Pro and higher). With a little adjustment, it can also be installed on the Windows family SKU.

Enable on the host Windows operating system Hyper-V After the function, you can easily follow the steps below Windows 11 Add virtualization to the VM TPM 2.0 Equipment:

  1. Open Hyper-V Manager.
  2. Click the host name in the left pane.
  3. If you want Windows 11 To generate a new VM, make sure to select “Gen 2” during the VM creation wizard.
     

    • For an existing VM, select the appropriate VM from the right pane and confirm that the “Generate” in the “Summary” tab at the bottom of the page is set to “2”.
  4. Right-click Windows 11 VM, select the settings option, and click Security.
  5. Under the “Secure Boot” section, check the “Enable Secure Boot” option.
  6. Use the “Template” drop-down menu and selectMicrosoft Windows options.
  7. Under the “Encryption Support” option, check the Enable Trusted Platform Module option to enable virtualization TPM.
    Hyper-V-add-TPM-settings
  8. Or, select the encryption status and virtual machine migration traffic options.
  9. Click the OK button.

If you prefer to manage your Hyper-V Settings, then you can also use PowerShell cmdlets to perform the above steps. To learn more, please check the official cmdlet documentation.Enable-VMTPM


Oracle VM VirtualBox

Oracle VM VirtualBoxIs an excellent open source hypervisor. The developers behind the project are actively developing secure boot and TPM 2.0 and other functions to support Windows 11.

It’s worth noting that due to the large number of changes to the code base, the current VirtualBox It is unlikely that the 6.1.x series will get these features.The next major version, namely VirtualBox 7 They should be supported out of the box.There are development snapshots available, which include TPM Initial support for software emulation of 2.0 devices, but your progress may be different.

If you are ready to play with cutting-edge builds, then download the latest Oracle VM VirtualBox snapshot from this page.Next, create a VM instance from scratch and set the target operating system to Windows 11.The hypervisor should automatically create a virtualized TPM equipment. You can view the module by booting to the UEFI firmware and navigating to Device Manager => TCG2 Configuration.

Oracle-VM-VirtualBox-TPM


Parallels Desktop

Starting from version 17.1.0,Parallels Desktop The default is that all Windows 11 virtual machines (both new and existing) run on Intel-based Mac And based onApple M1 of Mac Enable virtual TPM Chip (vTPM).If you are using an older version (such as an Intel-based Mac Computer Parallels Desktop 15 and 16), the vTPM chip is only applicable to the professional and commercial editions.Parallels Desktop 16 On Equipped Apple M1 Chip Mac This function is not supported on the computer.

Please note that after enabling the virtualized TPM, the virtual machine will be restricted to other Mac Run on. In addition, if you copy or move it, you cannot start it on another computer.

exist Parallels Desktop The manual process of enabling vPTM on the VM is as follows:

  1. Shut down the Windows virtual machine.
  2. Open the configuration settings of the VM. Then navigate to the “Hardware” tab, click the “+” sign, and select the TPM chip. Then click the Add button.
  3. Start the virtual machine. If all goes well, the Windows instance will automatically detect the TPM chip.

VMware

VMware Several managed hypervisors are provided for Windows, Linux and macOS. You can easily enable virtualized TPM for all of them.

VMware Fusion Pro and VMware Workstation Pro

forVMware Fusion Pro (macOS) andVMware For Workstation Pro (Windows/Linux), you must create a VM with minimum hardware version 14 and firmware type set to UEFI. Before attempting to enable the virtualized TPM, you also need to encrypt the VM.

exist VMware Encrypted virtual machine under Workstation Pro

To add a virtual TPM 2.0 device, follow these steps:

  1. Select the virtual machine from the left pane (for Workstation Pro) or from the virtual machine library (for Fusion) and open its settings.
  2. Click “Add” (Fusion’s “Add Device”).
  3. Click the “Trusted Platform Module” entry. If this option is not available, the guest does not support Trusted Platform Module devices.
  4. Click Finish to complete the wizard.

VMWare Workstation Player VM

Unlike its “Pro” products at the same level, VMWare Workstation Player does not provide the option of adding a virtualized TPM. Nevertheless, you can still enable it with beautiful adjustments.

As early as October this year, VMware Product Manager Michael Roy confirmed that users of free VMWare Workstation Player can enable TPM through an undisclosed sign. Behind the scenes, the logo partially encrypts the VM without a password. This adjustment should apply to VMWare Workstation Player 16.2/Fusion Player 12.2 and higher.

Here is how to add TPM to VMWare Workstation Player VM:

  1. Create a new guest operating system, but do not install any operating system for now.
  2. Close the hypervisor and navigate to the folder where the VM is stored.
  3. Find the VMX file, which is the configuration of the target VM.
    VMware-vmx
  4. Use a text editor such as Notepad to open the VMX file and add the following lines to it.
    managedvm.autoAddVTPM = "software"

    VMware-vmx-TPM-edit

  5. Save the changes and close the text editor.
  6. start up VMware Workstation Player and access the VM settings. It should list TPM as an option, but you cannot edit it with the free version of the application.
    VMware-WS-Player-TPM-settings
  7. Continue to install Windows 11 (or any other operating system) normally.

confirm

After configuring the hypervisor, perform the following operations to check whether the virtualized TPM is working properly.

  1. Start the Windows 11 virtual machine.
  2. When you are on the desktop, press the Windows key + R on the keyboard to open the run prompt.
  3. Type and press Enter.tpm.msc
  4. You should see the TPM management console, which will tell you if you have a TPM device, and your version.
VirtualBox-TPM-status

Virtualized TPM under Oracle VM VirtualBox



As you can see, configuring the Virtualized Trusted Platform Module 2.0 device on the hypervisor is not difficult, but it is not a completely straightforward method.

Related Articles

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker