How to find your OEM Windows activation keys from the Linux terminal....

Moderator: Forum moderators

Post Reply
User avatar
mikewalsh
Moderator
Posts: 5575
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1681 times

How to find your OEM Windows activation keys from the Linux terminal....

Post by mikewalsh »

Evening, gang.

I'm probably preaching to the choir here, and if so, I apologize..! This wee snippet of info comes courtesy of my mate NickAu.....fellow BC mod, and long-term Puppy user. (Some of you may remember him from the old Murga Forum, some 10 yrs or so ago:-

http://oldforum.puppylinux.com/memberli ... le&u=44219 )

This comes from the CyberCiti blog, one I occasionally peruse myself:-

https://www.cyberciti.biz/faq/linux-fin ... y-command/

------------------------------------------------------

If your computer originally came, when new, with either Windows 8, 8.1 OR 10, then it almost certainly has UEFI. It seems that, even if - like me - you never booted it or activated it, and immediately wiped it out of your life because you had no use for, or interest in Windows, the activation key for that original install of Windows is still "embedded" in your UEFI.

(What this means, of course, is that if you should change your mind at some unspecified point in the future, and decide that you need Windows back on your machine, the only thing you need to do is to download the current offering from the M$ website....because at install time, Windows scans the UEFI to see if an activation key exists; if one does, it's picked up automatically. As we all know, it isn't Windows itself that costs an arm and a leg....it's that "activation key". And although I haven't run Windoze for many a year, I think I'm right in saying that the key is tied to your hardware, NOT Windows itself. Cos if it were, you'd run into issues every time M$ issued an updated build, yes?)

--------------------------------------------

For this, you need the "strings" command. Easiest way to get this is to load your DevX; "strings" is part of the binutils package, which is usually built-in to the Devx.

Having made "strings" available to the system, open a terminal, and issue the following command:-

Code: Select all

 strings /sys/firmware/acpi/tables/MSDM

I'm in my daily driver, ATM - jrb's lite spin on Barry's old Quirky64 April - upgraded to glibc 2.27 from glibc 2.20, and currently running peebee's recent k6.1.0 kernel. (Runs sweet!) I converted Quirky's original Devx .pet to an SFS ages ago; this is still fully functional, despite the upgrades, so:-

The above command gives me:-

Code: Select all

root@QuirkyMikePC:[~]strings /sys/firmware/acpi/tables/MSDM
MSDMU
HPQOEMSLIC-CPC	 
AMI 
MNF79-YT2HD-T786X-GWHF3-G83DQ
root@QuirkyMikePC:[~]

That last line - a string comprised of five groups of 5 numbers/letters, separated by hyphens - is the key for the Windows 10 that was installed on this Pavilion desktop when I bought it. (Goes without saying, of course; it's no use anybody else attempting to use it, because at this point it's already tied to MY specific hardware.... *shrug* )

And that, mes amis, is that. Easy-peasy when ya know how. I figured some of you might be interested in this, so.....there ya go!

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

tosim
Posts: 422
Joined: Thu Jul 23, 2020 1:13 pm
Has thanked: 673 times
Been thanked: 45 times

Re: How to find your OEM Windows activation keys from the Linux terminal....

Post by tosim »

Thanks for this. Even though I usually only use Windoze once or twice a year, this might come in handy some day.

User avatar
mikewalsh
Moderator
Posts: 5575
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1681 times

Re: How to find your OEM Windows activation keys from the Linux terminal....

Post by mikewalsh »

tosim wrote: Sat Dec 31, 2022 5:01 pm

Thanks for this. Even though I usually only use Windoze once or twice a year, this might come in handy some day.

Like I said, if it helps some of you, that was the object of the exercise. I haven't used it for almost a decade, personally, but I know several others who still use it semi-regularly for various "must-have" apps.....so this info is bound to come in useful for somebody at some point..!

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

User avatar
gychang
Posts: 553
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 195 times
Been thanked: 51 times

Re: How to find your OEM Windows activation keys from the Linux terminal....

Post by gychang »

mikewalsh wrote: Sat Dec 31, 2022 1:25 am

Evening, gang.

If your computer originally came, when new, with either Windows 8, 8.1 OR 10, then it almost certainly has UEFI. It seems that, even if - like me - you never booted it or activated it, and immediately wiped it out of your life because you had no use for, or interest in Windows, the activation key for that original install of Windows is still "embedded" in your UEFI.

(What this means, of course, is that if you should change your mind at some unspecified point in the future, and decide that you need Windows back on your machine, the only thing you need to do is to download the current offering from the M$ website....because at install time, Windows scans the UEFI to see if an activation key exists; if one does, it's picked up automatically. As we all know, it isn't Windows itself that costs an arm and a leg....it's that "activation key". And although I haven't run Windoze for many a year, I think I'm right in saying that the key is tied to your hardware, NOT Windows itself. Cos if it were, you'd run into issues every time M$ issued an updated build, yes?)

--------------------------------------------

For this, you need the "strings" command. Easiest way to get this is to load your DevX; "strings" is part of the binutils package, which is usually built-in to the Devx.

Having made "strings" available to the system, open a terminal, and issue the following command:-

Code: Select all

 strings /sys/firmware/acpi/tables/MSDM

I'm in my daily driver, ATM - jrb's lite spin on Barry's old Quirky64 April - upgraded to glibc 2.27 from glibc 2.20, and currently running peebee's recent k6.1.0 kernel. (Runs sweet!) I converted Quirky's original Devx .pet to an SFS ages ago; this is still fully functional, despite the upgrades, so:-

The above command gives me:-

Code: Select all

root@QuirkyMikePC:[~]strings /sys/firmware/acpi/tables/MSDM
MSDMU
HPQOEMSLIC-CPC	 
AMI 
MNF79-YT2HD-T786X-GWHF3-G83DQ
root@QuirkyMikePC:[~]

That last line - a string comprised of five groups of 5 numbers/letters, separated by hyphens - is the key for the Windows 10 that was installed on this Pavilion desktop when I bought it. (Goes without saying, of course; it's no use anybody else attempting to use it, because at this point it's already tied to MY specific hardware.... *shrug* )

Mike. ;)

very useful info, thanks!

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

Post Reply

Return to “Tips & Tweaks”