Chris,
Is there a better way to check the second situation? If the software is not 
installed, I need a specific GOP to apply. There's nothing unique to check for 
on the clients without it, I can only check if it doesn't exists. I wonder why 
the behavior of "Name" when given a full path still has to check every dir 
versus the first scenario where it just goes out and looks for it?

Thanks!
jlc

From: Christopher Bodnar [mailto:[email protected]]
Sent: Tuesday, February 10, 2009 12:08 PM
To: NT System Admin Issues
Subject: RE: WMI Filter Help

Correct, the first one only has to match once, then exists. The 2nd one has to 
evaluate every directory, so will take longer.



Chris Bodnar, MCSE
Sr. Systems Engineer
Distributed Systems Service Delivery - Intel Services
Guardian Life Insurance Company of America
Email: [email protected]<mailto:[email protected]>
Phone: 610-807-6459
Fax: 610-807-6003

________________________________
From: Joseph L. Casale [mailto:[email protected]]
Sent: Tuesday, February 10, 2009 1:12 PM
To: NT System Admin Issues
Subject: RE: WMI Filter Help

Whoops, forgot I stopped looking for <folder> and started looking for Name so I 
could speed it up with a full path.
Select * from Win32_Directory Where Name = 'C:\\Program Files\\Folder' works 
immediately, but
Select * from Win32_Directory Where Name <> 'C:\\Program Files\\Folder' takes 
forever? Any reason why that's hard to search for, I am guessing because of the 
way I wrote it, its comparing everything to the statement?
jlc

From: Joseph L. Casale [mailto:[email protected]]
Sent: Tuesday, February 10, 2009 10:49 AM
To: NT System Admin Issues
Subject: WMI Filter Help

I created two filters:
Select * from Win32_Directory Where Filename = 'C:\\Program Files\\Folder'
Select * from Win32_Directory Where Filename <> 'C:\\Program Files\\Folder'

and set two gpo's to apply based on this. For some reason, all the machines 
evaluate positive and falsely for both and switch constantly for one 
combination to another?
What's up with that? Anyone got any ideas? I was going to search Win32_Product 
for the msi, but it apparently didn't install via msi so looking for this 
folder seems to be the best option...

Thanks!
jlc
















________________________________

This message, and any attachments to it, may contain information that is 
privileged, confidential, and exempt from disclosure under applicable law. If 
the reader of this message is not the intended recipient, you are notified that 
any use, dissemination, distribution, copying, or communication of this message 
is strictly prohibited. If you have received this message in error, please 
notify the sender immediately by return e-mail and delete the message and any 
attachments. Thank you.

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to