Skip to content

Instantly share code, notes, and snippets.

@pavelschon
Created November 16, 2023 14:19
Show Gist options
  • Save pavelschon/6cf849e88369c15d7e84cd5a9a35a51f to your computer and use it in GitHub Desktop.
Save pavelschon/6cf849e88369c15d7e84cd5a9a35a51f to your computer and use it in GitHub Desktop.
How to get MS Windows product key from hardware / BIOS
# The product key starts with XXXXX
$ sudo cat /sys/firmware/acpi/tables/MSDM
MSDMU6LENOVOTP-N3G pPTECXXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment