Step 1. Right-click on Windows Start.
Step 2. From the list, click Windows PowerShell (admin).
Step 3. On the PowerShell, Type or copy paste this query without the quotes ” wmic path SoftwareLicensingService get OA3xOriginalProductKey “ and then press Enter.
Step 4. Copy the displayed Product Key. A quick way is to select the key and press ctrl + c. You will need this key later.
Step 5. Now, press Windows + I to open Windows Settings.
Step 6. From Windows Settings, click Update & Security
Step 7. On the left side, look for Activation and click on it.
Step 8. Then, click on the ‘Change product key’ option and then enter or paste your Product Key which you got from step 4.