Wmic path softwarelicensingservice get OA3xOriginalProductKey Once the command prompt is open, paste the below code in the dialog box and press enter. When you find the command prompt, right-click on it and select 'run as administrator.' In some cases, you may be asked for your Windows password. To do this, you need to search 'cmd' in your search bar.
When looking for your Windows 10 product key using the command prompt, you will need to run it as an admin.