WMI Filtering

Viewing 1 post (of 1 total)
  • Author
    Posts

  • shmengie
    Member
    #158960

    Yo:

    So, I have to push out 1 of 2 reg keys, depending on if the OS is 32-bit or 64-bit. I have 2 Group Policy objects created, one for each scenario. I have 2 WMI filters set up, one each each OS type. I’ve found a few 32/64 queries online, but with out luck, so far.

    One of them is:SELECT AddressWidth FROM Win32_Processor WHERE AddressWidth =’32′[/CODE]Another is:[CODE]Select * from Win32_Processor where AddressWidth =’32′[/CODE]Another is:[CODE]select * from Win32_Processor where DeviceID=”CPU0″ and AddressWidth=”32″[/CODE]
    Substituting 64 in each case for the 64-bit filter, of course.

    Like I said, none of these queries works. Can anyone advise?

    Server: 2008 R2, Clients: W7 32/64

    Thanks![CODE]SELECT AddressWidth FROM Win32_Processor WHERE AddressWidth =’32′[/CODE]Another is:Select * from Win32_Processor where AddressWidth =’32′[/CODE]Another is:[CODE]select * from Win32_Processor where DeviceID=”CPU0″ and AddressWidth=”32″[/CODE]
    Substituting 64 in each case for the 64-bit filter, of course.

    Like I said, none of these queries works. Can anyone advise?

    Server: 2008 R2, Clients: W7 32/64

    Thanks![CODE]Select * from Win32_Processor where AddressWidth =’32′[/CODE]Another is:select * from Win32_Processor where DeviceID=”CPU0″ and AddressWidth=”32″[/CODE]
    Substituting 64 in each case for the 64-bit filter, of course.

    Like I said, none of these queries works. Can anyone advise?

    Server: 2008 R2, Clients: W7 32/64

    Thanks![CODE]select * from Win32_Processor where DeviceID=”CPU0″ and AddressWidth=”32″[/CODE]
    Substituting 64 in each case for the 64-bit filter, of course.

    Like I said, none of these queries works. Can anyone advise?

    Server: 2008 R2, Clients: W7 32/64

    Thanks!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Don't leave your business open to attack! Come learn how to protect your AD in this FREE masterclass!REGISTER NOW - Thursday, December 2, 2021 @ 1 pm ET

Active Directory (AD) is leveraged by over 90% of enterprises worldwide as the authentication and authorization hub of their IT infrastructure—but its inherent complexity leaves it prone to misconfigurations that can allow attackers to slip into your network and wreak havoc. 

Join this session with Microsoft MVP and MCT Sander Berkouwer, who will explore:

  • Whether you should upgrade your domain controllers to Windows Server
    2019 and beyond
  • Achieving mission impossible: updating DCs within 48 hours
  • How to disable legacy protocols and outdated compatibility options in
    Active Directory

Sponsored by: