Forum Discussion
Salanka
Aug 18, 2022Copper Contributor
Uninstall Starleaf from users' system remotely
I have been having trouble with uninstalling this software running the code to uninstall msiexec /x “{Software GUID}” /q .
Aug 18, 2022
What kinda trouble are you running into? getting an error? did you try to execute the same command with in a system context on a device?
Salanka
Aug 18, 2022Copper Contributor
so after running the script on my own system to test the software removal, it no longer shows up in the apps and programs section as expected. But the software still functions normally on the device using a shortcut that is pinned on my taskbar. As Starleaf is going into decomission we are trying to exceute the command to ensure it is completely uninstalled from all the devices in the group policy we are testing with.
The application also seems to reside in the %appdata% user local area even after.
The application also seems to reside in the %appdata% user local area even after.
- Ahti_ViisitammOct 07, 2022Copper Contributor
We are dealing with the same thing now and what i have found is that in addition to uninstalling the MSI you also need to use the uninstaller under user profile
%localappdata%\StarLeaf\StarLeaf\Misc\Uninstall.exe /SThe tricky part is that the last one needs to be run under user context
- shai101Oct 18, 2022Copper Contributor
did you find how to do it remotely or silently ?
- Ahti_ViisitammOct 19, 2022Copper Contributor
We have not deployed it yet but the idea is to have 2 separate PSADT uninstall deployments. The one deployed to the user context will have command Execute-Process -Path "C:\Users\$($env:USERNAME)\AppData\Local\StarLeaf\StarLeaf\Misc\Uninstall.exe" -Parameters '/S' and the one deployed to device context will use the msi guid Execute-MSI -Action Uninstall -Path '{0B356BB9-DED3-4B98-A4D4-E2BFA3E3CEC1}'