Skip to content

There does not appear to be an option to enable TPM 2.0 preventing the creation of Windows VM's #23

Description

@b1kjsh

Overview of the Issue

When creating modern Windows VM's you need to have TPM 2.0 enabled in UTM unfortuantely there is not an option to set that value in the current implementation.

Plugin and Packer version

1.14.0

Simplified Packer Buildfile

source "utm-iso" "windows-server-2025" {
  iso_url      = "/Users/XXXX/Downloads/en-us_windows_11_business_editions_version_24h2_x64_dvd_59a1851e.iso"
  iso_checksum = "D0DCA325314322518AE967D58C3061BCAE57EE9743A8A1CF374AAD8637E5E8AC"
  uefi_boot   = true
  display_hardware_type = "virtio-vga-gl"
  disk_size    = 150
  hard_drive_interface = "ide"
  iso_interface = "ide"

  vm_backend   = "qemu"
  vm_arch = "x86_64"

  cpus         = 2
  memory       = 4096

  winrm_username = "vagrant"
  winrm_password = "vagrant"
  communicator = "winrm"
  shutdown_command = "shutdown /s /t 1"
}

Operating system and Environment details

macOS 15.5
UTM 4.6.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions