2

How To Find Windows Product Key using CMD

 1 year ago
source link: https://www.shellhacks.com/how-to-find-windows-product-key-using-cmd/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How To Find Windows Product Key using CMD

A Windows product key is a 25-character code used to activate Windows, that looks like: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

When Windows is getting installed on a computer, it stores its product key in a registry from where anyone can view it.

This short note shows how to find your Windows product key using a Windows command prompt (CMD).

Cool Tip: How to check a Windows license type ! Read more →

How To Find Windows Product Key

Press ⊞ Win keybutton to open the Start menu, type in cmd and click on the “Command Prompt” app to launch the CMD.

To find the Windows product key, execute the following command:

C:\> wmic path SoftwareLicensingService get OA3xOriginalProductKey
windows-product-key.png

The command above gets the Windows product key value from the registry and displays it in the command prompt window.

Was it useful? Share this post with the world!

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK