How to Find Windows 11 Product Key Using CMD: A Step-by-Step Guide

Photo of author

By Matthew Simpson

How to Find Windows 11 Product Key Using CMD

Finding your Windows 11 product key using Command Prompt (CMD) is a quick and easy process. You simply open CMD with administrative rights, type a specific command, and hit Enter. Your product key will be displayed on the screen. Here’s a step-by-step guide to make it even easier.

Step by Step Tutorial to Find Windows 11 Product Key Using CMD

This guide will walk you through each step you’ll need to follow to find your Windows 11 product key using Command Prompt.

Step 1: Open Command Prompt as Administrator

Open CMD with administrative rights.

To do this, type "cmd" in the search bar, right-click on "Command Prompt," and select "Run as administrator." This ensures you have the necessary permissions to execute the command.

Step 2: Enter the Command

Type the command wmic path softwarelicensingservice get OA3xOriginalProductKey and press Enter.

This command uses the Windows Management Instrumentation Command-line (WMIC) to retrieve the product key, which is stored in the BIOS or UEFI firmware.

Step 3: View Your Product Key

Your product key will appear on the screen.

It will be a 25-character code that looks something like this: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX. Make sure to note it down accurately.

After completing these steps, you’ll have your Windows 11 product key displayed right on your screen. This key is essential for reinstallations and troubleshooting issues related to Windows activation.

Tips for Finding Windows 11 Product Key Using CMD

  • Keep your product key safe. Store it in a secure location, like a password manager.
  • Double-check the characters. Some characters can look similar, like "B" and "8" or "O" and "0."
  • Run CMD as administrator. Without admin rights, the command may not work properly.
  • Avoid sharing your product key. Sharing your key can lead to security risks.
  • Use the correct command. A typo can result in an error or an empty result.

Frequently Asked Questions

Can I find the product key without admin rights?

No, you need administrative rights to use the WMIC command.

What if the command doesn’t show my product key?

Ensure you typed the command correctly. If the problem persists, your Windows copy might be a digital license linked to your Microsoft account.

Is this method safe?

Yes, using CMD to find your product key is completely safe and approved by Microsoft.

Can I use this method for previous Windows versions?

Yes, the WMIC command works for Windows 10 and Windows 8 as well.

What if I lose my product key?

If you lose your product key, you can retrieve it again using CMD or check your email if you purchased it online.


  1. Open CMD as Administrator.
  2. Enter the command: wmic path softwarelicensingservice get OA3xOriginalProductKey.
  3. View your product key on the screen.


Finding your Windows 11 product key using CMD is a straightforward process that takes just a few moments. With these steps, you’ll be able to locate your product key quickly and safely. Remember to keep your key secure and avoid sharing it with others to prevent any security issues.

For more information on Windows 11 and other tech tips, keep exploring our site. If you found this guide helpful, consider sharing it with friends who might need it. Have any questions or run into issues? Feel free to reach out or check our FAQ section. Happy computing!