[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)

   http://support.microsoft.com/kb/556009

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?


a


More information about the linux mailing list