Hi,
This script will help you to automatically unenroll from one EM portal and enroll in another EM portal.
Refer to the wiki to run the procedure with parameters
https://wiki.xcitium.com/frontend/web/topic/how-to-configure-and-run-procedures-on-managed-devices
For Example:
host="companypmsupport-companypmsupport-msp.cmdm.comodo.com"
port="443"
token="4gfd4551lkgf5617fdg5d1156bhfdsgp"
password="Test@1234"
Note 1: The "password" parameter is mandatory for agent versions 10+ and its value should match the following password which is set under "Client Access Control" in OLD portal.
Note 2: As a prerequisite, the following paths should be added to the 'Global Whitelist' file group variable as mentioned
C:\ProgramData\COMODO\Cis\tempscrpt\C_cmd.exe_761B4E373B9D851BBB5B6272D8338893D4C30DF3.bat
C:\ProgramData\COMODO\Cis\tempscrpt\C_cmd.exe_C88003851442F3745C465FD5F28EB29072B52AC6.bat
Note: Please edit the following parameters in the script
### PARAMETERS TO BE EDITED UNDER PARAMETERS TAB ###
1. host:
TYPE: String
EM LABEL: Any name
Default value: "Enter your hostname of new EM portal which you want to enroll"
2. port:
TYPE: integer
EM LABEL: Any name
Default value: "Enter your port number of the new EM Portal"
3. Token:
TYPE: String
EM LABEL: Any name
Default value: "Enter the Token of the new EM Portal"
4. Password
TYPE: String
EM LABEL: Any name
Default value: "Enter the password of the OLD EM Portal"
Please run the script as "System user"
JSON FILE SHA1 VALUE - c6a231ac7b5d58fae1340b3405b57fdafa0e8144
PYTHON FILE SHA1 VALUE - bd72680bc5571f763ccc603ef40119da79aa6530
Comments