Skip to content
GEEKnodes

Windows · Updated on

Find the Windows Product Key Stored in Your BIOS/UEFI

How to view the Windows 10 and 11 OEM product key embedded in BIOS/UEFI with PowerShell now that WMIC is gone, and what if no key shows up.

Years ago branded PCs carried a sticker with the Windows key. Today hardly any maker adds one: the OEM product key is embedded in the motherboard firmware (BIOS/UEFI). That is handy because reinstalling Windows on that PC activates it automatically, without typing anything. But if you need to see the key (to check which edition the PC ships with, to note it down or for a reinstall where it is not detected), you can read it with a command.

Before you start

  • This key only exists on PCs sold with Windows preinstalled by the maker. If you built the PC or bought it without a system, there will be nothing.
  • The OEM key is tied to that PC and a specific edition (Home or Pro). It does not activate another computer.
  • The classic wmic command no longer works. Microsoft retired WMIC: per its deprecated features list, it is removed and no longer available as a feature on demand in Windows 11 24H2 and later. The replacement is PowerShell, used here. WMI, the system underneath, still works.
  • Windows 10 support ended on October 14, 2025. These commands work the same on Windows 10 and Windows 11.

Step 1: open PowerShell

Right-click Start and choose Terminal (Windows 11) or Windows PowerShell (Windows 10). Reading the key needs no administrator rights.

Step 2: read the OEM key from firmware

Type:

Flow reading the OEM key from UEFI with PowerShell, with reference to Home and Pro editions.
The key stored in firmware identifies the PC’s OEM edition.
(Get-CimInstance -ClassName SoftwareLicensingService).OA3xOriginalProductKey

If the firmware holds a key, it appears as five blocks of five characters. To also see which edition it is:

Get-CimInstance -ClassName SoftwareLicensingService |
  Select-Object OA3xOriginalProductKey, OA3xOriginalProductKeyDescription

The description states the edition the key was issued for (for example Home or Pro). Useful to know which version to install so it activates itself.

If you are in Command Prompt (cmd) instead of PowerShell, run the same command like this:

powershell -NoProfile -Command "(Get-CimInstance -ClassName SoftwareLicensingService).OA3xOriginalProductKey"

Windows key and PC serial number: not the same

The old version of this guide also included wmic bios get serialnumber. That command shows not the Windows key but the computer’s serial number (what the maker’s support asks for). If you need it, today’s equivalent is:

Comparison between the OEM key stored in firmware and the laptop's identifying serial number.
The key activates Windows; the serial number identifies the computer.
(Get-CimInstance -ClassName Win32_BIOS).SerialNumber

Check it works

To check the activation status of the installed Windows:

  • Windows 11: Settings > System > Activation.
  • Windows 10: Settings > Update & Security > Activation.

If it says Windows is activated with a digital license, you need do nothing with the key. If you reinstall the same edition on the same PC, setup reads the firmware key and activation happens by itself once online.

Common problems

The command returns nothing (blank line). The firmware has no OEM key. Happens on custom builds, PCs sold without a system and many upgraded to Windows 10 or 11 from earlier versions: there activation is usually a digital license tied to the hardware and, if linked, your Microsoft account. There is no key to retrieve.

A PC with an OEM key returns one; a custom build without a key may use a digital license.
An empty answer can be normal if firmware holds no OEM key.

“‘wmic’ is not recognized as an internal or external command”. Expected on current Windows 11: WMIC was removed. Use this guide’s PowerShell commands.

You installed Windows and it does not activate with the firmware key. Most often another edition was installed (e.g. Pro on a PC shipped with Home). Check the edition with the description from step 2 and install that. If correct, try the activation troubleshooter on the Activation page.

You replaced the motherboard. The OEM key is embedded in the old board and the license is tied to it. A digital license linked to your Microsoft account can be reactivated after a hardware change with the activation troubleshooter, but an OEM license cannot always be moved.

The key shown is not the one your Windows uses. Normal: firmware keeps the factory key, and if you changed edition or installed another license, the active one differs. To see the license in use, run slmgr /dli in a console.

Frequently asked questions

Can I use my BIOS key on another PC? No. OEM licenses are tied to the computer they were sold with.

Is it safe if someone sees my key? Better not share it. It cannot legitimately be “stolen” for another PC, but there is no reason to publish it.

What if Windows does not boot? You can reinstall the same edition from install media: the key is still read from firmware, no need to know it.

Accessibility preferences

Quick profiles

Text and reading

Text size
Default
Line height
Default
Letter spacing
Default
Word spacing
Default

Colour

Motion and orientation

Cursor