Two simple methods to find your Windows 10 Product Key is the following.
How to Find your Windows 10 Product Key Using CMD
Step 1. Simultaneously press the Windows and X key. Now, select the Command Prompt (Admin) option.
Step 2. Enter the below code in the Command Prompt and after that hit Enter.
wmic path softwarelicensingservice get OA3xOriginalProductKey
Step 3. Now, a new screen will pop-up on your screen, which will automatically display the product key of your Windows 10 OS.
How to Find your Windows 10 Product Key Using Power Shell
Step 1. Open Windows Search, type powershell, and then right click on the result. Make sure to select Run as administrator too.
Step 2. Open Windows PowerShell and enter the following command.
powershell “(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey”
Step 3. The Product Key related to your Windows will now appear on the screen.