Here is a complete Markdown-formatted recap of the command lists and steps we discussed for setting up Windows 11 and Windows Server 2025 on Proxmox, including any tuning and setup tips we covered:
https://pve.proxmox.com/wiki/Windows_2025_guest_best_practices
⸻
Windows 11 and Windows Server 2025 on Proxmox
Concise & Exact Command Reference
General Notes
• These steps assume Proxmox VE 7.x or 8.x is installed.
• Windows ISOs must be uploaded beforehand to /var/lib/vz/template/iso/.
• Use VirtIO drivers ISO for disk and network drivers: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio-win.iso
⸻
- Create the VM Shell via CLI
qm create 110 –name win11 –memory 8192 –cores 4 –cpu host –machine q35 –bios ovmf \
–scsihw virtio-scsi-pci –boot order=virtio0 –net0 virtio,bridge=vmbr0 \
–ostype win11
qm create 120 –name winserver2025 –memory 8192 –cores 4 –cpu host –machine q35 –bios ovmf \
–scsihw virtio-scsi-pci –boot order=virtio0 –net0 virtio,bridge=vmbr0 \
–ostype win10
Use win10 for Server 2025 as win11 may not be fully supported in –ostype.
⸻
- Attach ISO Images
qm set 110 –cdrom local:iso/Win11_English_x64.iso
qm set 110 –ide2 local:iso/virtio-win.iso,media=cdrom
qm set 120 –cdrom local:iso/Windows_Server_2025.iso
qm set 120 –ide2 local:iso/virtio-win.iso,media=cdrom
⸻
- Create and Attach Storage Disk
qm set 110 –virtio0 local-lvm:32,format=raw
qm set 120 –virtio0 local-lvm:64,format=raw
⸻
- Enable Secure Boot (Optional for Windows 11)
qm set 110 –efidisk0 local-lvm:1,format=raw,efitype=4m,pre-enrolled-keys=1
Skip pre-enrolled-keys=1 if you want to use your own Secure Boot keys or disable Secure Boot.
⸻
- Enable TPM for Windows 11
qm set 110 –tpmstate0 local-lvm:1,size=4M,version=v2.0
⸻
- Start Installation
qm start 110
qm start 120
• Open the Proxmox web UI or use qm monitor to connect to console.
• Install the OS.
• Load VirtIO drivers manually from the CD-ROM when prompted (for disk & network).
⸻
- Post-Install Steps (after OS is installed)
Detach Unused ISOs
qm set 110 –ide2 none
qm set 110 –cdrom none
qm set 120 –ide2 none
qm set 120 –cdrom none
Enable QEMU Guest Agent (after installing it inside Windows)
qm set 110 –agent enabled=1
qm set 120 –agent enabled=1
⸻
- Optional: Enable Display via SPICE
qm set 110 –vga qxl
qm set 110 –serial0 socket –spice 1
Install SPICE guest tools and QXL drivers from VirtIO ISO inside Windows.
⸻
Reference Table: VM IDs and Configs
VM Name ID RAM Cores TPM EFI Notes
Windows 11 110 8192 4 Yes Yes TPM 2.0 & Secure Boot enabled
Windows Server 2025 120 8192 4 No Yes Secure Boot optional
⸻