Link to home
Start Free TrialLog in
Avatar of sy witt
sy wittFlag for United States of America

asked on

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.)
Avatar of Adam Leinss
Adam Leinss
Flag of United States of America image

What does your query look like?
Avatar of sy witt

ASKER

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%"
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

Avatar of sy witt

ASKER

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.
SOLUTION
Avatar of Adam Leinss
Adam Leinss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sy witt

ASKER

Although helped, didn't solve problem.