All S/w from Add& Remove Programs After some exceptional removing

All S/w from Add& remove Programs

SELECT DISTINCT arp.DisplayName0 AS [Product Name], arp.Publisher0, arp.Version0, dbo.v_R_System.Netbios_Name0, fcm.CollectionID
FROM         dbo.v_GS_ADD_REMOVE_PROGRAMS AS arp INNER JOIN
                      dbo.v_R_System ON arp.ResourceID = dbo.v_R_System.ResourceID CROSS JOIN
                      dbo.v_Collection INNER JOIN
                      dbo.v_FullCollectionMembership AS fcm ON dbo.v_Collection.CollectionID = fcm.CollectionID
WHERE     (NOT (arp.DisplayName0 LIKE ‘%update%’)) AND (NOT (arp.DisplayName0 LIKE ‘para%’)) AND (NOT (arp.DisplayName0 LIKE ‘Configuration Manager Client’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘µTorrent’)) AND (NOT (arp.DisplayName0 LIKE ‘%Service Pack%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Segurança%’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘%Windows%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Audio Driver%’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘%C++ 2005 Redistributable%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Viewer%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Hotfix%’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘%.NET Framework%’)) AND (NOT (arp.DisplayName0 LIKE ‘%google%’)) AND (NOT (arp.DisplayName0 LIKE ‘%MSXML%’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘%Microsoft Baseline Security Analyzer%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Fax%’)) AND (NOT (arp.DisplayName0 LIKE ‘%GDR%’))
                      AND (NOT (arp.DisplayName0 LIKE ‘%HP Array Configuration%’)) AND (NOT (arp.DisplayName0 LIKE ‘%HP Scanjet%’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘%HP Smart%’)) AND (NOT (arp.DisplayName0 LIKE ‘%hppFaxUtility%’)) AND (NOT (arp.DisplayName0 LIKE ‘%hppFonts%’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘%HPPhotoSmartExpress%’)) AND (NOT (arp.DisplayName0 LIKE ‘HPP%’)) AND (NOT (arp.DisplayName0 LIKE ‘%HPProductAssistant%’))
                      AND (NOT (arp.DisplayName0 LIKE ‘%WebFldrs XP%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Visual Studio Tools for the Office system 3.0 Runtime%’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘VBA%’)) AND (NOT (arp.DisplayName0 LIKE ‘%uTorrentBar%%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Ultimate Extras%’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘%Runtime Environment%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Toolbox%’)) AND (NOT (arp.DisplayName0 LIKE ‘%IBM Themes%’))
                      AND (NOT (arp.DisplayName0 LIKE ‘%hp LaserJet%’)) AND (NOT (arp.DisplayName0 LIKE ‘%GDR%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Fax%’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘%Adobe Shockwave Playe%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Adobe Reader%’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘%Adobe Download Manager%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Actualización%’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘%Active Directory Migration Tool%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Adobe Flash Player%’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘%Audio%’)) AND (NOT (arp.DisplayName0 LIKE ‘%XML%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Web Part%’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘%WIMGAPI%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Microsoft Silverlight%’)) AND (NOT (arp.DisplayName0 LIKE ‘%SoundMAX%’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘%Spelling%’)) AND (NOT (arp.DisplayName0 LIKE ‘%RDC%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Wallpapers%’)) AND
                      (NOT (arp.DisplayName0 LIKE ‘%WebEx%’)) AND (NOT (arp.DisplayName0 LIKE ‘%Microsoft Office Proof%’)) AND (NOT (arp.DisplayName0 LIKE ‘%MSN Toolbar%’))
                      AND (NOT (arp.DisplayName0 LIKE ‘%MSN Toolbar%’)) AND (NOT (arp.DisplayName0 LIKE ‘%google%’)) AND (NOT (arp.DisplayName0 LIKE ‘%SQL Server Native%’))
                      AND (NOT (arp.DisplayName0 LIKE ‘%VSS Writer%’)) AND (NOT (arp.DisplayName0 LIKE ‘%XP Themes%’)) AND (NOT (arp.Publisher0 LIKE ‘%Lenovo%’)) AND
                      (NOT (arp.Publisher0 LIKE ‘%UPEK Inc%’)) AND (NOT (arp.Publisher0 LIKE ‘%AutoIt%’)) AND (NOT (arp.Publisher0 LIKE ‘%Broadcom%’)) AND
                      (NOT (arp.Publisher0 LIKE ‘%S3 Graphics%’)) AND (NOT (arp.Publisher0 LIKE ‘%Realtek%’)) AND (NOT (arp.Publisher0 LIKE ‘%Seagate%’)) AND
                      (NOT (arp.Publisher0 LIKE ‘%S3 Graphics%’)) AND (NOT (arp.Publisher0 LIKE ‘%Active Directory Export%’)) AND (NOT (arp.Publisher0 LIKE ‘%TOSHIBA%’)) AND
                      (NOT (arp.Publisher0 LIKE ‘%Logitech%’)) AND (NOT (arp.Publisher0 LIKE ‘%SCCM%’)) AND (NOT (arp.Publisher0 LIKE ‘%Yahoo%’)) AND
                      (NOT (arp.Publisher0 LIKE ‘%Canon%’)) AND (NOT (arp.Publisher0 LIKE ‘%ZTE%’)) AND (NOT (arp.Publisher0 LIKE ‘%Dell%’)) AND
                      (NOT (arp.Publisher0 LIKE ‘%McAfee%’)) AND (NOT (arp.Publisher0 LIKE ‘%Dell%’)) AND (NOT (arp.Publisher0 LIKE ‘%1E%’)) AND
                      (NOT (arp.Publisher0 LIKE ‘%Mozilla%’)) AND (NOT (arp.Publisher0 LIKE ‘%TOSHIBA%’)) AND (NOT (arp.Publisher0 LIKE ‘%Broadcom%’)) AND
                      (NOT (arp.Publisher0 LIKE ‘%DivX%’)) AND (NOT (arp.Publisher0 LIKE ‘%InterVideo%’)) AND (NOT (arp.Publisher0 LIKE ‘%UPEK%’)) AND
                      (NOT (arp.Publisher0 LIKE ‘%Intel%’)) AND (NOT (arp.Publisher0 LIKE ‘%Realtek%’)) AND (NOT (arp.Publisher0 LIKE ‘%REALTEK%’)) AND
                      (NOT (arp.Publisher0 LIKE ‘%Conexant%’)) AND (fcm.CollectionID = ‘SMS00001’)

Leave a Comment