Being an administrator who handles no less than 1000 workstations and servers in a managed environment using Kaseya, one of the sickening thing to deal with is having to install/deploy the managed antivirus on machines with lots of conflicting applications. While Kaseya doesn't have the ability to silently remove any program applications **silently, it's necessary that you logged in remotely and manually remove/uninstall anything barring the deployment of the managed AV.
Thanks to Kaseya Live Connect. After several research and with the info I gathered, I am able to do the thing I need. One of the very powerful feature of Live Connect is the ability to perform execute commands via Command Shell like you're running it inside a Windows Box. So how did this help? Under Audit Page >> Add Remove >> Uninstall String, you will see uninstall strings you need to remove certain applications. See Figure 1 below:
I have gathered some of the uninstall strings that I have proven to work flawlessly. I will provide my collection of working uninstall strings later on this post but let's just take for example the uninstall string for removing Microsoft Security Essentials. It is:
"C:\Program Files\Microsoft Security Client\Setup.exe" /x /s
Take note: the quotes are necessary. Now, connect via Live Connect to your target machine and then click on Command Shell. See Figure 2 below.
Enter the uninstall string and then wait. Silent uninstall should take around 15 to 30 minutes. But having to monitor quite a number of machines, why should I bother waiting? But rest assured, when I get back with it, Microsoft Security Essential should then be cleared.
As promised, below are my tested uninstall strings with the working parameters. You may have to double check on the versions of the AV installed via Audit Page.
Microsoft Security Essentials:
"C:\Program Files\Microsoft Security Client\Setup.exe" /x /s
"C:\Program Files\Microsoft Security Essentials\Setup.exe" /x /s
Note: Check the exact path for the 64bit machines
Symantec AV
MsiExec.exe /x {49C27FB0-CEEF-4A11-8114-0BFE336D3884} /qb
MsiExec.exe /x {84B70C16-7032-41EE-965C-3C8D9D566CBB} /qb
MsiExec.exe /x {B1FB7D5C-20CE-4CB6-8F39-306EFDA8290C} /qb
MsiExec.exe /x {A3AEEA68-AC93-4F6F-8D2D-78BBF7E422B8} /qb
Managed Mcafee AV
Agent ID
MsiExec.exe /q /x {362678B4-6ED5-46E9-A6B2-53EF22159151}
App ID (Must be removed first before the agent)
VirusScan 8.0
msiexec.exe /x {5DF3D1BB-894E-4DCD-8275-159AC9829B43} REMOVE=ALL REBOOT=R /q
VirusScan 8.5
msiexec.exe /x {35C03C04-3F1F-42C2-A989-A757EE691F65} REMOVE=ALL REBOOT=R /q
VirusScan 8.7
msiexec.exe /x {147BCE03-C0F1-4C9F-8157-6A89B6D2D973} REMOVE=ALL /q
**Silent AV removal - refers to the ability to remove AV applications without having to interfere with what the current user is doing on the machine.
Thanks to Kaseya Live Connect. After several research and with the info I gathered, I am able to do the thing I need. One of the very powerful feature of Live Connect is the ability to perform execute commands via Command Shell like you're running it inside a Windows Box. So how did this help? Under Audit Page >> Add Remove >> Uninstall String, you will see uninstall strings you need to remove certain applications. See Figure 1 below:
![]() |
| Figure 1: Uninstall String |
"C:\Program Files\Microsoft Security Client\Setup.exe" /x /s
Take note: the quotes are necessary. Now, connect via Live Connect to your target machine and then click on Command Shell. See Figure 2 below.
![]() |
| Figure 2: Running the Uninstall String via Live Connect's Command Shell |
As promised, below are my tested uninstall strings with the working parameters. You may have to double check on the versions of the AV installed via Audit Page.
Microsoft Security Essentials:
"C:\Program Files\Microsoft Security Client\Setup.exe" /x /s
"C:\Program Files\Microsoft Security Essentials\Setup.exe" /x /s
Note: Check the exact path for the 64bit machines
Symantec AV
MsiExec.exe /x {49C27FB0-CEEF-4A11-8114-0BFE336D3884} /qb
MsiExec.exe /x {84B70C16-7032-41EE-965C-3C8D9D566CBB} /qb
MsiExec.exe /x {B1FB7D5C-20CE-4CB6-8F39-306EFDA8290C} /qb
MsiExec.exe /x {A3AEEA68-AC93-4F6F-8D2D-78BBF7E422B8} /qb
Managed Mcafee AV
Agent ID
MsiExec.exe /q /x {362678B4-6ED5-46E9-A6B2-53EF22159151}
App ID (Must be removed first before the agent)
VirusScan 8.0
msiexec.exe /x {5DF3D1BB-894E-4DCD-8275-159AC9829B43} REMOVE=ALL REBOOT=R /q
VirusScan 8.5
msiexec.exe /x {35C03C04-3F1F-42C2-A989-A757EE691F65} REMOVE=ALL REBOOT=R /q
VirusScan 8.7
msiexec.exe /x {147BCE03-C0F1-4C9F-8157-6A89B6D2D973} REMOVE=ALL /q
**Silent AV removal - refers to the ability to remove AV applications without having to interfere with what the current user is doing on the machine.
























