Info of User Targeted application missing under SCCM client WMI

DS 51 Reputation points


We are running some test around user-targeted application self-service via Software Center.

During my test, I noticed something strange. Targeted an application to my user name via Available deployment. On launching SC on my machine, I was able to see the Install button against the application as expected. Proceeded with installing the app which was also successful.

My expectation as this point was that when I query the info of this application under CCM_Application WMI class on my machine where the app is installed, I should see some info on the app saying this was user targeted.

However when I execute the below query, there is not info of the application at all. Ran the machine and user policy along with application deployment policy, but no joy.

GWMI -ComputerName $env:COMPUTERNAME -Namespace 'root\ccm\clientSDK' -Class CCM_Application | Select -Property Name, InstallState, IsMachineTarget

I see only the info of all the device targeted application for my machine that is there under SC.

Am I looking at the wrong class. Kindly advice.

Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
359 questions
No comments
{count} votes

Accepted answer
  1. Fiona Yan-MSFT 2,296 Reputation points

    Hi DS,

    1. Could we try to add the following index to query ”available“ application?
      As the image shown in my environment below:
    2. May we try to add the following index to query “required”application?
      As the image shown in my environment below:

    Hope this could help you.

    If the response is helpful, please click "Accept Answer" and upvote it.

6 additional answers

Sort by: Most helpful
  1. DS 51 Reputation points

    Using system context or domain admin, the info of the installed app is not visible. Strange!

    The challenge is, we have available deployment of apps in complement with traditional required deployments of the same app.

    On some machine, the required deployment would overlap available deployments and I wanted to know if there is a way to know for certain if the app was installed via available or required deployment.

    The IsMachineTarget property in the output of the above query can help confirm this. If this same info is also stored in DB, a report could be written around it.

    We do have application branding registry for each app install / ARP entries etc. but all this well also get written in event of application installation either via required deployment or available deployment.

    Hope it clear!

  2. DS 51 Reputation points

    Thank You for your reply Fiona!

    The report above gives me that mapping of application against collection with the type of deployment (Optional or Required) with it and other details.

    My requirement is that of a little more drilled down report:

    For e.g.

    1. Input provided is Application name
    2. List the User collection with available deployment associated with it
    3. Fetch the list of machines where the members of this collection have logged in / or Primary Device
    4. Check if the application is installed on this device
    5. Segregate the installation based on if the app was installed via available or required deployment

    Am stuck at point 5