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

Finding your Windows 11 product key using CMD (Command Prompt) is straightforward. Open Command Prompt with administrative privileges, and enter a simple command to reveal the product key. This method is quick, precise, and perfect for those who prefer not to use third-party software.

How to Find Windows 11 Product Key Using CMD

Using CMD to locate your Windows 11 product key involves a few steps. These steps will guide you through the process, so you can retrieve your product key without a hitch.

Step 1: Open Command Prompt as Administrator

To start, you need to open Command Prompt with elevated privileges.

Right-click on the Start button and select “Command Prompt (Admin)” or “Windows Terminal (Admin).” This ensures you have the necessary permissions to execute the command.

Step 2: Enter the Command

Now, you’ll need to type a specific command to fetch the product key.

Type the following command and press Enter: wmic path softwarelicensingservice get OA3xOriginalProductKey. This command queries the Windows Management Instrumentation (WMI) to retrieve the product key stored in the BIOS/UEFI.

Step 3: View the Product Key

After entering the command, the product key will be displayed.

You’ll see a string of characters labeled as the OA3xOriginalProductKey. This is your Windows 11 product key. Make sure to note it down or take a screenshot for safekeeping.

Once you complete these steps, you will have successfully retrieved your Windows 11 product key. Keep it secure, as you’ll need it for future installations or activations.

Tips for Finding Windows 11 Product Key Using CMD

  • Ensure Administrative Privileges: Always run Command Prompt as an administrator to avoid permission issues.
  • Double-Check the Command: Typing errors can prevent the command from working. Double-check for accuracy.
  • Secure Your Product Key: Once retrieved, keep your product key in a secure location.
  • Use Copy-Paste: To avoid mistakes, copy the command from this guide and paste it into the Command Prompt.
  • Understand Limitations: This method retrieves the key from BIOS/UEFI, which might not work if you’ve upgraded from an older OS without a fresh installation.

Frequently Asked Questions

What if I don’t see the product key?

Ensure you run Command Prompt as an administrator and check for typing errors in the command.

Can I use this method on older Windows versions?

Yes, this method works on Windows 10 and sometimes on Windows 8, but it’s designed for Windows 11.

Is it safe to share my product key?

No, keep your product key private to prevent unauthorized use.

What if my product key doesn’t activate Windows?

Contact Microsoft Support if your legitimate key fails to activate Windows.

Can I use CMD to find my product key on a pre-built PC?

Yes, if the product key is stored in the BIOS/UEFI, this method will work.


  1. Open Command Prompt as Administrator.
  2. Enter the command wmic path softwarelicensingservice get OA3xOriginalProductKey.
  3. View and note down the product key.


Finding your Windows 11 product key using CMD is a quick and effective method that doesn’t require any third-party tools. This simple process ensures you have your product key on hand for future needs, like system reinstalls or troubleshooting activation issues. By following the steps outlined, you’ve learned a vital skill that enhances your tech know-how.

Remember, always keep your product key secure and private. Armed with this knowledge, you can confidently manage your Windows 11 installations and activations. If you found this guide helpful, consider exploring more articles on Windows 11 for additional tips and tricks!

Join Our Free Newsletter

Featured guides and deals

You may opt out at any time. Read our Privacy Policy