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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

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:
Found a null value registry entry that couldn't be deleted without taking ownership and adding a value.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sy wittnetwork engineerAuthor Commented:
Although helped, didn't solve problem.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software

From novice to tech pro — start learning today.