How to find your Windows 10 or Windows 11 product key
A Windows 10 or Windows 11 product key can be retrieved from firmware with PowerShell, while activation settings help identify digital licenses and activation status.
On current Windows 11 systems, open Windows PowerShell through Terminal and run `(Get-CimInstance -ClassName SoftwareLicensingService).OA3xOriginalProductKey` to display a firmware-stored product key. The command does not require administrator rights, but it can show the complete key, so screenshots should be redacted before sharing.
The same PowerShell command works on Windows 10. Windows 10 also retains the older WMIC method, while current Windows 11 versions may not include WMIC. A blank result means only that no firmware key was reported; Windows may still be activated through a digital license.
Activation status is available under Settings. A digital license may allow Windows to reactivate after reinstalling the same edition on the same PC without entering a key. A firmware key can belong to a different edition, such as Home instead of the installed Pro edition, so the installed edition should be checked before reinstalling.
For separately purchased copies, the key may be in the purchase confirmation or product packaging. A motherboard replacement or move to another PC can affect activation, and transfer rules depend on the license type.