Find the Product Key Using Command Prompt
Press Win + R, type cmd, and press Enter.
In the Command Prompt, type the following command and press Enter:
pgsql
wmic path softwarelicensingservice get OA3xOriginalProductKey
Your product key should be displayed.