Files
management-scripts/Uninstall-AteraAgent.bat
T
dyoder 31023f0748 removed outdated Uninstall-AteraAgent.ps1 script
added current Uninstall-AteraAgent.bat script
updated Install-AteraAgent.ps1 to run Uninstall-AteraAgent.bat if agent is already installed
2021-02-08 13:39:51 -05:00

39 lines
2.2 KiB
Batchfile

start "" /w msiexec /x {EFB51F01-9805-4293-BB16-6F17EF4CEDF2} /qn
sc stop AteraAgent > nul 2> nul
sc delete AteraAgent > nul 2> nul
taskkill /f /im TicketingTray.exe > nul 2> nul
REG DELETE "HKEY_CURRENT_USER\Software\ATERA Networks" /f > nul 2> nul
RMDIR /S /Q "%userprofile%\appdata\local\temp\TrayIconCaching" > nul 2> nul
taskkill /f /im AteraAgent.exe > nul 2> nul
taskkill /f /im TicketingTray.exe > nul 2> nul
taskkill /f /im AgentPackageMonitoring > nul 2> nul
taskkill /f /im AgentPackageInformation > nul 2> nul
taskkill /f /im AgentPackageRunCommandInteractive > nul 2> nul
taskkill /f /im AgentPackageEventViewer.exe > nul 2> nul
taskkill /f /im AgentPackageSTRemote.exe > nul 2> nul
taskkill /f /im AgentPackageInternalPoller.exe > nul 2> nul
taskkill /f /im AgentPackageWindowsUpdate.exe > nul 2> nul
taskkill /f /im AgentPackageSystemTools.exe > nul 2> nul
taskkill /f /im AgentPackageHeartbeat.exe > nul 2> nul
taskkill /f /im AgentPackageUpgradeAgent > nul 2> nul
taskkill /f /im AgentPackageProgramManagement > nul 2> nul
taskkill /f /im AgentPackageRegistryExplorer.exe > nul 2> nul
timeout /t 4 /nobreak >nul
REG DELETE "HKEY_CURRENT_USER\Software\ATERA Networks" /f > nul 2> nul
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\ATERA Networks" /f > nul 2> nul
REG DELETE "HKEY_CLASSES_ROOT\Installer\Products\4758948C95C1B194AB15204D95B42292" /f > nul 2> nul
REG DELETE "HKEY_CLASSES_ROOT\Installer\Products\10F15BFE50893924BB61F671FEC4DE2F" /f > nul 2> nul
RMDIR /S /Q "C:\Program Files\ATERA Networks\AteraAgent" > nul 2> nul
RMDIR /S /Q "C:\Program Files (x86)\ATERA Networks" > nul 2> nul
start "" /w msiexec /x {B7C5EA94-B96A-41F5-BE95-25D78B486678} /qn
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Splashtop Inc." /f > nul 2> nul
REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Splashtop Inc." /f > nul 2> nul
RMDIR /S /Q "C:\Program Files (x86)\Splashtop\Splashtop Remote\Server" > nul 2> nul
RMDIR /S /Q "C:\ProgramData\Splashtop\Temp" > nul 2> nul
sc stop "SplashtopRemoteService"
sc delete "SplashtopRemoteService"
sc stop "SSUService"
sc delete "SSUService"
RMDIR /S /Q "C:\ProgramData\Splashtop\Splashtop Software Updater" > nul 2> nul
RMDIR /S /Q "C:\Program Files (x86)\Splashtop\Splashtop Software Updater" > nul 2> nul