Skip to content

Instantly share code, notes, and snippets.

@3ffusi0on
Last active April 20, 2017 17:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 3ffusi0on/815db932533bc2903b201047c62896a6 to your computer and use it in GitHub Desktop.
Save 3ffusi0on/815db932533bc2903b201047c62896a6 to your computer and use it in GitHub Desktop.
Find Windows activation key
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
@3ffusi0on
Copy link
Author

Exec in Powershell to find current Windows system activation key

@Dewep
Copy link

Dewep commented Apr 20, 2017

With some colors:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment