I have recently needed to apply Group Policy user settings to users only when they log onto to the Citrix servers. This sounded easy enough so I navigated to the WMI filters in Group Policy Management, clicked New then clicked add… This is where the fun began.
This is my first real need to use WMI filtering and I was a bit surprised to find that I had to code the WMI filters. After finding a handy utility called WMI Explorer I found what I needed to filter on and the syntax is fairly similar to SQL so I was able to string a few basic filters together which I have attached in case this is helpful to some of you out there.
WMI Filtering, excellent idea its very useful and I will be using it again in the future but it could definitely do with a GUI implementation. I checked 2008 AD just in case, but still missing.
select * from Win32_Service where Caption = ‘Citrix XML Service’
select * from CIM_OperatingSystem where Caption = ‘Microsoft Windows XP Professional’
select * from Win32_ComputerSystem where Caption = ‘COMPUTER_NAME’