These days, OEM’s do not include a sticker on the chassis that includes the product key information. Normally you do not need it, as reloading your copy of Windows will automatically activate, however, you may need to retrieve your product key to have on hand. Fortunately, this is very easy to do with one simple command. This will work in Windows 7, 8, 8.1 and Windows 10.
- Open a Powershell prompt from the Start Menu as administrator
- Enter the command
$(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey