Print the OEM Windows product key from firmware (#7480)

* Print the OEM Windows product key from firmware

Machines that shipped with Windows keep the OEM key in the ACPI MSDM
table. `omarchy windows license key` reads it with strings, then cat.

* Rename the firmware key command to omarchy-windows-key
This commit is contained in:
David Heinemeier Hansson
2026-08-19 13:59:25 +02:00
committed by GitHub
parent 238021cd67
commit 2684c4b02e
3 changed files with 108 additions and 0 deletions
+2
View File
@@ -36,6 +36,8 @@ There's no GPU passthrough with this setup, so it's not suitable for gaming or v
The version installed is Windows 11 Pro, unactivated. You'll need your own license key to use the gated features.
If this computer shipped with Windows, the OEM key is still in firmware even after installing Omarchy. Print it with `omarchy windows key`. That key is bound to this machine — it will activate Windows reinstalled on this hardware, but it usually will not activate the VM.
You can change the resource allocation later by editing `~/.config/windows/docker-compose.yml`, which is also where you'd mount a USB device. See all the options on [the Dockur Windows project](https://github.com/dockur/windows).
To get rid of the whole thing, use _Remove > Windows_ from the Omarchy menu. That deletes the VM's disk and all its data, so make sure anything you care about is out of `~/Windows` first.