
How to Find Product Key for Windows 10 from Command Line
If you lost your Windows 10 product key, you can easily find it from the command line.
- Type cmd in the Windows search bar
- Windows will show you the Command Prompt in the search results. Right-click on the command line then “Run As Administrator”
- Copy and paste the following into the command prompt (to paste, right-click anywhere in the command prompt after copying the code)
wmic path softwarelicensingservice get OA3xOriginalProductKey
- The 25 digit product key with then appear in the prompt as shown here