Linux find Windows 10 OEM product key command

栏目: IT技术 · 发布时间: 6年前

内容简介:Most modern desktop and laptop comes with Windows 8 or 10 keys embedded in BIOS. Thinkpad, Dell, and many other BIOS vendors expose these keys to Linux, too, along with tons of data. So one can find and retrieve Windows 10 or Windows 8 key using Linux. The

I removed and installed Ubuntu Linux 16.04 LTS on my development Lenovo laptop. However, I need to use my Windows 10 pro in KVM VM for running the accounting app. How do I find and print my embedded Windows 10 pro key from a Linux command line option? How can I retrieve Microsoft Windows 8 and 10 OEM product key from BIOS?

Most modern desktop and laptop comes with Windows 8 or 10 keys embedded in BIOS. Thinkpad, Dell, and many other BIOS vendors expose these keys to Linux, too, along with tons of data. So one can find and retrieve Windows 10 or Windows 8 key using Linux. The key helps to activate the Windows version without any input from users.

How To – Linux find Windows 10 OEM product key

To find your original Windows 10 product key from Linux:

  1. Open the terminal application.
  2. You must run the Linux command as the root user.
  3. Type ‘ sudo strings /sys/firmware/acpi/tables/MSDM ‘ to print Windows 10 or Windows 8 OEM product key
  4. You can also use the acpidump command to get the same information under Linux.

Let us see all the commands and examples in detail.

Say hello to /sys/firmware/acpi/tables

ACPI tables can be retrieved via sysfs in latest Linux kernels. For example, type the following ls command:

ls -l /sys/firmware/acpi/tables/

Sample outputs:

total 0
-r-------- 1 root root    300 Jan 17 17:01  APIC
-r-------- 1 root root    160 Jan 17 17:01 'ASF!'
-r-------- 1 root root     74 Jan 17 17:01  BATB
-r-------- 1 root root     56 Jan 17 17:01  BGRT
-r-------- 1 root root     40 Jan 17 17:01  BOOT
drwxr-xr-x 2 root root      0 Jan 17 17:01  data
-r-------- 1 root root     84 Jan 17 17:01  DBG2
-r-------- 1 root root     52 Jan 17 17:01  DBGP
-r-------- 1 root root    144 Jan 17 17:01  DMAR
-r-------- 1 root root 157823 Jan 17 17:01  DSDT
drwxr-xr-x 2 root root      0 Jan 17 17:01  dynamic
-r-------- 1 root root     83 Jan 17 17:01  ECDT
-r-------- 1 root root    276 Jan 17 17:01  FACP
-r-------- 1 root root     64 Jan 17 17:01  FACS
-r-------- 1 root root     68 Jan 15 15:04  FPDT
-r-------- 1 root root     56 Jan 17 17:01  HPET
-r-------- 1 root root    148 Jan 17 17:01  LPIT
-r-------- 1 root root     60 Jan 17 17:01  MCFG
-r-------- 1 root root     85 Jan 17 17:01  MSDM
-r-------- 1 root root     45 Jan 17 17:01  NHLT
-r-------- 1 root root   6950 Jan 17 17:01  SSDT1
-r-------- 1 root root   3817 Jan 17 17:01  SSDT10
-r-------- 1 root root   5759 Jan 17 17:01  SSDT11
-r-------- 1 root root   7036 Jan 17 17:01  SSDT12
-r-------- 1 root root    244 Jan 17 17:01  SSDT13
-r-------- 1 root root   1389 Jan 17 17:01  SSDT2
-r-------- 1 root root  21120 Jan 17 17:01  SSDT3
-r-------- 1 root root  12605 Jan 17 17:01  SSDT4
-r-------- 1 root root  10844 Jan 17 17:01  SSDT5
-r-------- 1 root root   1554 Jan 17 17:01  SSDT6
-r-------- 1 root root   1328 Jan 17 17:01  SSDT7
-r-------- 1 root root   6725 Jan 17 17:01  SSDT8
-r-------- 1 root root  10433 Jan 17 17:01  SSDT9
-r-------- 1 root root     52 Jan 17 17:01  TPM2
-r-------- 1 root root     66 Jan 17 17:01  UEFI1
-r-------- 1 root root    298 Jan 17 17:01  UEFI2
-r-------- 1 root root     40 Jan 17 17:01  WSMT

The /sys/firmware/acpi/tables facility can be used by platform/BIOS vendors to provide a Linux compatible environment without modifying the underlying platform firmware. This facility also provides a powerful feature to debug and test ACPI BIOS table compatibility quickly with the Linux kernel by changing the old platform provided ACPI tables or inserting new ACPI tables.

How to retrieve Windows 8 and Windows 10 OEM product key from BIOS when using Linux

First, open the terminal application by pressing Ctrl – Alt + T keyboard shortcut. Then type the followingcat command:

sudo cat /sys/firmware/acpi/tables/MSDM

Feel free to use the tail command as shell pipe:

sudo cat /sys/firmware/acpi/tables/MSDM | tail -1
Linux find Windows 10 OEM product key command
Retrieve an embedded Windows OEM key using Linux operating system

A note about retrieving the product key in Windows 10 or Windows 8 itself

Open a new command prompt window (cmd.exec) and type the following command :

wmic path softwarelicensingservice get OA3xOriginalProductKey
Linux find Windows 10 OEM product key command
Find Windows 10 OEM product key using CMD app (cmd.exec)

Conclusion

You learned how to find your embedded Windows 8 or Windows 10 OEM product key from a Linux command line option or when Linux installed.


以上所述就是小编给大家介绍的《Linux find Windows 10 OEM product key command》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

走出软件作坊

走出软件作坊

阿朱 / 电子工业出版社 / 2009-1 / 39.80

《走出软件作坊》这本书提供了解决国内小型IT企业发展的过程中会遇到的项目管理问题的若干方法。主要以作者自身多年工作的宝贵经验,来谈软件公司的项目管理和团队建设,包括对中小软件公司软件开发组织结构、团队文化、软件过程管理、团队激励、绩效考核、职业发展规划、未来业界发展趋势、个人素质提升等,具有实际指导意义。主要读者对象是IT企业的研发主管、项目经理和软件开人中同,以及即将到IT企业工作的高校毕业生。一起来看看 《走出软件作坊》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

在线进制转换器
在线进制转换器

各进制数互转换器

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具