Installing MS agents
Installation requirements
To install an MS agent, the following requirements must be satisfied:
-
Supported Windows server platform (2012, 2016, 2019, 2022)
-
MS Active Directory (AD)
-
(Suggested) Existing AD CS installation removed from target server
Using an existing AD CS installation may cause configuration incompatibilities and prevent the agent from working as intended. For information on AD CS, see Active Directory Certificate Services (AD CS) Introduction. -
Server joined to the AD domain
-
Enterprise Administrator permissions
-
-
Hardware:
-
CPU — 1.4GHz 64-bit (minimum)
-
RAM — 4 GB (minimum)
-
Storage — 60 GB (minimum)
-
-
Internet access:
-
Outbound network access to
https://cert-manager.com
on TCP443
-
Add an MS agent to SCM
-
Navigate to
and click Add. -
In the Add MS Agent dialog, provide a name to help identify the agent.
-
Select the organization and department to use for default enrollment requests.
-
Click Next.
-
Copy the installation token for use during installation.
-
Initiate the agent download with the Windows installation package link.
-
Click Save.
The agent should now be listed on the MS Agents page with a status of Pending.

Install an MS agent
-
Run the bootstrap application.
The bootstrap application will download the Windows Installer package files (MSI) from https://dist.sectigo.com as necessary. If you’re using an HTTP proxy, ensure that your OS proxy settings have been configured to allow access to https://dist.sectigo.com. -
Read the EULA, select I agree to the license terms and conditions, and click Install.
-
Click Next.
-
Read the EULA, select I accept the terms in the License Agreement, and click Next.
-
(Optional) Specify an install location.
-
(Optional) Select the Proxy MS Enrollment Protocols to SCM feature.
-
Click Next, and paste the agent install token.
If needed, you can retrieve the installation token from the Edit MS Agent dialog for your agent. This token is no longer available once the agent connects to SCM for the first time. -
Click Next.
-
(Optional) Select Use Proxy and enter your proxy details based on the information provided in the following table.
Field Description Proxy Host
The hostname or IP address of your proxy server
Proxy Port
The port number used by your proxy server
Proxy User
The username for accessing the proxy server if configured to use credentials
Proxy Password
The password for accessing the proxy server if configured to use credentials
-
Click Next.
-
(Optional) Disable Enable Auto Update if you do not want the agent to automatically update to new versions.
-
Click Next, Install, Finish, and then Close.
The agent should now be listed on the MS Agents page with a status of Connected.

To be notified in the event that an agent is disconnected, add the MS Agent Disconnected notification. |
-
Open the Windows command prompt.
-
In the command line, navigate to the download location of the bootstrap application.
The bootstrap application will download the Windows Installer package files (MSI) from https://dist.sectigo.com as necessary. If you’re using an HTTP proxy, ensure that your OS proxy settings have been configured to allow access to https://dist.sectigo.com. -
Modify the installation command as needed.
.\Sectigo_MS_Agent.exe /i /q PROPERTY_AUTOUPDATE=1 PROPERTY_TOKEN= PROPERTY_CA_PROXY= PROPERTY_USE_PROXY= PROPERTY_PROXY_PAC_URL= PROPERTY_PROXY_HOST= PROPERTY_PROXY_PORT= PROPERTY_PROXY_USER= PROPERTY_PROXY_PASSWORD=
Options without an included value are ignored. The command options are outlined in the following table.
Option Description /i
Initiates installation of the agent through the bootstrap application
/q
Runs the installation in silent mode so no interaction is required
PROPERTY_AUTOUPDATE
Indicates whether the agent should automatically update
The possible values are:
-
1
(Yes) -
Empty (No)
PROPERTY_TOKEN
The mandatory installation token
PROPERTY_CA_PROXY
Indicates whether the agent should act as a CA proxy
The possible values are:
-
1
(Yes) -
Empty (No)
PROPERTY_USE_PROXY
Indicates whether you are using a proxy server
-
1
(Yes) -
Empty (No)
PROPERTY_PROXY_PAC_URL
The address of your proxy auto-config (PAC)
This file contains your proxy configuration details and can be used instead of specifying values for the
PROPERTY_PROXY_HOST
,PROPERTY_PROXY_PORT
,PROPERTY_PROXY_USER
, andPROPERTY_PROXY_PASSWORD
options.PROPERTY_PROXY_HOST
The hostname or IP address of your proxy server
PROPERTY_PROXY_PORT
The port number used by your proxy server
PROPERTY_PROXY_USER
The username for accessing the proxy server if configured to use credentials
PROPERTY_PROXY_PASSWORD
The password for accessing the proxy server if configured to use credentials
-
-
Run the modified installation command.
The agent should now be listed on the MS Agents page with a status of Connected.

