[clug] test for windows architecture from Linux

Andrew Janke a.janke at gmail.com
Wed Apr 3 00:40:29 MDT 2013

Hi Scott,

On 3 April 2013 16:32, Scott Ferguson <scott.ferguson.clug at gmail.com> 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.
> A solution that worked for all releases of Windows 7 would be great -
> otherwise just Home Premium. This needs to be scripted so a degree of
> precision is appreciated.

I have done this via registry batch files (conveniently from Microsoft)


BUT on running windows systems.... via a cywin install with sshd installed

Perhaps you can do the same with a shell script via chntpw with the
windows disk mounted?


More information about the linux mailing list