Query rule for installed applications

Need a query where I am looking for machines that have both java 7.0.65 and any other installed java version. I need to run a parse script to remove the older versions of java from the machines.
So something where show me all the machines that hav 7.0.65 and also have any other version installed. Will run a msiexec /x "java" with a variable for all possible versions and force remove them all.

Need a query where I am looking for machines that have both java 7.0.65 and any other installed java version. I need to run a parse script to remove the older versions of java from the machines.
what is the point having collection that have java and any other installed java ? with this,you will get all machines that have java installed.
if you want to create collection that have java other versions of Java other than 7.0.65,you should try to use sub selected queries.
have a look at Garth post explaining about how to use sub     selected http://be.enhansoft.com/post/2014/09/24/Subselect-Query-for-SCCM-Queries-or-Collections-(WQL).aspx
Eswar Koneti | Configmgr blog:
www.eskonr.com | Linkedin: Eswar Koneti
| Twitter: Eskonr

Similar Messages

  • Need a SCCM SQL Query Report for Installed Software with Packages and Applications.

    I need a report that will show the number of installs of all of the workstations applications and packages over a given period of time. 
    This will let us know how effective our deployments are and how well the on-demand software is being adopted.
    Any help?

    Your Install Source might be an option as most SCCM deployments will install from C:\Windows\ccmcache\xx [where xx is a random folder name]. Most software vendors will put an install source in the registry, but not all do, so it won't be completely accurate.
    When software is installed manually, the install source path won't be C:\Windows\ccmcache\xx.
    Here is a SQL query I have for Install Source:
    SELECT v_GS_COMPUTER_SYSTEM.Name0 as 'Computer Name', v_GS_INSTALLED_SOFTWARE.ProductName0 as 'Software Title', v_GS_INSTALLED_SOFTWARE.InstallSource0 as 'Install Source', v_GS_INSTALLED_SOFTWARE.ProductVersion0 as 'Version', v_GS_INSTALLED_SOFTWARE.InstalledLocation0
    as 'Installed Location', v_GS_INSTALLED_SOFTWARE.InstallDate0 as 'Install Date'
    FROM v_GS_COMPUTER_SYSTEM INNER JOIN v_GS_INSTALLED_SOFTWARE ON v_GS_COMPUTER_SYSTEM.ResourceID = v_GS_INSTALLED_SOFTWARE.ResourceID
    WHERE v_GS_INSTALLED_SOFTWARE.ProductName0 like '%Office 365 Pro%'
    ORDER BY v_GS_COMPUTER_SYSTEM.Name0

  • What is the rule for adding application elements to faces-config.xml

    I have posed this question before, but was unable to get an answer so here goes again.
    What is the rule for adding more than one application element to the faces-config.xml?
    The schema documents that 1-n are possible, but why and when should I do this?
    --W                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    sorry if you don't login in tomcat administration before. you must enter login and password of a manager user on tomcat .
    The user is the one you give when installing tomcat.
    If you have forgotten it : see it to: C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\tomcat_users.xml
    and choose one whop have role='manager'

  • Error to connecting business rules for Planning application outline

    Hi all,
    I recently migrated database schemas from uat to prod.i configured evrything successfully.when
    I loged into EAS console with user(other than admin)that user has all acces to create business rules,
    I tried to create new business rule to select planning application.
    I am getting this error" error connecting to essbase server<servername>:<appname>
    in error details "error connecting to pllanning server<servername>:<appname>"
    and "error loading objects from data source:java.sql.SQLException: [Hyperion][Oracle JDBC Driver]Object has been closed."
    Please anybody help on these
    regards
    vas

    hi john,
    we are using hyperion planning 9.3.1.1.11 version,
    we were new installatalled Production server and configured,but i did not test the business rules in production server,
    next my DBA exported Oracle Dabase Schemas from UAT server to Production sever those scema names are same in UAT and Production server,so my DBA droped The Schemas in production and replaced the UAT scemas in production server,
    After i manually configured the production server with Migrated scemas, in configuration i changed the server names with production sever and Database names while configuration ,Hyperion planning datasource names are same in UAT and Production ,i manually edited the server names and Database names, i configured to For EAS ,Shared Services,Planning
    Everything configured sucessfully,i am able to log on to application Planning url,and refreshed everything,
    But i am logon to EAS console, i tried to create the Business rule with associate Planning Application I am getting this error Connecting to essbase server<server name>:<appname>
    In error details "error connecting to pllanning server,servername>:<appname.
    and error loading objects from datasource:com.java.sqlexception;[hyperion][oracle jdbc driver]object has been close.
    please help on these
    thanking you
    srini

  • How to make a rule for BPM application

    Hi Guys,
    I have a BPM (Purchase Request Approval) application and runing in SAP portal. I want to make a simple rule in in Rule Composer that if the amount is > than 5000 then it should go to manager for approval other wise process goes further.
    Can any one tell me how can I achieve it?? step by step ??
    My Environment
    SAP NW CE with EHP 1 Java stack on windows XP prof.
    Regards,
    Naeem

    Hi Brian,
    To help you in quickly creating simple rules in BRM the following links may be useful -
    Rule Tutorial Center has a lot of refernce applications and videos - SAP NetWeaver Business Rules Management Resources Center [original link is broken]
    The document to help in end to end creation of rules - http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00a4a7c5-da42-2b10-939c-8ec355346f3a
    Regards,
    Arti

  • Device Collention query rule for registry value

    Hi,
    How do i create a device collection query in SCCM2012 R2 wizard rule to find the criterion type for a regisrty value data type.?
    For example: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters\srvcomment
    Value name: srvcomment
    Value Data: ABCD

    when you run RegToMof and point to the correct key, there are three tabs, one says ConfigMgr12 another says CnfgMgr07 and SMS2003. You want the ConfMgr12 tab.
    From that tab there are two tabs below that, a configuration.mof tab and a to import in ...... tab
    navigate to the key you want to include
    As you navigate both tabs are populated with data.  You need to copy the contents of the Configuration.mof tab and paste it in your configuration.mof files on your site server, which is located
    C:\Program Files\Microsoft Configuration Manager\inboxes\clifiles.src\hinv
    by default.  Backup the original in case you mess things up.
    The other tab, to import in Admin/Agent settings...., you need to copy the contents of that tab, and created a .mof file (which is just a regular text file), name is whatever.mof.  The go to your config man console, and import the .mof file into your
    agent settings/hardware inventory/set classes (you'll see the button in hardware inventory)

  • HT4847 When deciding to change backup options for installed applications on my iPhone, what exactly does the backup of applications backup??

    Am I backing up the application data, like login info?  Or is it backing up the application itself, so if I were to lose or need to replace my phone, I could have all the apps loaded back on, & in the order in which they were in?? 

    The app data is stored, and I think, a reference to all apps (but not the actual apps, since you can always download them again for free from the app store).  Getting them in the right order is iffy - I've read posts from users who restored and found apps all out of order, but I think others say everything restored okay.

  • Rules for EJB Application

    Hello,
    I am developing an ejb application. I am still learning and this is my first application.
    1) I am unable to understand where should use Entity Beans or session bean and why i mean how i justify my using Entity bean or session bean? If using entity beans how to decide that it should be BMP or CMP and why? how i justify using CMP or BMP?
    2) I have heard that Entity beans are related to Persistant data if so then if some application design has 50 to 75 tables then should there be those many Entity Beans corresponing to those tables? if i use 50 to 75 entity beans then what effect will it have on performance??
    it will be a great help if someone solve these queries by giving proper example. suppose in context a web application where vendors post there porduct to sell and different users come and purchase these products online.
    Thanxs

    Use session beans for business logic components and Entity beans for accessing persistent data. It is a common pattern to put up a "session facade" over the entity beans so that the client doesn't have to assume anything about storage and retrieval of data. You can have a 1-1 mapping between entity beans and database tables, but you don't have to. Read the online "Mastering EJB" book at www.theserverside.com to better understand the concept of EJB's.

  • MT doesn't recognize my AppleID for installed applications through AppStore (i own just one AppleID)

    Dear Apple, i own just one AppleID!
    And it sounds like i'm not the only one who is facing this issue.

    Sorry for that.
    I've been using my MacBookPro since 2010 with no problems at all so far. Just yesterday i figured out that all the apps purchased through the AppStore cannot be updated. I've heard other collegues facing in front of this problem.
    At first I with to confirm you that i own just an Apple ID. If i uninstall any of these applications listed in my AppStore then next i'm able to reinstall them downloading the app again from the store (and that would prove that i'm the designated owner for Apple). By the way after the new installation a button, asking to perform an app update, comes up. And again i fall into the issue previoulsy explained. Weird isn't it?
    I remember for sure that i have already updated some apps through the AppStore with Lion in the past.
    Thank you in advance for any kind help i can get from this discussion.
    Michele

  • How do i get around the A12E1 error for installing application mgr

    how do I get around the A12E1 error

    Which operating system are you using?  Do you have any other Adobe Creative software installed?

  • Error while installing transfer rules for 0PM_C03 from Business content

    Hi All,
    When i try to install the transfer rules for the Infocube 0PM_C03 from the Business Content, i get the following error:
    "Mapping between 2LIS_17_I3HDR  2LIS_17_ORDER is inconsistent".
    Here 2LIS_17_ORDER is the Infosource, and 2LIS_17_I3HDR  is the datasource.
    Also, kindly let me know how can the Infosource and the datasource have different names, like in the case for this Cube.
    Kindly help...

    Hi,
    The datasource and infosource can have different names no issue with that.
    and while selecting transfer rule for installing find with '2LIS_17_I3HDR'.
    Regards,
    Rathy

  • My TaskSequence aborts prior to installing applications

    Hi guys, so I've been using a task sequence that lets the user pick and install applications from a list.
    For halv a year now without any issues.
    a few days ago I upgraded the server from SP1 to R2, I thought that everything was now set as it was suppose to..
    but apperently its not. Cause my task sequence aborts.
    Right after installing drivers, it restarts then goes to windows.. it leaves this folder behind
    C:\_SMSTasksequence  - filled with stuff in it. furthermore no applications are installed.
    I googled the folder cause I had never seen it before and its clear this is still here because the task sequence aborts unexpectedly
    As the task sequence is completely identical to the one before I upgraded to R2, I don't understand whats wrong.
    Hoping you can help me decode the log so I can start looking at what issues there might be, here is the
    SMSTLOG, site wouldn't take its size so had to move it to pastebin
    SMSTS Log
    I see it at one point writes '<![LOG[BaseVar = '', ContinueOnError='']LOG]!><time="16:57:54.380-120" date="05-27-2014" component="InstallSoftware" context="" type="1" thread="1908" file="main.cpp:319">'
    Should BaseVar='COALESCEDAPPS' ?
    This is from my OSDSetupWizard in the same folder -->
    14:26:43.311 05-27-2014 2 TSVariableRepository Saved variable 'TsApplicationBaseVariable'. Value = 'COALESCEDAPPS'
    14:26:43.311 05-27-2014 2 TSVariableRepository Saved variable 'TsWindowsAppPackageAppBaseVariable'. Value = 'WINDOWSAPPPACKAGEAPPS'
    14:26:43.311 05-27-2014 2 TSVariableRepository Saved variable 'TsAppInstall'. Value = 'AppInstall'
    14:26:43.311 05-27-2014 2 TSVariableRepository Saved variable 'AppInstall001'. Value = 'ScopeId_08EFDC2F-7EF8-49E7-9EB6-92C27C1C9B61/Application_55e0bf56-08c2-407e-9a0a-614128afcb8e:!Mapdrev'
    14:26:43.311 05-27-2014 2 TSVariableRepository Saved variable 'COALESCEDAPPS001'. Value = 'Mapdrev'
    14:26:43.311 05-27-2014 2 TSVariableRepository Saved variable 'COALESCEDAPPS002'. Value = 'Acrobat Reader'
    14:26:43.311 05-27-2014 2 TSVariableRepository Saved variable 'COALESCEDAPPS003'. Value = 'Exformatics Office Extension 7.0.140'
    as you can see, I have at least 3 apps, set to the right variable COALESCEDAPPS.
    So they should be installed?...
    and just to make it even more weird.. this is from my appDiscovery
    <![LOG[Entering ExecQueryAsync for query "select * from CCM_AppDeliveryType where (AppDeliveryTypeId = "ScopeId_08EFDC2F-7EF8-49E7-9EB6-92C27C1C9B61/DeploymentType_b54b1f01-c4d5-45d2-ac23-c44c4d097537" AND Revision = 5)"]LOG]!><time="17:09:58.036-120" date="05-27-2014" component="AppDiscovery" context="" type="1" thread="1884" file="appprovider.cpp:406">
    <![LOG[ Performing detection of app deployment type Hotkey - x230, x240(ScopeId_08EFDC2F-7EF8-49E7-9EB6-92C27C1C9B61/DeploymentType_b54b1f01-c4d5-45d2-ac23-c44c4d097537, revision 5) for system.]LOG]!><time="17:09:58.052-120" date="05-27-2014" component="AppDiscovery" context="" type="1" thread="1884" file="appprovider.cpp:2148">
    <![LOG[+++ Application not discovered. [AppDT Id: ScopeId_08EFDC2F-7EF8-49E7-9EB6-92C27C1C9B61/DeploymentType_b54b1f01-c4d5-45d2-ac23-c44c4d097537, Revision: 5]]LOG]!><time="17:09:58.083-120" date="05-27-2014" component="AppDiscovery" context="" type="1" thread="1884" file="localapphandler.cpp:291">
    <![LOG[+++ Did not detect app deployment type Hotkey - x230, x240(ScopeId_08EFDC2F-7EF8-49E7-9EB6-92C27C1C9B61/DeploymentType_b54b1f01-c4d5-45d2-ac23-c44c4d097537, revision 5) for system.]LOG]!><time="17:09:58.083-120" date="05-27-2014" component="AppDiscovery" context="" type="1" thread="1884" file="appprovider.cpp:540">
    <![LOG[Entering ExecQueryAsync for query "select * from CCM_AppDeliveryType where (AppDeliveryTypeId = "ScopeId_08EFDC2F-7EF8-49E7-9EB6-92C27C1C9B61/DeploymentType_b7dd6c6d-36be-4ada-91bf-a9aa810bd44e" AND Revision = 15)"]LOG]!><time="17:09:58.083-120" date="05-27-2014" component="AppDiscovery" context="" type="1" thread="1884" file="appprovider.cpp:406">
    <![LOG[ Performing detection of app deployment type Thinkpad Hotkey Integration(ScopeId_08EFDC2F-7EF8-49E7-9EB6-92C27C1C9B61/DeploymentType_b7dd6c6d-36be-4ada-91bf-a9aa810bd44e, revision 15) for system.]LOG]!><time="17:09:58.083-120" date="05-27-2014" component="AppDiscovery" context="" type="1" thread="1884" file="appprovider.cpp:2148">
    <![LOG[+++ Application not discovered. [AppDT Id: ScopeId_08EFDC2F-7EF8-49E7-9EB6-92C27C1C9B61/DeploymentType_b7dd6c6d-36be-4ada-91bf-a9aa810bd44e, Revision: 15]]LOG]!><time="17:09:58.098-120" date="05-27-2014" component="AppDiscovery" context="" type="1" thread="1884" file="localapphandler.cpp:291">
    <![LOG[+++ Did not detect app deployment type Thinkpad Hotkey Integration(ScopeId_08EFDC2F-7EF8-49E7-9EB6-92C27C1C9B61/DeploymentType_b7dd6c6d-36be-4ada-91bf-a9aa810bd44e, revision 15) for system.]LOG]!><time="17:09:58.098-120" date="05-27-2014" component="AppDiscovery" context="" type="1" thread="1884" file="appprovider.cpp:540">
    Whats really weird about these 2 applications is, that they aren't deployed to the variable..
    They are however deployed to the collection the device is placed in.
    I need a place to start... cause the logs dont help me much at this point.

    hi Peter and thx for the answer.
    are you refering to main.cpp:319 ?  I see you are right it does have three digits there.
    First I wanna say I'm sure you are right its somewhere here the problem lies. My UDI Wizard that I use to Display applications on a list, got updated aswell and I had to redo settings.
    I wanna point out again
    This task sequence I'm about to show did work prior to the Update from SP1 to R2..
    Convert List to two digits:
    I already have a step thats suppose to convert to, two digit numbers in my TaskSequence. Anyways here is my step, do you see any problems with that?
    Install Application
    And here is the step where I set a variable for installing applications, in UDI Wizard I use the same variable, to display and select from a list of 15-17 apps.
    UDI Wizard
    And here to show you what COALSCEDAPPS is pointing too.
    (This I had to rename, it had 'APPLICATIONS' set as variable after the update)
    I did however try both without luck

  • Can't Transfer App to iPod? iPod must have Installing Applications ON

    If you can't transfer iTunes app to iPod or check the iTunes box for "Automatically Install New Apps", make sure your iPod has the setting for "Installing Applications" set to ON. (Settings --> General --> Restrictions --> Installing Applicatons == "ON").
    I had wrongly assumed this item setting applied to installation of iPod Apps directly from the Internet, not through the PC. I was wrong. Others might need to know this as well.

    The Restrictions applies to both direct download and syncing.

  • ATG Search | Query Rules are not executing

    Hi,
    We want to put some search relaxation, for example partial entry of a search term returns results i.e.if user enter "shi" results should show all shirts.
    Followed following steps for that,
    1) Created query rules for wildcard pattern with a actions.(For example created a pattern "shi*" and action "prop,string,displayName,Shirt" , so that when a user enter "shi", search results would return all products whose name contain "Shirt" or "Shirts".
    2) After indexing, verified Query Rules are applied; using "Index Review" (QueryRuleLoad -- 4 rules, 4 patterns, 4 actions, from stream)
    3) Layered the component /atg/commerce/search/catalog/QueryRequest property ruleMode to exec so that search request contain "ruleMode=exec" as per ATG docs.
    4) Clear and Disable cache using the component : /atg/search/routing/CacheService/
    5) Search submitted on site for "shi".
    6) Verified Search request XML that "ruleMode=exec" is being send to Search Engine.
    But as per query rules, search results/response are not coming, verified response XML, but didn't find any clue.
    Are we missing any configuration for query rules to execute or the pattern & action which we have created are not proper ?
    Thanks,
    Sarbajeet

    Hi  ,
    According to your description, my understanding is that you want to configure Query Rule for the SharePoint Contextual Search (by default its result page is osssearchresult.aspx).
    As far as I know, the Query Rules
     work in the SharePoint Contextual Search when you define them on site level. You can create your query rule in
     your Site ->  Site Settings -> Search -> Query Rules.
    Meanwhile the SharePoint Contextual Search is based on the result sources defined in the Site Settings->Search -> Result Sources, you need to make
     the result source of your Query Rule to the above Result Source.
    Reference:
    http://sharepoint.stackexchange.com/questions/64393/where-to-define-query-rule-and-when
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • SCCM 2012 Query report for specific software installed.

    I have Reporting point installed and it seems to be working as I was able to run OS reports.
    Here's what I would like to do.
    1. I need a query/report to show us all the machines that do not have Microsoft Forefront Endpoint Protection installed.
    2. I also need a query/report showing what machines still have Sophos AV installed.
    Any help is greatly appreciated it.
    Thanks,
    Voev

    I was not able to use the Reporting to get computers without FEP installed. So I did a workaround.
    Create Device Collection for computers with FEP installed
    1. Device Collections => Create Device Collection =>name it "Computers with FEP installed=> Query Rule Properties => Edit Query Statement => Criteria tab => Add the following statements
    Criterion Type: Simple value
    Where: Installed Software - ARPDisplay Name
    Operator: is equal to
    Value: System Center 2012 Endpoint Protection          (as appeared in Add/remove program name)
    Create Device Collection for computers without FEP installed
    1. Device Collections => Create Device Collection => Name "Computers without FEP Installed" => Query Rule Properties => Add Rule => Include Collections => Tick "All Systems" => OK =>  then you need to add
    the Exclude by => Add Rule => Exclude Collections => Tick " Computers with FEP Installed => OK
    So in my "All Systems" Collection has 1000 members
    Computers with FEP Installed collection has 900 members
    Computers without FEP Installed collection has 100 members
    Add the with FEP installed & without FEP installed collections together is equal to 1000 members of the All Systems.

Maybe you are looking for

  • How can you exceed AW 17 Library Limit ??

    Im desperate to play FLC animation files externally. At the moment FLC animation files have to embedded into your piece or you put them into AW libraries. But I have thousands of FLC animations I need to store and the AW 17 library limit is rearing i

  • Droid HD Maxx-KitKat nothing but problems

    Since KitKat, I can no longer connect to my home network, can only connect via wi-fi to networks of KitKats choosing apparently.  Can no longer choose to save to my SD card which should be my choice not the operating systems.  My phone now has to be

  • IPhone 4S stopped reading SIM card after 6 months

    I have iPhone 4S it has a H2o SIM card that's worked for about 6 months no problem then one day it said SIM card failure I powered phone on/off once and started working again. Two weeks later it took 3-4 times of me cycling power on/off and removing

  • Can you upgrade the Apple MacBook MB466LL/A to 8gb ram

    can you upgrade the Apple MacBook MB466LL/A to 8gb ram

  • Broken image when exported to MS power point presentation

    Hello All, I am having issues with Xcelsius, I always export dashboard into a powerpoint presentation and for some odd reason today it shows up as a broken window.  The file I am working on has 2 .swf files along with a selector which switches betwee