How to remove old sysaid agent

 
Author
Message
SysAider
38
 
I have sysaid agent 9.0.53 deployed on some machines for which the server is gone for good. There is no uninstall in add/remove programs and the service is running. What is the best clean way to remove it?
SysAid Customer Support Engineer
41
 
Hello MichalUVT,



Thank you for your post.

Regarding this topic , if the service it's still running it means that the manually performed un-install did not remove the Service as well (and in some of the situations the registry keys are still there as well).

What you can do it's eider use this text and create a batch file which has to be run with administrator rights on the device, or perform the operation from a Command Prompt opened with administrator rights.

This is the "text" :

sc stop SysAidAgent

ping 192.0.2.2 -n 1 -w 5000 > nul

sc delete SysAidAgent

REG DELETE HKLM\SOFTWARE\Ilient /f
REG DELETE HKLM\SOFTWARE\Wow6432Node\Ilient /f

taskkill /F /IM SysAidSM.exe
taskkill /F /IM SysAidWorker.exe

rd /S /Q "C:\Program Files\SysAid"
rd /S /Q "C:\Program Files (x86)\SysAid"


The second method would be to open, as i mentioned, a command prompt with admin rights and just delete the service:

sc stop SysAidAgent

sc delete SysAidAgent

Please test if this will work for you and let me know if i can assist you further.



Best regards,

Ionut.
SysAider
38
 
OK, thank you. I already copied unins000 exe and dat from another computer and then run it. These files are not there if the installation was performed by deploying using the network discovery.
It is there if it was installed by SysAidAgent.exe
SysAider
2
 
Is this method still valid for version 14?


--- update ---
It seems yes.

sc stop SysAidAgent
sc delete SysAidAgent
taskkill /F /IM SysAidSM.exe
taskkill /F /IM SysAidWorker.exe
rd /S /Q "C:\Program Files\SysAid"
rd /S /Q "C:\Program Files (x86)\SysAid"

This message was edited 3 times. Last update was at Mar. 28, 2017 10:42 AM

SysAider
7
 
Necroing this.

I went back and forth with SysAid several times trying to get them to provide proper uninstallation methods.

In the end, I had to figure it out by myself.

In case anyone else out there needs a reliable way to nuke installed versions of SysAid so you can properly install a new client, you can run the following powershell script from an admin ps console. The only thing I didn't get around to was code to find and remove start menu entries. (you can find it in the code by #stub and add it yourself, if you'd like)

I'm also still not 100% sure this gets everything, but it removes enough to allow a reinstall in cases where SysAid refuses to run properly. While this did work on over 150 systems in my environment without issue, I do not guarantee this won't break your computers since it is deleting registry keys, though I did add some logic to avoid that. Try it on something controlled before deploying to a large group of computers.

This message was edited 1 time. Last update was at Jan. 12, 2018 06:53 PM