Client Management Suite

 View Only
  • 1.  Altiris NS - Find a list of machines without Installed Software

    Posted Sep 11, 2012 11:29 AM

    Hello

    Is there a query we can create using the Report Wizard that lists machines without a particular software installed? If not a wizard, does someone know how to create a SQl query for the same? I have NS 7.1 SP2

    Thanks.



  • 2.  RE: Altiris NS - Find a list of machines without Installed Software

    Posted Sep 11, 2012 10:49 PM

     

    SELECT vc.*

    FROM vRM_Software_Component_Item sci

    JOIN Inv_InstalledSoftware inst

       ON inst._SoftwareComponentGuid = sci.Guid

       AND inst.InstallFlag = 1

    LEFT JOIN vComputer vc

       ON vc.Guid = inst._ResourceGuid

    WHERE LOWER(sci.Name) LIKE '%software name here in all lower case%'

    AND vc.Guid IS NULL



  • 3.  RE: Altiris NS - Find a list of machines without Installed Software

    Posted Sep 12, 2012 09:59 AM

    Hi Andrew

    I created a computer report and copied this to the raw sql query window. I get a results windows with solid grey lines only and no computers listed?



  • 4.  RE: Altiris NS - Find a list of machines without Installed Software

    Posted Sep 12, 2012 10:09 AM

    Did you replace the 'software name here in all lower case' with something valid?  Like '%adobe%'?



  • 5.  RE: Altiris NS - Find a list of machines without Installed Software

    Posted Sep 12, 2012 10:16 AM

    Yes for example I was looking for computers missing the Enterprise Vault plugin, so I typed '%ymantec enterprise vault%' and I get the grey screen with no results.



  • 6.  RE: Altiris NS - Find a list of machines without Installed Software
    Best Answer

    Posted Sep 12, 2012 12:12 PM

    Argh, my bad.  I finally have access to SQL to test this out.  Use this one, instead:

    SELECT *
    FROM vComputer
    WHERE Guid NOT IN (SELECT inst._ResourceGuid
                      
    FROM vRM_Software_Component_Item sci
                       JOIN Inv_InstalledSoftware inst
                         
    ON inst._SoftwareComponentGuid = sci.Guid
                          AND inst.InstallFlag = 1
                       
    WHERE LOWER(sci.Name) LIKE '%enterprise%vault%')



  • 7.  RE: Altiris NS - Find a list of machines without Installed Software

    Posted Sep 12, 2012 12:28 PM

    Thanks Andrew, this one works! Does this check all machines or only managed machine?



  • 8.  RE: Altiris NS - Find a list of machines without Installed Software

    Posted Sep 12, 2012 02:12 PM

    With the use of vComputer, it's only managed machines.  If you want all machines use vRM_Computer_Item.



  • 9.  RE: Altiris NS - Find a list of machines without Installed Software

    Posted Sep 12, 2012 03:02 PM

    Thanks Andrew, appreciate it.