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 .
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_Viisitamm
Oct 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 /S
The 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}'
- SalankaOct 21, 2022Copper Contributortaskkill /IM StarLeaf.exe /FC:\Windows\SYSTEM32\cmd.exe /c MsiExec.exe /X{0B356BB9-DED3-4B98-A4D4-E2BFA3E3CEC1} /silent /norestartremove-item -path $env:LOCALAPPDATA\StarLeaf\ -Recurse -forcethis was what worked for me in the end