You are not logged in.
Hello,
We are encountering an issue in GLPI where, after uninstalling software from a system, it continues to appear in the software list on the GLPI portal. Despite the uninstallation being confirmed on the machine, the software record remains visible in GLPI.
Has anyone else faced a similar issue? If so, is there a solution to ensure that uninstalled software is properly removed from the GLPI portal?
Your guidance and suggestions would be highly appreciated!
Thank you!
Offline
Dear GLPI Team,
i also encounter this behavior. I new PC gets added to the inventory, then i uninstall a software from that PC and after that the entry under Assets -> Software from that PC is not deleted automatically. It would be nice if the software of each asset is synchronized with the devices so that we can rely on that list that it only shows the ones actually installed on the computer.
Since there was not any answer to the last post yet i have little but no hope that there will be any kind of help.
Offline
I found out that the registry Keys were still there after the glpi-agent-delpoyment.vbs was running with the setting to uninstall the OCSagent. To complete the Uninstallation make sure to do the following (only works for windows):
1.Changes in the registry can harm the system. Be careful and make a backup of the registry first.
2.Check the Windows Device's registry for the registry keys location. I found out 3 locations of keys that need to be removed. Use the search in the registrys menu (Edit-> Search) to find keys containing either "OCSagent_final" or "vinsvision". They should be located under \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\*\Products\*. Find the one containing the InstallProperties with that value(REG_SZ Should have that as DisplayName Value.
3.After you found the locations go to the registry folder in the navigation of the registry and export the key that includes it under the Products folder.
4. Copy the content of the newly created .reg files into one of them and set a - in each line that starts with a [ right after the bracket (so like this: [-HKEY_lOCAL). This will delete the key when the .reg file is executed.
5. Last step is to execute the .reg file either directly within the function in the .vbs script or manually.
6. The keys will be removed from the registry and the Software will be gone from the GLPI Webinterface of the asset on the next inventory.
There is a microsoft website where they explain how to add, modify or delete reg keys. Search "How to add, modify, or delete registry subkeys and values by using a .reg file" in any search engine and click the first link.
Hope that helps others that are dealing with the same issue.
Offline