Quick Tip: Retrieve an embedded OEM Windows product key

If you’re working on a device that has an embedded OEM Windows product key, you can run the following to retrieve it:

wmic path SoftwareLicensingService get OA3xOriginalProductKey

“That’s nice,” you say, “but can we do that in PowerShell?”

But of course!

(Get-CimInstance -ClassName "SoftwareLicensingService").OA3xOriginalProductKey

Jacob

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.