a month ago
We are trying to remove Chrome from our environment and I am having a hard time figuring how how lansweeper detects the installation of Chrome per user profile.
I have created an msi uninstall package and pushed it out so machine wide installations are gone. However, profile based installation still exist. I wrote a powershell script to delete the "c:\users\%user%\appdata\local\google\chrome" directory as well as the registry keys (at least the ones I think i need to delete). However, lansweeper still shows that chrome is installed on 1 or more profiles on my test device.
So my question is, how does Lansweeper detect that Google Chrome is installed by profile? is there a specific registry key it is looking for?
Does anyone already have a deployment package to completely remove google chrome prebuilt?
a month ago
Thanks Frank, I assumed as much and can write that custom script, I just need to know how I can remove it, so it stops showing up in Lansweeper.
What I have done is created a dynamic group in Lansweeper that pulls any computer with chrome into it. I then want to send my PowerShell script to all machines in that group. Now the issue is, even after my script is deployed, the computer is still left a member of that group as Lansweeper still sees google chrome installed (even though my script deleted chrome from Appdata of all user profiles).
You mentioned that the software scan looks in different registry locations, which locations are these? I can have my script remove the specific registry keys associated with google chrome which in turn should remove chrome from the asset, which would remove it from the dynamic group I have created.
a month ago
Dear,
Were your computers rescanned after you ran your script?
It could be that the assets still appear in your group because they are not rescanned. in the application we basically check if there is a record for Chrome, linked to your asset. This will make them show up in the group.
As an alternative, you can also create a custom report, and run your deployment on the report. But the condition remains the same. You will also have to rescan after the deployment ran to see the changes.
a month ago
Yes, I have the deployment rescanning after the script is ran.
Deleting the Google Chrome folder from appdata does not remove Chrome from the software list in Lansweeper. I assume Lansweeper is scanning a specific registry key (maybe in the HKU hive?) to see what software is installed in profiles, I just need to know what it is scanning so I can script it to be cleared so that chrome is no longer listed after the computer is rescanned.
4 weeks ago
Hello,
If Google Chrome was found during the scan, Lansweeper should also detect if it is not longer there. But the device needs to be rescanned for that. Only with a rescan, uninstalled software, will be listed as such.
Below, you can find an overview however of the locations we trigger to find installed software.
a month ago
Hello HarHarrHarr,
For the removal of software, we don't have a specific way to check whether an app is installed under its profile. This differs from when we scan software, were we look in different registry locations. For deployments/uninstalling, that logic does not exist. It mainly depends on how your deployment package is built.
Indeed, the default MSI uninstaller might not work for this. Instead, a custom script that finds under which user it is installed would probably be required.
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now