Microsoft: Find your Windows product key
How to Find Your Windows 11 Product Key With Command Prompt
Open Command Prompt from Search or Run Box.
- Press the Windows Key on your keyboard or in the Search Box, type: cmd and press Enter or click on the top search result.
- At the command prompt, type:
wmic path softwarelicensingservice get OA3xOriginalProductKey - Press Enter to view the results.
- When the command has finished, type: exit and press Enter