How do I identify xp workstations that do not have Client Side Extensions installed in a WMI filter?

Posted on 2011-04-20
Last Modified: 2013-12-19
I need to run one gp if client side extensions has been installed on xp workstations and run a different gp if client side extensions has not been installed.  I have created one WMI filter to check for the installation of CSE however I do not know how to create a WMI filter to check if CSE has not been installed.
Question by:TaliaI
    LVL 65

    Accepted Solution

    Hi.  I hate to have bad news for you, but it can't be done.  The WMI query for products needs to enumerate through the entire collection of products, and returns a value based on whether it found records or not.  So, the GPO will only run when it returns one or more records based on the criteria.  For this reason, you can't check for something that isn't there, because it would return no records, and not run the GPO.

    The only way to get around this would be to run a logon script that runs the WMI query, and uses a boolean flag to determine whether no records were returned, then apply some changes.  However, this requires that you apply the GPO settings by script instead, and this may not be possible depending on what you need.


    LVL 67

    Expert Comment

    This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
    Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
    Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now