Apparently the WMI object I referenced in the first post isn't always available.

"Win32_Processor : DataWidth" seems like a valid way to determine the hardware bits, and given that my second example seems to give very accurate results, I'd use WMI-Win32_Environment : Caption and search for < SYSTEM >\PROCESSOR_ARCHITECTURE to get the type of OS and apply the above logic. Microsoft uses "X86" for 32bit and "AMD64" for 64 bit O/S versions.

Glenn

PS - you'll find an updated WMISysInfo UDF on my web site after 8pm EST tonight that correctly identifies both the hardware datawidth (32/64) and O/S type (32-bit/64-bit) values, along with lots of other stuff.
_________________________
Actually I am a Rocket Scientist! \:D