Finding Lost Windows Product Key Using Command Prompt or PowerShell


Command Prompt

wmic path softwarelicensingservice get OA3xOriginalProductKey

Powershell

powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey"