Uncategorised
- Details
- Written by Super User
- Category: Uncategorised
- Hits: 2430
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
- Details
- Written by Super User
- Category: Uncategorised
- Hits: 2356
- Click Start and type CMD in the Start Search menu
- Right Click and choose Run as administrator
- To remove any existing product key (in case you used a trial key), enter and run the command slmgr.vbs /upk .
- Clear the product key
- To enter your new product key, use the command: slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx where the x’s are your actual product key.
- Lastly, activate Windows by entering the command slmgr.vbs /ato
- Windows is now activated.
- from registry by running slmgr.vbs /cpky