Thanks in advance for your help!
Mine shows "x86" or that registry setting. I have AMD Turion 64 X2 TL-56
with 32-bit Vista.
--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--
You should be able to use the Win32_Processor class of WMI. For example:
===========
Option Explicit
Dim strComputer, objWMIService, colSettings, objProcessor
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate,authenticationLevel=Pkt}!\\" _
& strComputer & "\root\cimv2")
Set colSettings = objWMIService.ExecQuery _
("SELECT * FROM Win32_Processor")
For Each objProcessor In colSettings
Wscript.Echo "System Type: " & objProcessor.Architecture
Wscript.Echo "Processor: " & objProcessor.Description
Next
======
You can parse objProcessor.Description for "x64" to check for 64-bit (or
"x86" for 32-bit). The system type (objProcessor.Architure) returns 9 on my
machine, but I need to research what the number means.
Thanx a ton Richard! That was really helpful.