Add/Remove Programs Compressed Reporting
Created: 20 Apr 2010 | Updated: 24 Aug 2010 | 4 comments
This issue has been solved. See solution.
I'm looking to clone the Add/Remove Programs Report in NS6 to compress it to what would be shown in the Add/Remove Programs GUI of Windows. The default report lists everything that is in the Registry which is too much information than what I am looking for. Is there a way to clone the report and modify it to remove all the programs that are hidden in the GUI? Something along the lines of Hidden = False of the SQL?
Discussion Filed Under:
Comments 4 Comments • Jump to latest comment
I haven't cloned it myself, but in the where clause if you add
and table.Hidden = 'False'
that should filter out all of the hidden apps. Make sure you look at the query to see what name they gave Inv_AeX_OS_Add_Remove_Programs. It's usually t0, t1, or something along those lines. Once you know what that is, replace "table" in the above clause with that and you should be good to go.
--Dave
Here is what I'm working with:
SELECT DISTINCT
AND it.[Guid] = '%Collection%'
and
SELECT DISTINCT
What kind of changes would I be looking for? SQL is not a strength at all of mine.
Modified queries below for you.
Altiris never wrote nice looking queries for their canned reports, so it's sometimes a bear trying to understand everything they're doing. In this situation they named the Add/Remove Programs table "car" so I just added the and car.[Hidden] = 'False' to suppress the hidden results from showing up. If you want to replace the queries in your cloned report with the ones below, run it and the original report side by side for just one computer and you'll see what it did.
SELECT DISTINCT
AND it.[Guid] = '%Collection%'
AND car.[Hidden] = 'False'
and
SELECT DISTINCT
AND car.[Version] LIKE '%Version%'
AND car.[Hidden] = 'False'
--Dave
Perfect! That is exactly what I was looking for. Thanks dfrancis!
Would you like to reply?
Login or Register to post your comment.