[clug] test for windows architecture from Linux

Scott Ferguson scott.ferguson.clug at gmail.com
Wed Apr 10 16:56:38 MDT 2013


On 05/04/13 22:07, B wrote:
> If you can access the C drive from a linux box, you could try the
> following fairly simple check:
> 
> Check for timestamp of c:\windows\system32\winver.exe, if it is circa
> 2009 (mine is Tue 14 Jul 2009 1139 for win7) then it is win7,

That worked

> as that is when it was released. Vista or below would be stamped 2006 or earlier.
> 
> Check for existence of c:\program files (x86)\, if it exists, it is
> 64bit, if not, it is 32bit.

As did that

> 
> Hope this helps.

Thanks - very helpful.
I wound up using the method you proposed, as it was simpler than chntpw
-> hivex


> 
> On 03/04/13 17:32, Scott Ferguson wrote:
>> Any suggestions on how to test from Linux if Windows 7 is installed, and
>> if so is it 32 or 64-bit.
>> Preferably by checking the boot sector - but could also be by mounting
>> and checking partitions.

<snipped>


Kind regards


More information about the linux mailing list