[clug] test for windows architecture from Linux

Scott Ferguson scott.ferguson.clug at gmail.com
Wed Apr 3 00:58:23 MDT 2013


On 03/04/13 17:40, Andrew Janke wrote:
> 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
> 


Thanks for the registry tip Andrew - that I can use (I hope, I don't
know if it's encrypted, or the SAM configuration). My only concern is
that article is dated 2007 and doesn't explicitly say it applies to W7.

Can anyone confirm that hive key exists in W7?

It's a dead system accessed from a USB Flash drive (reverse autossh) for
the purpose of scraping a little data from it prior to installing Debian.


Kind regards


More information about the linux mailing list