Uninstall the Gorelo Agent

Written By Mikel from Gorelo

Last updated 29 days ago

This script will carry out a clean uninstall of the Gorelo agent

Example
# Stop all Gorelo-related processes $processes = "Gorelo.Rmm.Installer", "Gorelo.Rmm.Installer.Handler", "Gorelo.RemoteManagement.Shell", "Gorelo.RemoteManagement.Agent", "TrayApp" $processes | ForEach-Object { Stop-Process -Name $_ -Force -ErrorAction Ignore } # Delete Gorelo services "gorelo.rmm.installer", "gorelo.rmm.shell" | ForEach-Object { if (Get-Service -Name $_ -ErrorAction Ignore) { sc.exe delete $_ } } # Remove Gorelo program folder Remove-Item -Path "$Env:ProgramFiles\Gorelo" -Recurse -Force -ErrorAction Ignore -Confirm:$false; Remove-Item -Path "$Env:ProgramFiles (x86)\Gorelo" -Recurse -Force -ErrorAction Ignore -Confirm:$false; # Remove Gorelo registry key # Note: Retaining this key will allow for a repair install Remove-Item "HKLM:\SOFTWARE\Gorelo" -Recurse -Force -ErrorAction Ignore