Skip to content
Home » News » How to Fix the “Cannot Access TPM Data” Error When Installing or Running Windows 11 in UTM

How to Fix the “Cannot Access TPM Data” Error When Installing or Running Windows 11 in UTM

TPM-data-error-when-installing-Windows-11-in-UTM

The error “Cannot access TPM data” can occur when trying to install or run Windows 11 in UTM. This issue typically stems from Windows 11’s requirement for Trusted Platform Module (TPM) support, which is not natively available in virtual machines. In this article, we’ll explore the common causes of this issue and provide step-by-step solutions to resolve it, enabling you to successfully use Windows 11 in UTM.

What Causes the “Cannot Access TPM Data” Error?

Windows 11 mandates TPM 2.0 for installation and operation. When running Windows in a virtual machine like UTM, this error may arise because:

  • TPM is not enabled in the virtual machine configuration.
  • The virtual TPM module is not properly emulated.
  • The installed version of UTM does not support TPM features.
  • An unsupported ISO file is being used for installation.

Solutions to Fix the “Cannot Access TPM Data” Error

1. Enable TPM Emulation in UTM

UTM supports TPM emulation, but it must be explicitly enabled in the virtual machine settings.

  • Open UTM and select your Windows 11 virtual machine.
  • Click Edit to access the VM settings.
  • Go to the Hardware tab and add a new device.
  • Select TPM from the list and click Add.
  • Save the changes and restart the virtual machine.

2. Use a Compatible Windows 11 ISO

Ensure the ISO file you’re using for installation is compatible with TPM emulation.

  • Download the official Windows 11 ISO file from the Microsoft website.
  • If using an ARM-based MacBook (M1, M2, M3), ensure you download the ARM-compatible version of Windows 11.
  • Verify the integrity of the ISO file by checking its checksum against Microsoft’s official values.

3. Update UTM to the Latest Version

Older versions of UTM may not support the TPM emulation features required by Windows 11.

  • Download the latest version of UTM from the official site: UTM Download.
  • Install the updated version and reconfigure your virtual machine as needed.

4. Install SPICE Guest Tools and QEMU Drivers

Installing SPICE Guest Tools and QEMU Drivers can help improve compatibility and enable additional hardware features in your virtual machine.

  • Download the SPICE Guest Tools and QEMU Drivers from the UTM Windows Guide.
  • Mount the downloaded ISO file as a CD/DVD drive in your VM settings.
  • Boot into the virtual machine, open the SPICE Guest Tools installer, and complete the installation.
  • Restart the virtual machine.

5. Adjust Boot Settings

In some cases, modifying the boot settings in UTM can resolve TPM-related issues.

  • Go to the Boot tab in the UTM settings.
  • Ensure that the boot order prioritizes the virtual TPM module and the Windows ISO.
  • Save the changes and reboot the virtual machine.

6. Bypass TPM Requirements in Windows 11

If TPM support is unavailable, you can bypass Windows 11’s TPM requirement during installation. However, this is not recommended for production environments.

  • During installation, press Shift + F10 to open the command prompt.
  • Type the following command to bypass TPM checks:
  • 
    reg add HKLM\SYSTEM\Setup\LabConfig /v BypassTPMCheck /t REG_DWORD /d 1 /f
    
            
  • Proceed with the installation as usual.

7. Recreate the Virtual Machine

If none of the above solutions work, recreate your Windows 11 virtual machine with the correct settings:

  • Delete the existing VM and create a new one from scratch.
  • Ensure TPM is enabled in the new VM’s configuration.
  • Follow the steps outlined in the UTM Windows Guide.

Conclusion

The “Cannot access TPM data” error can be frustrating, but it is resolvable with proper configuration and updates. By enabling TPM emulation, using a compatible ISO, and updating UTM, you can successfully install and run Windows 11 on your virtual machine. For more detailed instructions, check out the UTM Windows Guide. If you still encounter issues, watch the full YouTube tutorial for additional guidance.

Leave a Reply

Your email address will not be published. Required fields are marked *