Cannot get uninstalled software to stop showing in SCCM query

I cannot get an uninstalled program to stop showing in SCCM query.  I've:
Uninstalled it.  
Run a script to remove the registry settings
Deleted the program folder.
Run Hardware and Software Inventory Cycles

The program is still showing up in my query against the program name.

I need to remove this from the SCCM report ASAP because of an audit. (It was accidentally added to one of the gold images, even though it's not been used in 10 years.)
sy wittnetwork engineerAsked:
Who is Participating?
 
sy wittnetwork engineerAuthor Commented:
Found a null value registry entry that couldn't be deleted without taking ownership and adding a value.
0
 
Adam LeinssServer SpecialistCommented:
What does your query look like?
0
 
sy wittnetwork engineerAuthor Commented:
select distinct SMS_G_System_SYSTEM.Name, SMS_G_System_INSTALLED_SOFTWARE.ProductName, SMS_G_System_INSTALLED_SOFTWARE.ProductVersion, SMS_G_System_INSTALLED_SOFTWARE.UninstallString from  SMS_R_System inner join SMS_G_System_INSTALLED_SOFTWARE on SMS_G_System_INSTALLED_SOFTWARE.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_INSTALLED_SOFTWARE.ProductName like "%ProductQueried%"
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
Adam LeinssServer SpecialistCommented:
If you take one of the computers coming up, can you do a search for that name under

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall

Open in new window

0
 
sy wittnetwork engineerAuthor Commented:
Thanks Adam.

I've cleared both of those registry keys with a script (and many others).  The trouble is that the SCCM database isn't removing them from inventory.

In other words- If I query the registry, the uninstall string isn't there.  If I run the SCCM query it is.

It's a head-scratcher.
0
 
Adam LeinssServer SpecialistCommented:
Try running this from the command line on one of the affected computers:

wmic product get name,version

Open in new window


Pretty sure SCCM uses WMI to pull software/hardware information, if WMI reports that software is installed, so will SCCM.  This command will take a while to run (about 2 minutes).
0
 
sy wittnetwork engineerAuthor Commented:
Although helped, didn't solve problem.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.