UPDATED: bginfo template 1.6 Print E-mail
Written by Darwin Sanoy   
Wednesday, March 17, 2010 1:00am

Our Bginfo template has been updated to version 1.6.  It has been updated to accurately report whether the OS is 32 bit or 64 bit and whether the Hardware is 32 Bit or 64 Bit.

Although the PROCESSOR_ARCHITECTURE environment variable tracks the OS bitness, it contanis "AMD64" for 64 bit, which is not a friendly display value to place on the background (I think of "x64" or "64 Bit")  - rather than write a VBScript to convert it to x64 or 64bit, I rummaged through WMI.  Another method involves retrieving the architecture property of the "Win32_Processor" WMI class.  This value reports a numeric value of 0 for 32 bit and 9 for 64 bit - however this is tracking the hardware, not the installed OS.  In the same WMI class the "AddressWidth" property contains either "32" or "64" and represents the bits used by the Windows OS.  The property "DataWidth" contains either "32" or "64" and represents the bits available on the Hardware.  Both of these are reported in the new template so that you are able to reliably tell if you are running 32bit Windows on 64Bit capable hardware.  This is a very common situation since much of the hardware shipped in the last couple years is 64bit capable.

Check it out at http://csi-windows.com/toolkit/bginfo-template