How to Check Your Windows Product Key

Your Windows product key is a 25-character alphanumeric code that activates your copy of Windows. Whether you're preparing to reinstall the operating system, transferring a license to a new machine, or simply keeping your software documentation organized, knowing how to retrieve that key is a practical skill. The method that works best for you depends on how Windows was installed, where the license is stored, and which version you're running.

What Is a Windows Product Key and Where Is It Stored?

A Windows product key (sometimes called a license key or activation key) ties your copy of Windows to either your hardware or your Microsoft account. It typically looks like this:

Where the key lives depends heavily on how and when Windows was installed:

  • Retail licenses — purchased in a box or as a standalone download. The key is often printed on a card inside the box or delivered via email.
  • OEM licenses — pre-installed by the manufacturer (Dell, HP, Lenovo, etc.). On older machines (pre-Windows 8), the key was on a sticker on the device. On modern hardware, it's embedded directly in the UEFI firmware (the system's low-level software), which means there's no physical sticker to look for.
  • Volume licenses — used by businesses and organizations. These are managed centrally and may not be retrievable by a standard end user.
  • Digital licenses — introduced with Windows 10 and carried into Windows 11. These link activation to your Microsoft account rather than a standalone product key string.

Understanding which type you have affects which retrieval method will actually work.

Method 1: Check Using Windows PowerShell or Command Prompt 🔍

This is the most direct approach and works on Windows 10 and Windows 11.

Using PowerShell:

  1. Right-click the Start button and select Windows PowerShell or Terminal
  2. Type or paste the following command and press Enter: