How to get Windows 10 product key? 🔑

Learn all the legal ways to get Windows 10 product key 🔑 with commands, Microsoft account and more options.

The Windows 10 product key is that alphanumeric code that, although it seems insignificant, is the gateway to enjoy the operating system in a legitimate way.

Many users overlook it, but there comes a day when you need it: when you reinstall your computer, when you change your hard drive or simply when Microsoft asks you to do so.

In this article you will discover all legal and safe ways to get your Windows 10 product key.

Get ready because I will give you tricks, commands, official tools and even a summary table so you don't get lost.


What is the Windows 10 product key? 🖥️

The product key is a 25-character code divided into blocks of 5 (XXXXX-XXXXX-XXXXX-XXXXXXX-XXXXX-XXXXX).

Serves for activate Windows and prove that your copy is original.

Without this key, your operating system will display constant warning messages, and you will lose access to certain customizations and features.


Where to find the product key if you bought a PC with Windows preinstalled? 🛒

If you bought your computer with Windows 10 already installed, the key is often linked to BIOS or UEFI of the equipment.

This means that when Windows is reinstalled, the system will automatically detect it and you won't have to write anything.

In some cases, the key may lie in:

  • A label affixed to the chassis of the computer.
  • A e-mail of the manufacturer.
  • The user manual included in the box.

Using the command prompt to get your Windows key ⚙️

One of the fastest ways is with a simple command.

  1. Open the Command Prompt (search for "cmd" in the start menu).
  2. Right click and select Run as administrator.
  3. Type the following command:
wmic path softwarelicensingservice get OA3xOriginalProductKey

Pressing Enter will display your product key, provided it is registered in the BIOS/UEFI.


Finding the key with PowerShell 📜

Another powerful tool is PowerShell.

  1. Open PowerShell with administrator privileges.
  2. Copy and paste this script:
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey

When executed, the key will appear on the screen.


Review your Microsoft account ☁️

If you have linked your license to your Microsoft account, the key is not as necessary because the system recognizes it as a digital license.

Just log in with your account and Windows will be activated automatically after a reinstallation.

You can check it out at:
👉 Microsoft Account


Search for the key in a mail or invoice 💌

If you purchased Windows 10 directly from the Microsoft Store or other official supplier, the product key will be in the confirmation email.

Carefully check your inbox and also your spam folder.


Use trusted third-party tools 🔧

There are free and secure programs that allow you to read the password stored on your system.

Some examples are:

  • ProduKey (from NirSoft).
  • Magical Jelly Bean Keyfinder.

However, always download from your official websites to prevent malicious software.


Buy a new product key 💳

If for some reason you have lost your password and cannot recover it, there is always the option of buying a new one.

You can do it directly in the Microsoft Storewhere you will find the official digital license.


Difference between product key and digital license 📌.

  • The product key is a code that is written manually.
  • The digital license is linked to your Microsoft account or hardware, and does not require entering a code.

Both activate Windows 10, but work differently.


Summary table 📊

Here you have a table with the most common ways to obtain the Windows 10 key:

MethodWhere to find itDifficultyComment
Physical labelPC chassis or manualVery easyOnly on older equipment
BIOS/UEFIAutomatically detectedVery easyYou don't need to write it
Command PromptUsing WMIC commandEasyWorks on most equipment
PowerShellRecovery scriptEasyTechnical alternative
Microsoft AccountLinked in the cloudVery easyRequires prior linking
Mail/invoiceConfirmation of purchaseEasyDepends on having saved the mail
Third-party softwareProduKey or similarMediumDownload only from official sites
New purchaseMicrosoft StoreEasyPayment required

Final tips to avoid losing your password 📝

  • Store the password in a safe place, such as a password manager.
  • If you have a digital license, make sure you have your Microsoft account linked.
  • Make a backup copy before formatting the computer.

Conclusion 🚀

The Windows 10 product key is not a simple number, but the key that unlocks all the functions of the operating system.

Whether you retrieve it with a command, with PowerShell, in your Microsoft account or in an old invoice, the important thing is that you do it in a way legal and safe.

If you lost it forever, don't worry, Microsoft offers you the possibility of acquiring a new one without complications.

Now that you know how to do it, you will be able to reinstall Windows without fear and keep your computer always active and protected.

Scroll to Top