Find Windows 10 Product Key Using Command Line

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.

  1. Type cmd in the Windows search bar
    Type cmd
  2. Windows will show you the Command Prompt in the search results. Right-click on the command line then “Run As Administrator
    Run As Administrator
  3. 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
  4. The 25 digit product key with then appear in the prompt as shown here
    Show Win 10 Product Key

Leave a Comment