This script is helps you to install Comodo Client Security(ccs) and AV DB in both Windows and server.
How it works:
1. This script checks whether the Comodo Client Security(ccs) is installed or not. If not installed css. it will install css and reboot the system. After reboot the system it will check AV DB is installed or not. If not installed it's verify the database="yes", after install the AV DB.
2. The procedure is able to also uninstall any other version that the one specified, this option can be used when the update/downgrade option is no longer available.
This script could be used as an auto-remediation procedure for the below custom monitoring script.
# If you want to enforce the CCS version choose enforceCCS = "yes"
# This option will uninstall any other CCS version and install the specified version
enforceCCS = "yes"
# Please specify the version that you want to download from Comodo servers and/or to enforce if enforceCCS = "yes"
CCSVersion = "18.104.22.16849"
# Do you want that the endpoint to download Comodo Client Security package from COMODO servers?
comodoservers = "yes"
# if variable comodoservers = "yes" the package will be downloaded from:
# In your portal please go to this path in order to indentify your Comodo Client Security version:
# SETTINGS-Portal Set-UpClient SettingsWindowsSecurity Client
# if comodoservers = "no" please provide the shared folder path and the CCS .msi names:
SharedFolderPath = r'\\servername\sharefolder'
CISx64Name = r'fileName'
CISx86Name = r'fileName'
# If Antivirus will be installed, do you want to download the initial Database from a shared folder ?
# ( Database is automatically updated from Comodo servers after 1 hour as default or after a reboot )
Database = "no"
# If the variable Database = "yes" you can download the latest database from this link and place it on shared folder:
SharedFolderPathCAV = r'\\servername\sharefolder'
# FileNameCAV variable is the file name of the AV DB
FileNameCAV = r'bases.cav'
# After CCS is installed do you want to supress the reboot on the endpoint?
SuppressReboot = "no"
# If the variable SuppressReboot = "no" by default you have 5 minutes with a comment "Your device will reboot in 5 minutes because it's required by your administrator"
reboottime = "300"
# In the variable reboottime you can specify in seconds the reboot time
notes = "yes"
# In the notes = "yes" variable you can request to show show installation notes
msiLogs = "yes"
# In the msiLogs = "yes" variable you can request to enable MSI Installation log?
#In the scan="yes" you can specifi if you want to start a Full Scann on the endpoint after Comodo Client Security install
# This option will work only if you have Full Scan scheduled in your profile