Find Your Windows 10 Product Key Using the Command Prompt
To find your Windows 10 product key using the Command Prompt, you’ll need to open the command line application with administrative privileges. To do this, type “cmd” in the Windows search bar.
Command Prompt will appear in the search results. Right-click it and select “Run As Administrator” from the window that appears. If prompted, enter your Windows account password.
wmic path softwarelicensingservice get OA3xOriginalProductKeyThe 25-digit product key will then appear.
Note: This method displays the Windows product key stored in your computer’s BIOS or UEFI firmware. In other words, it shows the original Windows key your computer came with. If you’ve installed Windows with a different key since then (or acquired a digital license), it will be different from the current key in use on your PC. If you want the current key in use on your PC,