List of working WMI Filters XP t/m 8

here is a list of WMI Filters.

The code is so simple to read and compare, that you can easily create your own if you're missing something here.

root\CIMv2

any os 32 bit

SELECT AddressWidth FROM Win32_Processor WHERE AddressWidth ='32'

any os 64 bit

SELECT AddressWidth FROM Win32_Processor WHERE AddressWidth ='64'

win xp 32 bit

SELECT * FROM Win32_OperatingSystem WHERE Version LIKE "5.1%" and ProductType = "1"

win 7 32 bit

select * from Win32_OperatingSystem WHERE Version like "6.1%" AND ProductType="1" AND NOT OSArchitecture = "64-bit"

win 7 64 bit

select * from Win32_OperatingSystem WHERE Version like "6.1%" AND ProductType="1" AND OSArchitecture = "64-bit"

win 7 32/64 bit

select * from Win32_OperatingSystem WHERE Version like "6.1%" AND ProductType="1"

win 7/8 32/64 bit

select * from Win32_OperatingSystem Where (Version>='6.1%' AND Producttype="1")

win 8 32 bit

select * from Win32_OperatingSystem WHERE Version like "6.2%" AND ProductType="1" AND NOT OSArchitecture = "64-bit"

win 8 64 bit

select * from Win32_OperatingSystem WHERE Version like "6.2%" AND ProductType="1" AND OSArchitecture = "64-bit"

win vista / 7 / 8 32/64 bit

select * from Win32_OperatingSystem Where (Version>='6.%' AND Producttype="1")

 

For more references: check out: http://www.nogeekleftbehind.com/2013/09/10/updated-list-of-os-version-queries-for-wmi-filters/