On Error Resume Next Set objWMIService = GetObject( "winmgmts://./root/CIMV2" ) Set colItems = objWMIService.ExecQuery( "SELECT * FROM Win32_Processor", "WQL", 48 ) For Each objItem In colItems architecture = objItem.Architecture level = objItem.Level Next 'Architecture 9 means an x86-64 processor If architecture = 9 Then WScript.Echo "The x86-64 edition of Clonezilla-SysRescCD is recommended for you." If architecture <> 9 Then 'Architecture 0 means an IA-32 processor If architecture = 0 Then If level >= 6 Then WScript.Echo "The i686 edition of Clonezilla-SysRescCD is recommended for you." ElseIf level >= 4 Then WScript.Echo "The i486 edition of Clonezilla-SysRescCD is recommended for you." Else WScript.Echo "Your computer is unable to run any edition of Clonezilla-SysRescCD." End If End If 'Neither x86-64 nor IA-32: unable to run x86 code If architecture <> 9 Then If architecture <> 0 Then WScript.Echo "Your computer is unable to run any edition of Clonezilla-SysRescCD." End If End If