Skip to content

How to trigger inventory scans through the Win32AppInventory CSP? #6

@forderud

Description

@forderud

Hi, and thanks' a lot for sharing this project, and sorry if asking "newbie" questions.

I'm trying to learn the Windows MDM protocols, and have played a bit with the examples in the sample_syncml_commands folder. One thing that is missing though is an example of how to trigger a SW inventory scan through the Win32AppInventory CSP.

I've already tried adding a new Win32AppInventory_payload.xml file to the cmds folder with the following content:

<Get>
  <CmdID>xxcmdidxx</CmdID>
    <Item>
      <Target>
        <LocURI>./Vendor/MSFT/Win32AppInventory/Win32InstalledProgram</LocURI>
      </Target>
    </Item>
</Get>

After triggering a MDM Sync, the mdm_server_poc console log shows that the command is sent to the Windows client. However, the response doesn't seem to contain any listing of all installed applications. Here's a dump of the communication: Win32AppInventory_payload_response.txt

I'm new to the SyncML protocol, so I suspect that there's a problem with the XML file. Any suggestions for how to fix it?

Thanks in advance,
Fredrik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions