I recently demoed Atera's Remote Monitoring and Management solution and needless to say I found it extremely lacking in many areas. In my haste of getting rid of it I used their console to remove devices and then contacted Atera to cancel my account. I was assured that any devices that were offline would check-in, see the account was removed, and their software would be removed. While continuing to support my client that I had demoed the product with I found that quite a few of their devices still had the Atera Ticketing Agent and Splashtop Streamer services running!!!
Like any good RMM software it was hidden from the uninstall to prevent someone from accidentally uninstalling it and upon searching in the Atera folder's I found no methods to uninstall it either. I found some info about contacting Atera which I had no desire to do and the other script I found left too much on the machine for my liking. This left me being forced to manually cleanup each machine or write a PowerShell script I could deploy from my own trusty RMM solution. I am still learning PS however here is one of the first scripts I have written.
#Kill and Remove Related Services
Get-Service | Where {$_.ServiceName -Like "Splash*"} | Stop-Service -force | Remove-Service
Get-Service | Where {$_.ServiceName -Like "SSU*"} | Stop-Service -force | Remove-Service
Get-Service | Where {$_.ServiceName -Like "Atera*"} | Stop-Service -force | Remove-Service
#Kill Ticketing Agent and System Tray Process
Get-Process | Where {$_.ProcessName -Like "Ticket*"} | Stop-Process -force
#Remove Ticketing Agent from each User's AppData Folder
$users = Get-ChildItem C:\Users.
foreach ($user in $users){
$folder = "C:\users\" + $user + "\AppData\Local\Temp\TicketingAgentPackage"
Remove-Item $folder -Recurse -Force -ErrorAction silentlycontinue
}
#Remove Atera Program Files Folders
Remove-Item "C:\Program Files (x86)\ATERA Networks" -Recurse -Force -ErrorAction silentlycontinue
Remove-Item "C:\Program Files\ATERA Networks" -Recurse -Force -ErrorAction silentlycontinue
#Removes Registry for Software and Autorun
Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -Name "AlphaHelpdeskAgent"
Remove-Item -Path 'HKLM\SOFTWARE\ATERA Networks'
#Uninstall Splashtop Streamer
$app = get-wmiobject -class Win32_Product -filter "Name = 'Splashtop Streamer'"
$app.Uninstall()
1 Comment
works great thanks