Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124


Sometimes, your recovery option in windows doesnt work and you need to format your laptop but you dont know how to activate your windows again (I know that product Key is saved in BIOS in new PCs, but I’m tolking about PCs that didnt have this option).
here is a little script to get your windows product Key.
# Get the original product key from SoftwareLicensingService
$productKey = (Get-WmiObject -Query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
Write-Host "Product Key : $productKey" -ForegroundColor Green
Here is the result :

Thanks