Find Windows Version from File System using Linux

Example using bootable Live Mint 10.2 USB

Boot Mint USB
Install hivexget – contained within libhivex which is a self-contained library for reading and writing Windows Registry “hive” binary files

$ sudo apt install libhivex-bin
$ hivexget /media/mint/WINDOWS/Windows/System32/config/software 'Microsoft\Windows NT\CurrentVersion' \ | egrep 'BuildLab|ProductName|Version"|"ProductId'

Filtered output

"BuildLab"="19041.vb_release.191206-1406"
"BuildLabEx"="19041.1.amd64fre.vb_release.191206-1406"
"CurrentVersion"="6.3"
"EditionSubVersion"=""
"ProductName"="Windows 10 Pro"
"ProductId"="00330-80000-00000-AA669"
"DisplayVersion"="21H1"

Credit Superuser.com Post 11

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out comment
Enter name