You can copy these files on the “Backup” folder. Please refer below steps to create the golden image of any of the Windows Operating Systems with pre-installed ITarian Endpoint Manager and Security Clients. Eventually, You would be able to auto-enroll the machine with pre-configured ITarian setup upon each span of this image.
Step : Prepare Endpoint Manager console
In Endpoint Manager console please create a Device Group for VDI and associate a profile with it.
To create a Device Group please go to Endpoint Manager console → APPLICATIONS →Device Management →DEVICES →Devices List → (if you are using MSP please select the Company)→ Group Management tab → Create Group → provide a name, for example, TestVDI → Add
Now that you have created the Device Group please associate with this group the Profile that you want to use for the VDI environment.
Please select the Device Group →Group Management tab →Manage Profiles →Add Profiles →check the box for the Profile that you want to use →Save
Step  : Create ITARIAN Client Communication Installation (CC) Package
Now that we have a Device Group we need to create an ITarian Client Communication (CC) package that will enroll the machines to this group to receive the correct Profile.
To create a CC package, from DEVICES → Device List, please go to DEVICES → Bulk Installation Package
NOTE: Please do NOT rename the .msi, in the name you have the short token that will be used to enroll the machine to the VDI device group
Once you downloaded the .msi file we need to obtain the long token created for this file which we will need later, after obtaining please write it to the safe place.
The long token is also associated with the CDI device group.
To obtain the long token, please go from USERS → Users List and click on the user used to create the .msi. On User Tokens tab the latest token will be associated with the .msi and the VDI device group.
Step : Get Endpoint Manager Hostname
From Device List → Device Management tab please click on 'Enroll Device'
If you are using MSP, please select the user associated with the Company where the VDI device group is present.
Please click on Show enrollment instructions
On Enrolling Devices Manually section you will find the Host.
NOTE: Please do NOT use the Token from this section, this token is associated with the Default Device Group of the Company
Step : Install ITarian Client Communication (CC) and Comodo Client Security (CCS) on the Golden Image
Please copy the .msi file that you have created to the Golden Image and manually install it.
After the ITarian Client Communication (CC) is installed please confirm on the Endpoint Manager console, that the Golden Image is enrolled on the VDI device group.
Now that you are on the VDI device group, you can install Comodo Client Security (CCS), check the box for the Install or Update Packages → Install Additional Packages → check the box for Install ITarian Client → Security → Install and wait until the CCS will be installed on the target device
NOTE: Please reboot the Golden Image
After rebooting you will have the Golden Image with CC and CCS installed that is under VDI device group with the specific profile associated.
Step : Configure the master image
Enroll and proxy requirements:
Every time a machine is started to be automatically enrolled to VDI device group.
This can be done using enrollment_config.ini that will be placed in ITarian endpoint manager folder
NOTE: The enrollment_config.ini file will be consumed by the enrollment process.
You can download the enrollment_config.ini sample from this link:
In the file you will have:
host = companydomain.cmdm.comodo.com
port = 443 remove_third_party = false
suite = 4
token = xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Please modify the host and token section with the information that you have prepared earlier in steps 2 (Long token) and 3 (Hostname)
If you are using proxy Clients Proxy tab in your Profile you will need a second file at enrolment phase with the name proxy_settings.ini.
You can download proxy_settings.ini sample from this link:
In the file you will have:
proxy_use = "true"
proxy_use_auth = "false"
Please update host and port section.
If you are using authentication, please change proxy_use_auth from “false” to “true” and provide user and password.
In order not to generate these files every time please create in the Comodo ITSM folder a new folder with the name for example “Backup” and place enrollment_config.ini and proxy_settings.ini (if you are using proxy) files with your information:
C:\Program Files\COMODO\Comodo ITSM\Backup – for 32bit OS
C:\Program Files (x86)\COMODO\Comodo ITSM\Backup – for 64 bit OS
Every time you shut down the Golden Image the machine needs to be unenrolled for the ITSM console.
Every time you shut down the Golden Image the enrollment_config.ini and proxy_settings.ini depending on the case, will need to be present in the Comodo ITSM folder so when the ITSM service will start at startup will be able to enroll the machine correctly.
To automate these steps, we can use a batch file that can be run at shutdown using GPO.
You can download a sample of the bat file from this link:
Place this .bat file to the location that is not restricted by Windows.
For example, create a folder on the %SystemDrive% with the name temp and place the .bat file inside.
In the .bat file at the beginning you will have these lines:
REM Please create a folder in the "Comodo ITSM" folder
REM In this folder please copy "enrollment_config.ini" and "proxy_settings.ini" files
REM This script will copy these two files on the "Comodo ITSM" folder after the enrollment command is run
REM If you are using a proxy, please use proxy=yes
Please specify the name of the folder that you have created inside of Comodo ITSM and please specify if you are using proxy or not.
To run this .bat file at shutdown, please open gpedit.msc and go to this path:
Computer Configuration – Windows Settings – Scripts (Startup/Shutdown) – Shutdown – right-click – Properties – Add… - Browse… - select the .bat file – OK – OK
Now at shutdown, the .bat file will unenroll the machine from the ITSM console and prepare the enrollment process by copying the file or files from the Backup folder to the Comodo ITSM folder
Step 6: Rate the .bat file as “Trusted” on Golden Image machine
To be sure that the .bat file is not blocked in any way by the Comodo Client Security (CCS) regardless of the security level that you are using, we will rate this file as “Trusted” with user rating.
In your ITSM console from DEVICES – Device List please go to CONFIGURATION TEMPLATES – Profiles – Choose Golden image profile – UI Settings ( add this section if needed) – Edit – check Show file list box – Save
On your Golden Image machine open CCS – SETTINGS – File Rating -File list – Add – Files – add the absolute path to the script file – Ok – Trusted – Ok – Ok (To apply file list changes)
Now your script is trusted and will not be stopped by any CCS component.
Step 7: Confirm that CCS doesn’t need a reboot
At this step, you can also confirm that Comodo Client – Security doesn’t require a restart in order to finish his configuration (If you remove or add in the profile AV or FW or CO you need to reboot the system in order to be able to add or remove these modules )
Step 8: Reboot the Golden Image
At this steep, please reboot the Golden Image to confirm that at shutdown is removed from the ITSM console and after reboot is enrolled on the VDI device group.
Step 9: Confirm that the machines are enrolled in the ITSM console
Now that we have confirmed that the Golden Image is working correctly, please update the machine catalog, in Citrix case please see below print screens.
After the update, please test that the machines are enrolled/removed from the ITSM console.