Recover the OEM Windows Key Embedded in Firmware
Read the product key burned into UEFI/BIOS by the manufacturer — the key a clean Windows install reuses automatically.
01Command
$ wmic path softwarelicensingservice get OA3xOriginalProductKey02What it does
Branded PCs (Dell, HP, Lenovo, and most prebuilts from the Windows 8 era onward) have their Windows product key burned into the ACPI/UEFI firmware, and activation picks it up automatically on reinstall. The SoftwareLicensingService WMI class exposes it as OA3xOriginalProductKey, so this one query recovers the key without sticker hunting or third-party key finders. A blank result usually means the machine uses a digital license tied to your Microsoft account (check with slmgr /dli) or the key was never embedded, as on self-built desktops. Note that WMIC is deprecated in Windows 11 builds, where the PowerShell equivalent is (Get-CimInstance SoftwareLicensingService).OA3xOriginalProductKey.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- WMIC — Windows Management Instrumentation CommandEvidence: Documents wmic PATH syntax for querying WMI classes such as softwarelicensingservice.
Last verified: 2026-09-18 · Category: System & Settings
06Related solutions
One command that shows OS version, install date, boot time, memory, network adapters and installed hotfixes.
Built-in Windows command to compute MD5, SHA1 or SHA-256 hashes of any file.
Remove hidden, system and read-only flags from files or whole directory trees.