To be notified in the event that an agent is disconnected, add the MS Agent Disconnected notification. |
Update an MS agent
-
Log in to SCM.
-
From the left-hand menu, select About.
-
Click the Download MS Agent icon and select Windows.
-
(Optional) If required, move the
Sectigo_MS_Agent.exe
file to the install location of the existing MS agent. -
Right-click
Sectigo_MS_Agent.exe
and click Install.The package automatically recognizes that there’s an existing version of the MS agent and initiates an update instead of a new install.
-
Read the EULA, select I agree to the license terms and conditions, and click Install.
-
Click Next.
-
Read the EULA, select I accept the terms in the License Agreement, and click Next.
-
(Optional) Specify an installation location.
-
Click Next, Install, and Close.
Uninstall an MS agent
-
Navigate to
. -
Search for Sectigo.
-
Select the Sectigo MS Agent and click Uninstall.
-
(Optional) Delete the files and logs associated with the MS agent.
-
Navigate to
C:\ProgramData\Sectigo
. -
Delete the
MS Agent
folder.This cannot be undone. Only delete this folder if you want to completely remove all files and logs related to the MS agent.
-
-
In SCM, navigate to
. -
Select the agent you want to delete.
-
Click the Delete icon.
-
Click Delete again.
MS agent service commands
When an MS agent is installed with Proxy MS Enrollment Protocols to SCM selected, the service commands are as follows:
Command | Description |
---|---|
Start |
Start an MS agent:
|
Stop |
Stop an MS agent:
|
Query |
Query the status of an MS agent:
|
When an MS agent is installed for discovery only (without Proxy MS Enrollment Protocols to SCM selected), the service commands are as follows:
Command | Description |
---|---|
Start |
Start an MS agent:
|
Stop |
Stop an MS agent:
|
Query |
Query the status of an MS agent:
|
Custom Java Runtime Environments
In some rare circumstances the default Java Runtime Sectigo packages included with the MS agent might need to be customized. For example, this can happen if an HTTP proxy is using privately trusted certificates or requires authentication schemes that aren’t enabled by default.
-
Open the Registry Editor application.
-
Navigate to
. -
Right-click on CCM and select
. -
Rename the new registry value to be
JavaOpts
. -
Modify the Value data for JavaOpts using the information provided in the following table.
JVM Parameter Description -Djavax.net.ssl.trustStore=path_to_keystore.jks
Replaces the truststore used by the JVM when trusting SSL certificates
Can be used if HTTP proxy uses a privately trusted certificate instead of needing to modify the JVMs truststore (cacerts)
-Djdk.http.auth.proxying.disabledSchemes=""
Reenables all authentication schemes when connecting to HTTP proxy
-Djdk.http.auth.tunneling.disabledSchemes=""
Reenables all authentication schemes when connecting to HTTP proxy using TLS
-
Click OK.
Configure LDAPS communication with MS AD
Enable LDAPS communication between the MS Agent and MS AD as follows:
-
Obtain an SSL certificate.
The SSL certificate must comply with the requirements outlined by Microsoft for an LDAPS certificate. These requirements are subject to change by Microsoft at any time without notice.
To view the current requirements, see Enable LDAP over SSL with a third-party certification authority. -
Run
regedit
. -
Navigate to
. -
Create a value of the type
REG_DWORD = UseLDAPS
. -
Specify a Data value of
0
if using LDAP, or1
if using LDAPS.Since LDAPS communication imposes additional requirements, LDAP is the default communication protocol.
-
Restart the agent using the
certsrv.mcs
snap-in.