SCCM SQL Query for Software not in Add Remove Programs
If you are looking for an SCCM SQL query to create a report to search for machines which do not have a particular software installed, you can use the following:
JOIN v_Add_Remove_Programs arp
ON sys.ResourceID = arp.ResourceID
sys.ResourceID not in
JOIN v_Add_Remove_Programs arp ON sys.ResourceID = arp.ResourceID
DisplayName0 = @displayname)
Then you can use the variable @displayname to choose from a drop down of software that is in the SCCM database pulled from client machines. The query you can use for that is:
You should be able to use these to create a report that will prompt for a selection from all the available data.
If you have any questions or feedback about this post, or if you would like us to create any queries for you, please go ahead and leave us a message below in the comments section and we will get back to you as quick as we can.