# How to Find Your Windows Product Key

> Read your Windows product key with PowerShell or wmic, and understand why most modern PCs return a generic OEM string instead of a unique key.

- Source: https://zepe.online/guides/find-windows-product-key
- Author: Robert Moca (https://zepe.online/author/robert-moca)
- Topic: Versions and licensing
- Published: 2026-06-23T09:00:00+00:00
- Updated: 2026-07-26T09:00:00+00:00
- Author: Zepe editorial team (https://zepe.online/editorial-standards)
- Image: https://zepe.online/img/find-windows-product-key-featured-893aa8f467.webp

## The short answer

In PowerShell, run `(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey`. A firmware key comes back. On most modern PCs nothing does, because activation is a digital licence, not a key you hold.

## Key takeaways

- Most machines since Windows 10 have no per-machine key to find; activation is a hardware hash held on Microsoft's servers.
- The OA3 query reads the key embedded in firmware by the manufacturer, which is the only genuine key on most retail PCs.
- A key beginning VK7JG or similar is a generic edition placeholder, not your licence.
- Link your digital licence to a Microsoft account before you change hardware; that is what makes reactivation possible afterwards.

This one almost always comes up just before a reinstall, and the answer is more reassuring than people expect: on a modern machine you probably do not need a key at all. Understanding why will save you a long search for something that was never there.

## How activation actually works now

Since Windows 10, activation is normally a **digital licence**. When Windows activates, it builds a hash from your hardware, mostly the motherboard, and registers that hash with Microsoft's activation servers. Reinstall on the same hardware and Windows simply recognises the machine and activates itself, without you typing a key at any point.

There are three ways a machine ends up licensed, and they behave differently.

**Three kinds of Windows licence**

| Type | Where the key lives | Survives a hardware change? |
| --- | --- | --- |
| OEM, preinstalled | Embedded in the firmware (OA3) | No. Tied to that motherboard |
| Retail, bought separately | The card or email you received | Yes, can be moved to another PC |
| Free upgrade from 7 or 8 | Nowhere. Digital licence only | No, unless linked to an account |

> **Key point — The most useful answer to this question**
>
> Check whether you need a key before hunting for one. Go to **Settings → System → Activation**. If it says *Windows is activated with a digital licence linked to your Microsoft account*, a reinstall on the same hardware will reactivate on its own, and there is no key to write down.

## Reading the key that is there

### Read the firmware-embedded key

1. Open PowerShell. Press **Win + X**, then **I** on Windows 11 or **A** on Windows 10.
   See [opening a terminal in Windows](https://zepe.online/guides/open-terminal-windows) for the other routes.
2. Run `(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey`
   This reads the OA3 key the manufacturer wrote into the firmware at the factory.
3. A blank result means no key is embedded, which is normal and not a fault.
   Self-built machines, retail licences and free upgrades all return nothing here.

The older equivalent is `wmic path softwarelicensingservice get OA3xOriginalProductKey` in Command Prompt. It returns the same value, though `wmic` is deprecated on current builds and may not be present.

**Figure: What each result means**

A blank result is the most common outcome on a modern machine, and it is not a failure. It means there is nothing to find.

| | Returns a real key | Returns nothing |
| --- | --- | --- |
| Licence type | OEM | Digital / retail |
| Key is stored in firmware | yes | no |
| Reinstall reactivates automatically | yes | yes |
| Licence can move to another PC | no | retail only |
| You need to write it down | optional | no |
| Linking a Microsoft account helps | yes | yes |

## Why the key looks the same as everyone else's

You may run a tool and get a key like `VK7JG-NPHTM-C97JM-9MPGT-3V66T`. Search for it and you will find thousands of other people with precisely the same one, which is unnerving until you know why. It is a **generic edition key**, published by Microsoft purely to select which edition to install, and it carries no licence whatsoever. The tool is not lying to you; that really is what is stored there.

Tools that read the `DigitalProductId` registry value return this on machines with a digital licence, because that is genuinely what is stored there. The tool is not lying; the value is simply not your licence. The OA3 query above is the one that reads a real key when a real key exists.

## Linking the licence to a Microsoft account

If you do one thing from this page, do this one, and do it today rather than on the evening you need it. Linking the licence is what makes reactivation possible after a hardware change. Without it, a digital licence is tied to a motherboard and nothing else, and once that motherboard is gone the link cannot be made retrospectively.

### Link a digital licence

1. Open **Settings → System → Activation**.
2. If it says the licence is not linked, sign in with a Microsoft account.
   You can go back to using a local account afterwards; the link persists.
3. Confirm it now reads *Windows is activated with a digital licence linked to your Microsoft account*.
4. After a motherboard change, use **Troubleshoot** on the same Activation page and choose *I changed hardware on this device recently*.
   You sign in, pick the device from the list, and Windows reactivates. This is the supported path, and it only works if the link was made first.

## Other places a key may be

- **A sticker on the machine.** Common up to Windows 7, rare afterwards. Laptops often had it in the battery compartment.
- **The retail box or confirmation email**, if you bought Windows separately.
- **Your Microsoft account order history** at account.microsoft.com, for a digital purchase.
- **Your workplace IT department**, for a volume-licensed machine. There is no per-machine key to find on those.

> **Careful — On cheap keys and activation tools**
>
> Keys sold for a few pounds on marketplaces are typically volume or OEM keys resold outside their licence terms. They often activate and are later blocked, leaving an unactivated machine. Activation-bypass scripts are out of scope here for the reasons set out in our [editorial standards](https://zepe.online/editorial-standards). If Windows will not activate, Microsoft's Activation troubleshooter and support line are the routes that lead somewhere.

## What running unactivated actually costs

Less than people expect, which is genuinely worth knowing if you are between licences and slightly panicking. Windows keeps working. It keeps getting security updates. It deletes nothing. What you get is a watermark in the corner, a nag in Settings, and the Personalization page locked, so you cannot change wallpaper, colours or themes from there.

That last one has a documented way around it that requires no licence trickery: right-click any image and choose **Set as desktop background**, as covered in the guide on [changing your desktop wallpaper](https://zepe.online/guides/change-desktop-wallpaper-windows).

> **Editor's note — Before a reinstall**
>
> Run the OA3 query and save whatever it returns, note whether Activation says the licence is linked to your Microsoft account, and check which edition you are running with `winver`. Those three facts take a minute and cover every situation you are likely to hit afterwards. If the reinstall is a last resort for a broken machine, the guide on [repairing Windows without reinstalling](https://zepe.online/guides/repair-windows-7) is worth working through first.

## Common questions

### Why does my product key look the same as everyone else's?

Because it is a generic edition key rather than your licence. On a machine with a digital licence, the value stored in the registry is a published placeholder used to select which edition to install. The real entitlement is a hardware hash held by Microsoft's activation servers, so there is no unique key to recover.

### Do I need my product key to reinstall Windows?

Usually not. If Settings → System → Activation reports a digital licence, reinstalling the same edition on the same hardware reactivates automatically. You can skip the key prompt during setup by choosing **I don't have a product key**.

### Can I move my Windows licence to a new PC?

Only a retail licence. OEM licences, which is what preinstalled Windows uses, are tied to the motherboard they shipped with and cannot be transferred. A licence obtained through the free upgrade from Windows 7 or 8 behaves the same way.

### What happens if I do not activate Windows?

Windows keeps working and keeps receiving security updates. You get a watermark in the corner of the screen, periodic prompts, and the Personalization settings are locked so you cannot change wallpaper or colours from there. Nothing is deleted and no features stop working beyond that.

## Sources

- [Find your Windows product key](https://support.microsoft.com/en-us/windows/find-your-windows-product-key-aaa2bf69-7b2b-9f13-f581-a806abf0a886) — Microsoft Support. Supports: Where product keys are located by licence type, and that a digital licence requires no key.
- [Windows subscription activation](https://learn.microsoft.com/en-us/windows/deployment/windows-10-subscription-activation) — Microsoft Learn. Supports: How digital licences and account linking work, and the role of the activation servers.
- [Windows version search](https://learn.microsoft.com/en-us/windows/client-management/client-tools/windows-version-search) — Microsoft Learn. Supports: Using winver and related tools to confirm the installed edition and build before a reinstall.

## Related guides

- https://zepe.online/guides/best-windows-version
- https://zepe.online/guides/change-desktop-wallpaper-windows
- https://zepe.online/guides/repair-windows-7

---

© 2026 Zepe. Windows is a trademark of Microsoft Corporation; this site is not affiliated with Microsoft.
