To get the full uninstallation code please download the JSON file. Don't download python or copy the code.
This script is helps you to Uninstall Third Party AV and Install Comodo Client Security
How it works:
1. This script checks configuration section whether Any remove thrid party AV = yes then it removes the third party Antivirus
2. If InstallCCS = "yes" and any remove thrid party AV = no then it installs the Comodo Client Security
Note:
1. Any third party AV should disable any protection in order to allow a silent command - command provided in our case by the script to run successfully.
2. Any third party AV should disable the password that is protecting the product, unless there is an option provided in the monitor. If the password is not disabled or provided in the monitor if supported then the command send will not be able to uninstall the product.
This script could be used as an auto-remediation procedure for the below custom monitoring script.
https://scripts.itarian.com/frontend/web/topic/check-any-third-party-av-installed-if-installed-remove-third-party-av-and-install-ccs