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

Have you ever needed your Windows 11 product key but didn’t know where to find it? Fear not, because it’s actually pretty easy to retrieve it using the command prompt (cmd). In just a few simple steps, you can have that elusive product key in no time. So, let’s dive into the nitty-gritty and get you that key!

Step by Step Tutorial: Finding Windows 11 Product Key Using CMD

Before we get into the steps, let’s clear up what we’re about to do. We will use a simple command in the Command Prompt to reveal the product key that’s stored in your computer’s firmware. It’s a quick and painless process, so let’s get started.

Step 1: Open Command Prompt

Open Command Prompt by typing "cmd" into the search bar and selecting the app.

The Command Prompt is a powerful tool that allows you to communicate with your computer using text-based commands. It’s often used for troubleshooting and system maintenance.

Step 2: Enter the Product Key Retrieval Command

Type the following command into the Command Prompt: wmic path softwarelicensingservice get OA3xOriginalProductKey.

This command tells your computer to fetch the original product key that was input when Windows 11 was first installed. It’s a quick way to pull up important information without having to dig through files or settings.

Step 3: View Your Windows 11 Product Key

Your Windows 11 product key will be displayed in the Command Prompt window.

Once the key appears, you can write it down, save it in a document, or just keep the Command Prompt window open while you use the key for whatever task you need it for.

After completing these steps, you’ll have successfully retrieved your Windows 11 product key using the cmd. It’s a straightforward process that doesn’t require any additional software or complicated maneuvers.

Tips: Keeping Your Windows 11 Product Key Safe

  • Always keep a written or digital copy of your product key in a secure place.
  • Do not share your product key with anyone you do not trust.
  • If you’re reinstalling Windows, make sure to have your product key handy before you begin.
  • In case of a system failure, having your product key will make the recovery process smoother.
  • Consider storing your product key in a password manager for extra security.

Frequently Asked Questions

What is a Windows 11 product key?

A Windows 11 product key is a 25-character code used to activate your copy of Windows 11. It ensures that your copy of the software is genuine and hasn’t been used on more devices than the license terms allow.

Can I use the command prompt to find the product key for other versions of Windows?

Yes, the command prompt method works for other versions of Windows as well. The steps are essentially the same, although the exact command may vary slightly.

Is it legal to retrieve my Windows 11 product key using cmd?

Absolutely. Retrieving your own product key that you’ve purchased or that came with your device is completely legal.

What if the command doesn’t work?

If the command doesn’t work, make sure you’ve entered it correctly. If it still doesn’t work, your product key may not be stored in your computer’s firmware, or you might need to run the Command Prompt as an administrator.

Can I use my Windows 11 product key on more than one computer?

No, each Windows 11 product key is tied to a single device or installation. Using it on multiple devices is against the software’s terms of service.


  1. Open Command Prompt.
  2. Enter the product key retrieval command.
  3. View your Windows 11 product key.


Finding your Windows 11 product key doesn’t have to be a headache. By using the Command Prompt with a simple command, you can retrieve your key and move on with your day. This process is not only quick and easy but also completely legal. Whether you’re troubleshooting, reinstalling Windows, or just want to have a copy of your product key for safekeeping, knowing how to find it is a valuable skill. So next time you or a friend needs to find a Windows 11 product key, remember this guide and you’ll have it in no time.

Get Our Free Newsletter

How-to guides and tech deals

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