A complete walkthrough for setting up a Windows 11 virtual machine in Proxmox that satisfies all the required hardware checks (TPM 2.0, Secure Boot, UEFI).
Prerequisites¶
- Proxmox VE 7.0 or newer
- Windows 11 ISO file
- Virtio drivers ISO (optional but recommended)
Step 1 — Create a New VM¶
- Log in to your Proxmox web interface.
- Click Create VM in the top right.
- In the General tab: enter a VM ID (or leave as default) and a name (e.g. “Windows11”). Click Next.
Step 2 — OS Settings¶
- In the OS tab: select Microsoft Windows as the Guest OS type, Version 11/2022. Click Next.
Step 3 — System Settings (critical for Windows 11)¶
- In the System tab:
- Machine: “q35” (newer than i440fx)
- BIOS: “OVMF (UEFI)”
- Check Add EFI Disk (for Secure Boot support)
- SCSI Controller: “VirtIO SCSI”
- Check Qemu Agent
- Click Next
Step 4 — Disk Settings¶
- In the Disk tab:
- Bus/Device: “SCSI”
- Disk size: at least 64 GB
- Format: “qcow2”
- Click Next
Step 5 — CPU Settings¶
- In the CPU tab:
- Sockets: 1
- Cores: at least 2
- Type: “host” (required for Windows 11 CPU checks)
- Click Next
Step 6 — Memory Settings¶
- In the Memory tab:
- RAM: at least 4096 MB (4 GB)
- Keep the Ballooning device enabled
- Click Next
Step 7 — Network Settings¶
- In the Network tab:
- Bridge: “vmbr0” (or your network bridge)
- Model: “VirtIO (paravirtualized)”
- Click Next
Step 8 — Confirm Settings¶
- Review all settings and click Finish. Do NOT start the VM yet.
Step 9 — Add TPM 2.0 (required)¶
- Select the VM in the left panel.
- Open the Hardware tab.
- Click Add → TPM State.
- Set Version to v2.0, choose storage for the TPM state and click Add.
Step 10 — Add the Windows 11 ISO¶
- Select the VirtIO drivers ISO.
Step 11 — Enable Secure Boot (required)¶
- Go to the Options tab.
- Under Boot Order: make sure the CD/DVD drive is first, the hard disk second, and the EFI disk is included.
- Under SMBIOS Settings: set Manufacturer to “Microsoft”.
Step 12 — Install Windows 11¶
- Start the VM; the Windows installation should begin.
- Follow the standard Windows 11 installation steps.
- If prompted for drivers (disk detection), load them from the VirtIO ISO if you added it.
Step 13 — Bypass TPM/Secure Boot Check (alternative method)¶
If you still have issues with the TPM/Secure Boot checks, use the registry bypass method:
- On the first Windows 11 setup screen, press Shift+F10 to open Command Prompt.
- Type
regeditand press Enter. - Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\Setup - Create a new key named LabConfig.
- In the LabConfig key, create the following DWORD (32-bit) values:
BypassTPMCheck = 1BypassSecureBootCheck = 1BypassRAMCheck = 1- Close the Registry Editor and continue the installation.
Step 14 — Post-Installation¶
- Install the Proxmox guest tools.
- Install any necessary VirtIO drivers if using VirtIO devices.
Troubleshooting¶
- “This PC can’t run Windows 11”: double-check TPM 2.0 and Secure Boot settings.
- Disk not detected: load the VirtIO SCSI drivers during installation.
- Poor performance: install the QEMU guest agent and VirtIO drivers.
- Installation hangs: try increasing RAM or changing the CPU type.