In Linux Proxmox

What Does qm Stand For?

In Proxmox, qm stands for Qemu Manager.

It’s the Proxmox command-line tool for managing QEMU/KVM virtual machines. The qm tool lets you:

  • Create VMs (qm create)
  • Configure them (qm set, qm config)
  • Start/stop VMs (qm start, qm shutdown, qm stop)
  • Attach disks, ISOs, network cards, etc.
  • Access the VM monitor for low-level commands (qm monitor)

So when you run:

```bash

qm create 110 –name win11 …

You’re telling Proxmox’s QEMU Manager to create a VM with ID 110 using QEMU/KVM as the backend.

⸻

Quick Glossary

Term Meaning
qm QEMU Manager — Proxmox tool to manage VMs using QEMU/KVM
QEMU Open-source processor emulator and virtualiser
KVM Kernel-based Virtual Machine — Linux’s native hardware virtualisation
OVMF Open Virtual Machine Firmware (UEFI for VMs)
TPM Trusted Platform Module — required by Windows 11 for secure boot
VirtIO High-performance I/O virtualization framework (for disks, network, etc)
SPICE Protocol for remote desktop into VMs with better graphics & performance
SCSI/VirtIO0 Virtual storage device interfaces in Proxmox

May 26, 2025

Here’s a narrative-style document that captures the story and learnings behind my Proxmox adventure with Windows 11 and Server 2025

⸻

Installing Windows 11 and Server 2025 on Proxmox: A Journey from Friction to Flow

An annotated tale of quirks, commands, and clean installs

⸻

Introduction

This wasn’t just a how-to. It was a discovery process—a technically nuanced journey to install Windows 11 and Windows Server 2025 cleanly and repeatably on Proxmox to be a headless machine. Along the way, I hit walls, found workarounds, and finally distilled a series of qm commands that work every time.

Here’s my behind-the-scenes story, the blood, sweat and tears so to speak. That includes the 6.30am starts following the 11.30 pm finishes. Work, sleep, eat, repeat; about five days that felt like a month. The hardware was delivered on day 2.

⸻

  1. TPM and Secure Boot: Necessary, but Elusive

The Challenge

Windows 11 refuses to install without a TPM 2.0 module and Secure Boot—both of which are non-trivial in a virtual environment like Proxmox. Early attempts failed silently or gave obscure Windows error codes.

The Discovery

Eventually, I learned to change Proxmox settings instead of editing the install iso register:

–tpmstate0 local-lvm:1,size=4M,version=v2.0

–efidisk0 local-lvm:1,format=raw,efitype=4m,pre-enrolled-keys=1

This combination made Windows 11 happy. Secure Boot worked without needing to disable driver signing or patch the ISO register.

⸻

  1. VirtIO Drivers: The Invisible Disk Problem

The Linux Proxmox config Challenge

Both Windows 11 and Server 2025 saw no disks at install time. Without drivers, the installer had no idea how to handle VirtIO devices.

The Discovery - a Microsoft download

Attaching the VirtIO drivers ISO to a second CD-ROM solved this. But it took experimentation to figure out which driver folders to navigate during install (typically vioscsiw11amd64 or NetKVM for network).

I sourced the VirtIO drivers ISO from the official Fedora project hosting page:

https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio-win.iso

This URL always points to the latest stable build of the VirtIO driver ISO, maintained by the Red Hat/Fedora community. It includes all required drivers for:

•   VirtIO SCSI/Block (for storage disks)
•   NetKVM (for networking)
•   QXL (for SPICE graphics if used)
•   Balloon and Guest Agent support

I mounted this ISO to ide2 in the Proxmox VM configuration to provide drivers during Windows setup:

Not having this or even knowing about it would be a real “gotcha”: a project breaker.

Final Form:

qm set 110 –ide2 local:iso/virtio-win.iso,media=cdrom

⸻

  1. qm Trial and Error: The Ultimate Sandbox

The Challenge

Proxmox’s qm tool is powerful but unforgiving. Missteps in config would lead to:

•   Hanging installs
•   Unbootable VMs
•   Broken UEFI configs
•   “Missing boot device” screens

The Process

I created multiple VMs, deleted them, tried again—often tweaking one line at a time. Key learnings:

•   --machine q35 is a must.
•   --bios ovmf is needed for UEFI.
•   Without --scsihw virtio-scsi-pci, disks don’t behave properly.
•   The order of --boot order=virtio0 matters.

⸻

  1. Post-Install Nuances

The Challenge

Even after a successful install, things weren’t perfect.

The Fixes

•   QEMU Guest Agent: Needed for graceful shutdowns and clipboard.
•   ISO Detachment: Prevented Windows from booting into installer again. This is a major very simple problem. Just eject it! And di not select auto boot after install so you have a chance to do the ejection.
•   VirtIO Network Drivers: Manual install post-Windows setup.

Key Commands:

qm set 110 –agent enabled=1

qm set 110 –ide2 none

⸻

  1. What Didn’t Matter (But Seemed Like It Might)

False Leads

•   --ostype: win10 works fine even for Windows 11 and Server 2025.
•   numa, balloon: Not critical for initial setup.
•   Complex UEFI options: Defaults are good enough if you’re not doing GPU passthrough or nested virtualization.

⸻

Conclusion

What continued as a frustrating, opaque process eventually became a clean, repeatable installation blueprint. The real lesson? These setups are less about documentation and more about exploration. Once you know the map, the journey takes minutes. Until then, it feels like crossing a minefield in the dark.

Now the field is cleared—and I’ve left the flags up for the next traveler.

May 26, 2025

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

⸻

  1. 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.

⸻

  1. 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

⸻

  1. Create and Attach Storage Disk

qm set 110 –virtio0 local-lvm:32,format=raw

qm set 120 –virtio0 local-lvm:64,format=raw

⸻

  1. 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.

⸻

  1. Enable TPM for Windows 11

qm set 110 –tpmstate0 local-lvm:1,size=4M,version=v2.0

⸻

  1. 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).

⸻

  1. 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

⸻

  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

⸻

May 26, 2025

May Win 11 Pro file limits

Why a Supplier Using Windows 11 as a File Server Might Recommend 4 Users Instead of 5

If a supplier is using Windows 11 as a file server and limits usage to 4 users, the reason is likely due to built-in Microsoft limitations and practical experience with performance and licensing. Here’s a breakdown.

Windows 11 File Sharing Limits

Microsoft imposes limits on how many users can access shared files on desktop editions of Windows.

Windows Edition

————————————-

Why 4 Might Be the Suggested Limit

1. Stability and Performance

  • While 5+ users may technically connect, performance degrades.
  • Desktop editions are not optimised for concurrent file server operations.

2. File Locking and Conflict Risk

  • Shared access to the same files can cause conflicts or corruption.
  • Limiting to 4 users reduces concurrent access pressure.

3. Microsoft Licensing

  • Windows 11 is licensed for individual use, not heavy multi-user file serving.
  • Keeping users below 5 aligns better with Microsoft’s intent for “small workgroup use.”

4. Support Simplicity

  • More users = more chances for access errors, lockouts, or system instability.
  • 4-user setups are easier to support and more predictable.

If You Need 5+ Users Accessing Shared Files Reliably

To support more users with high availability:

  1. Use Windows Server (2022/2025)
    1. Designed for file sharing
    2. Supports dozens or hundreds of concurrent users
    3. Includes robust sharing, locking, and access control tools
  2. Use a NAS (e.g. Synology, QNAP)
    1. Purpose-built for file sharing
    2. Affordable and scalable
    3. Supports Windows/Mac/Linux clients

Summary Table

Reason for 4-User Limit

Recommendation

If your business requires 5 or more users accessing shared data reliably and simultaneously:

  • Do not rely on Windows 11 as a file server
  • Instead, use Windows Server or a dedicated NAS appliance for stability, scalability, and compliance

May 25, 2025

May Win 11 Seats x 5

Comparison: Windows 11 Per-Seat + File Server vs. Windows Server 2025 with RDS

System Comparison Table

Aspect

——————————————————

——————-

——————————-

————————————– | | You need 5 independent users, each on their own PC, and the app works well over a file server | Stick with Windows 11 + per-seat licences | | You want to centralise control, simplify support, improve audit/security, or support larger teams | Move to Windows Server 2025 + RDS | | You want seamless remote access for everyone | Windows Server 2025 + Tailscale | | Your app struggles with file conflicts or shared file access | Windows Server 2025 (single install) |

May 25, 2025

May Win 11 v Server

Executive Summary: Remote Access and Multi-User Software Deployment

As our business grows and adopts more remote and collaborative work practices, we are evaluating two options for providing secure, shared access to our business software.

Option 2: Windows Server 2025 + RDS (Remote Desktop Services)

  • Software is installed once on the server, and all users access it via remote desktop
  • Fully centralised environment: easy to manage, secure, and update
  • Requires Windows Server licence + RDS CALs (one per user)
  • Designed for true multi-user concurrent access, even from remote locations
  • Best choice for:
    • Tight version control
    • Shared processing power
    • Simplified support and backups

—————–


Recommendation

If each user has a strong PC and the application supports file-based multi-user access, continue with Windows 11 + file server.

If you need central control, simplified support, secure access from anywhere, or guaranteed multi-user concurrency, invest in Windows Server 2025 with RDS.

May 25, 2025