Skip to content
script to read the Windows 8.x OEM license key from PC firmware
Python
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md updated tested py versions Feb 7, 2015
get_win8key.exe replaced "exit()" with "sys.exit()" to workaround a py2exe problem Feb 7, 2015
get_win8key.py replaced "exit()" with "sys.exit()" to workaround a py2exe problem Feb 7, 2015

README.md

get_win8key

script to read a preinstalled Windows 8.x OEM license key from a PC's firmware

Description

PCs with a preinstalled Windows 8.x OEM version don't seem to ship with any printed license record, CD Key, etc. Instead it looks like that the PC's individual license has been saved in the device's firmware (ACPI). When the user tries to reinstall Windows, the Windows Setup reads the license key from the firmware memory, so there's no need to manually type in the actual Windows key.

To still be able to backup / inventorize the license key, this script tries to read the Windows 8.x key from the PC firmware. (from ACPI -> MSDM table -> byte offset 56 to end)

Usage

run "get_win8key.exe" or "python get_win8key.py" from a Windows shell.

Requirements

-Windows Vista or higher (32 or 64 bit)
-tested with Python 2.7 and 3.4

Files

get_win8key.py..................the script
get_win8key.exe.................compiled py2exe

You can’t perform that action at this time.