Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to filter a GPO so that it only applies if an application is installed. From what I can see, I should be able to do this either with WMI or with GPP item level targeting. Is there a performance difference between the two? If it makes a difference, there are three items in GPP that will have targeting applied (I'm assuming this means three queries vs one when using WMI filtering).

share|improve this question
    
in this case wmi will be slower since it has to actually query installed products. –  tony roth Mar 29 '12 at 18:59
    
I was thinking I might be able to use WMI to look for a registry key or the existence of a file. Am I incorrect? –  bshacklett Mar 29 '12 at 19:06
    
You can use wmi to both look for a key and file but more then likely gpp will do it faster. –  tony roth Mar 29 '12 at 20:43
    
I can't find any documentation to support one or the other, but I suspect both are fast enough that it doesn't really matter. I personally find item-level targeting much easier and more intuitive to configure. –  William Jackson Mar 30 '12 at 20:17
    
Also, not all WMI queries are create equal. For example, SELECT * FROM Win32_Product is really, really slow. What exactly are you trying to detect? –  William Jackson Mar 30 '12 at 20:31
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.