---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Install ACC on a Windows machine using silent installation

# Install the Agent Client Collector on a Windows machine using silent installation {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

Install the Agent Client Collector on a Windows machine using silent installation when you want to deploy the agent at scale.

## About this task

Silent installation automatically creates a local user called servicenow (unless another existing user is invoked with the LOCALUSERNAME parameter, as described in the command
parameters table in the following procedure). The servicenow user password is randomly generated and is not stored in the system. A security event is created on the host machine which, if repeated, requires opening a support
case. For details, see [KB1649116](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1649116) article in the Now Support Knowledge Base.

## Before you begin

ACC installs need to access this URL: https://install.service-now.com/.

Enable golden image mode for cloning additional agents by setting the msi property GOLDEN_IMAGE=true.

Role required: agent_client_collector_admin

## Procedure

1. Navigate to AllAgent Client CollectorDeploymentAgent Downloads.
2. From the Windows Download section, download the MSI installer by selecting the Download icon (![Select the download icon to download the application.]()).  
3. To run Silent installation to disable installation reports, run the command line appearing in the Silent installation section of the procedure, as follows:  
   `msiexec /i <msi_file_path> /quiet /qn /norestart ACC_API_KEY=<key_value> ACC_MID=wss://<mid_ip>:<websocket_port>/ws/events ACC_ALLOW_LIST=False`

   To enable the allow list of specified checks when running silent installation, set the ACC_ALLOW_LIST parameter to True.
4. To configure multiple MID Servers with Silent installation, run the command line appearing in the Silent installation section of the procedure with comma separated values, as follows:  
   `msiexec /i <msi_file_path> /quiet /qn /norestart ACC_API_KEY=<key_value>
   ACC_MID="wss://<mid1_ip>:<websocket1_port>/ws/events,wss://<mid2_ip>:<websocket2_port>/ws/events"`

   Insert the following parameter values in the command:
   {#acc-windows-install-silent__table_al4_f4s_wlb__entry__3}

   | Parameter | Type | Value |
   |-|-|-|
   | ACC_API_KEY | String | The API key used to access the MID Server websocket. |
   | ACC_MID | String | The URL of the MID Server websocket. |
   | ACC_ALLOW_LIST | Boolean | Indicates whether the allow-list is enabled (True) or disabled (False). Default = True |
   | START_SERVICE | Boolean | Indicates whether the agent starts automatically upon installation (true) or must be started manually (false). Default = True |
   | LOCALUSERNAME | String | Account running the Agent Client Collector as a Windows service. Possible values: * SYSTEM * LOCALSERVICE * DOMAIN\\gMSA$ * string (local username) {#acc-windows-install-silent__ul_j2k_ywt_hxb} Default = `servicenow` When using the SYSTEM, LOCALSERVICE, or DOMAIN\\gMSA$ accounts: * You do not have to configure a password. * You must run the relevant .msi command, as described in [Account commands for LocalService, LocalSystem, and gMSA during Windows installation](https://www.servicenow.com/docs/h5KFGMGc2zLiqj0Z4qCnOQ "When installing an agent on a Windows host using a LocalService, LocalSystem, or gMSA account, you must run msi commands to enable the accounts."). {#acc-windows-install-silent__ul_i33_m4c_3cc} |
   | LOCALUSERPASSWORD | String | Password used to access the agent. Default = \<randomly generated password\> |
   | ISDOMAIN | Boolean | Assigns a domain user account to the Windows service. Possible values: * 0 - DOMAIN is ignored * 1 - DOMAIN is used {#acc-windows-install-silent__ul_kkv_mxt_hxb} |
   | DOMAIN | String | Indicates the user domain. Applies only to domain user accounts (not gMSA) |
   | PASSWORD_NEVER_EXPIRES | Boolean | Indicates whether the user password expires (false) or never expires (true). Default = false |
   [Table 1. Command parameters]

   {#acc-windows-install-silent__table_al4_f4s_wlb}

   The configured MID Server values are automatically added to the acc.yml file. The agent connects to the first available MID Server in the list.

   To configure a secondary MID server, enter the following syntax in the backend-url section of the acc.yml file, per the
   .yml standard: - "wss://\<MID IP\>:\<Web socket port\>/ws/events" (with the quotation marks).

   For the \<MID IP\> value, you can assign
   either the MID FQDN or CNAME. To enable high availability, use either the Auto MID Selection algorithm, or manage a virtual IP with a load balancer. For more information, see the [ITOM Agent Client Collector documentation material \[KB1122613\]](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1122613) article in the HI
   Knowledge Base.
* **[Uninstall Agent Client Collector from a Windows system using a single-line command](https://www.servicenow.com/docs/QNGMuVEpJ1C2Tb4PKKHjlA)**   
  Uninstall the Agent Client Collector from a Windows machine by running an efficient single-line command. If the script is not connected to the instance, you might have to uninstall Agent Client Collector manually.

*[\>]: and then


