<h2>Install the Agent Client Collector on a Windows machine manually</h2><br/><div style="overflow-x:auto"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="text/html; charset=UTF-8" /><meta name="copyright" content="(C) Copyright 2025" /><meta name="DC.rights.owner" content="(C) Copyright 2025" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="task" /><meta name="DC.title" content="Install the Agent Client Collector on a Windows machine manually" /><meta name="abstract" content="Install the Agent Client Collector on a Windows machine manually when you want to test the agent on a single system." /><meta name="description" content="Install the Agent Client Collector on a Windows machine manually when you want to test the agent on a single system." /><meta name="DC.relation" scheme="URI" content="../../../product/agent-client-collector/concept/acc-windows-install-concept.html" /><meta name="DC.relation" scheme="URI" content="../../../product/it-operations-management/reference/r_ITOMApplications.html" /><meta name="DC.relation" scheme="URI" content="../../../product/agent-client-collector/concept/acc-landing-page.html" /><meta name="DC.relation" scheme="URI" content="../../../product/agent-client-collector/concept/acc-framework-landing-page.html" /><meta name="DC.relation" scheme="URI" content="../../../product/agent-client-collector/task/acc-install-upgrade-windows.html" /><meta name="DC.relation" scheme="URI" content="../../../product/agent-client-collector/task/acc-uninstall.html" /><meta name="DC.contributor" content="shiri.cohen" /><meta name="DC.creator" content="ServiceNow" /><meta name="DC.date.created" content="2023-02-02" /><meta name="DC.date.modified" content="2024-08-01" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="acc-install-windows" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>Install the Agent Client Collector on a Windows machine manually</title></head><body id="acc-install-windows"> <div class="breadcrumb"><a class="link" href="../../../product/it-operations-management/reference/r_ITOMApplications.html" title="Get better visibility into your infrastructure and services, prevent service outages, and expand your organization's operational agility with ServiceNow IT Operations Management.">IT Operations Management</a> > <a class="link" href="../../../product/agent-client-collector/concept/acc-landing-page.html" title="The Agent Client Collector is an agent that is installed on infrastructure components. The Agent Client Collector is built on a Sensu framework which enables you to adopt and extend monitoring checks from the community. It executes commands on the machines it is installed on and sends output data to the ServiceNow instance via the MID Server, storing events and metrics in the relevant database.">Agent Client Collector</a> > <a class="link" href="../../../product/agent-client-collector/concept/acc-framework-landing-page.html" title="The Agent Client Collector Framework (ACC-F) application manages the agent installation on your infrastructure components, enabling sending of output data to the ServiceNow instance via the MID Server. In addition to the MID Server, you must install the Configuration Management Database for Scoped Apps (CMDB).">Agent Client Collector Framework</a> > </div> <h1 class="title topictitle1" id="ariaid-title1">Install the <span class="ph">Agent Client Collector</span> on a <span class="ph">Windows</span> machine manually</h1> <div class="body taskbody"><p class="shortdesc">Install the <span class="ph">Agent Client Collector</span> on a <span class="ph">Windows</span> machine manually when you want to test the agent on a single system.</p> <div class="section prereq p"> <div class="p"><ol class="ol" id="acc-install-windows__ol_nc5_dwy_ylb"><li class="li">Ensure that you’ve configured the <span class="ph">Agent Client Collector</span> web server. For details, see <a class="xref" href="acc-configure-web-server.html" title="Configure the websocket server on MID Servers to enable connections from agents to the MID Server. You can configure only one websocket server per MID Server.">Configure the websocket server on the MID Server</a>.</li><li class="li">Verify your server's OS and version.</li><li class="li">When using <span class="ph">Microsoft</span> Internet Explorer, do the following to prepare the <span class="ph">Agent Client Collector</span> installation file:<ol class="ol" type="a" id="acc-install-windows__ol_o3l_jxy_j4b"><li class="li">Navigate to <span class="ph menucascade"><span class="ph uicontrol">Server Manager</span> > <span class="ph uicontrol">Local Server</span></span>.</li><li class="li">Turn off <span class="ph uicontrol">IE Enhanced Security Configuration</span>.</li><li class="li">Download the installation file.</li><li class="li">Change the extension of the installation file from <span class="ph filepath">.man</span> to <span class="ph filepath">.msi</span></li></ol> </li></ol> </div> <p class="p">Role required: agent_client_collector_admin</p> </div> <ol class="ol steps"><li class="li step stepexpand"> <span class="ph cmd">Navigate to <span class="ph menucascade"><span class="ph uicontrol">Agent Client Collector</span> > <span class="ph uicontrol">Agent Downloads</span></span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">To perform installation using the wizard:</span> <ol type="a" class="ol substeps" id="acc-install-windows__substeps_lvc_rbz_ylb"><li class="li substep substepexpand"> <span class="ph cmd">Download the .msi file that is accessible from the link on the UI.</span> <div class="itemgroup stepresult">The Installation Wizard opens.</div> </li><li class="li substep substepexpand"> <span class="ph cmd">Select <span class="ph uicontrol">Next</span> until you reach the <span class="ph uicontrol">MID Web Server Connection Settings</span> page.</span> <div class="itemgroup info"> <div class="p"><div class="fig fignone" id="acc-install-windows__fig_v2g_wxy_ylb"> <br /><div class="imagecenter"><img class="image imagecenter" id="acc-install-windows__image_ezx_3p4_54b" src="../image/ACC-MID-Connection-Settings-Updated.png" alt="MID Connection Settings page" /></div><br /> </div> </div> </div> </li><li class="li substep substepexpand"> <span class="ph cmd">Enter the relevant parameters in the dialog box fields:</span> <div class="itemgroup info"> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="acc-install-windows__table_b4p_fxy_ylb" class="table" frame="border" border="1" rules="all"><caption><span class="tablecap"><span class="table--title-label">Table 1. </span>MID Web Server Connection Settings fields</span></caption><colgroup><col style="width:50%" /><col style="width:50%" /></colgroup><thead class="thead" style="text-align:left;"><tr class="row"><th class="entry cellrowborder" style="vertical-align:top;" id="d539052e210">Field name</th><th class="entry cellrowborder" style="vertical-align:top;" id="d539052e213">Description</th></tr></thead><tbody class="tbody"><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e210 ">MID Web Server Name/IP</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e213 ">IP address of the MID Web server.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e210 ">MID Web Server Port</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e213 ">Port number of the MID Web server. Use a number between 1024-49151.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e210 ">MID Web Server API Key</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e213 ">API key to access the MID Web server.</td></tr></tbody></table> </div> </div> </li><li class="li substep substepexpand"> <span class="ph cmd">Select <span class="ph uicontrol">Next</span>.</span> <div class="itemgroup info">The <span class="ph uicontrol">Create Local User Account</span> page appears.<div class="p"><div class="fig fignone" id="acc-install-windows__fig_ryw_xzy_hkb"> <br /><div class="imagecenter"><img class="image imagecenter" id="acc-install-windows__image_nzt_11z_hkb" src="../image/ACC-Create-Local-User-Account.png" alt="Create Local User Account page" /></div><br /> </div> </div> </div> </li><li class="li substep substepexpand"> <span class="ph cmd">Select the relevant option in the dialog box.</span> <div class="itemgroup info"> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="acc-install-windows__table_hdl_d1z_hkb" class="table" frame="border" border="1" rules="all"><caption><span class="tablecap"><span class="table--title-label">Table 2. </span>Create Local User Account dialog box</span></caption><colgroup><col style="width:50%" /><col style="width:50%" /></colgroup><thead class="thead" style="text-align:left;"><tr class="row"><th class="entry cellrowborder" style="vertical-align:top;" id="d539052e298">Option</th><th class="entry cellrowborder" style="vertical-align:top;" id="d539052e301">Description</th></tr></thead><tbody class="tbody"><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e298 ">Use default user (servicenow)</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e301 ">Default user with which to run the <span class="ph">Agent Client Collector</span> on a Windows machine.<p class="p">Selecting this option creates a local user called <span class="ph uicontrol">servicenow</span> as part of the installation.</p> <p class="p">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 <a class="xref" href="https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1649116" target="_blank" rel="noopener noreferrer">KB1649116</a> article in the HI Knowledge Base.</p> </td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e298 ">Select existing user</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e301 ">When selecting this option, configure the following subfields:<ul class="ul" id="acc-install-windows__ul_l5p_szx_4lb"><li class="li"><span class="ph uicontrol">User Name</span>: User name to log in to the Windows environment.</li><li class="li"><span class="ph uicontrol">Password</span>: Password of the selected user.</li></ul> <div class="p">The user can be one of the following: <ul class="ul" id="acc-install-windows__ul_rbh_hyt_jyb"><li class="li">Local user (created by the virtual machine owner; provides added resiliency).</li><li class="li">Domain user (created by IT personnel).</li><li class="li">Group Managed Service Account (gMSA): Enter the name of the group managed service account in the <span class="ph uicontrol">User Name</span> field and leave the <span class="ph uicontrol">Password</span> field empty.</li><li class="li">Local Service Account: Enter <span class="keyword parmname">LOCALSERVICE</span> in the <span class="ph uicontrol">User Name</span> field and leave the <span class="ph uicontrol">Password</span> field empty.</li><li class="li">Local System Account: Enter <span class="keyword parmname">SYSTEM</span> in the <span class="ph uicontrol">User Name</span> field and leave the <span class="ph uicontrol">Password</span> field empty.<p class="p">Due to <span class="ph">Windows</span> UAC restrictions, running the agent as a local SYSTEM account is necessary to perform an upgrade via <span class="keyword parmname">msiexec</span>.</p> </li></ul> </div> </td></tr></tbody></table> </div> <div class="note"><span class="notetitle">Note:</span> Using a Local System account creates the local group <span class="keyword parmname">ServiceNow Users</span>, and adds the created user to the group. The ServiceNow Users group has access to <span class="ph">Agent Client Collector</span> directories and has the following privileges:<ul class="ul" id="acc-install-windows__ul_sn4_yyl_flb"><li class="li"><span class="ph uicontrol">Performance Monitor</span>: Comes with the base system; enables viewing all performance counters in the system.</li><li class="li"><span class="ph uicontrol">Log on as a service</span>: Enables starting network services and services that run continuously, even when no one is logged onto the console.</li><li class="li"><span class="ph uicontrol">Debug programs</span>: Enables debugging processes and reading process details for users outside the <span class="ph">ServiceNow</span> user group.</li></ul> </div> </div> </li><li class="li substep substepexpand"> <span class="ph cmd">Select <span class="ph uicontrol">Create User</span>.</span> <div class="itemgroup stepresult">The system creates a Windows user with the specified credentials, and the <span class="ph">Agent Client Collector</span> Configuration page appears.</div> </li><li class="li substep substepexpand"> <span class="ph cmd">To enable the <span class="ph uicontrol">Allow-List</span> containing the checks enabled to run after setup, select the <span class="ph uicontrol">Enable executing command allow list</span> check box on the resulting page.</span> <div class="itemgroup info"> <div class="p"><div class="fig fignone" id="acc-install-windows__fig_hwm_4yy_ylb"> <br /><div class="imagecenter"><img class="image imagecenter" id="acc-install-windows__image_l2p_qyy_ylb" src="../image/ACC-Allow-List-Windows.png" alt="Allow list check box" /></div><br /> </div> </div> </div> </li><li class="li substep substepexpand"> <span class="ph cmd">Select <span class="ph uicontrol">Next</span> to open the installation page.</span> <div class="itemgroup info"> <p class="p">When installation completes, click <span class="ph uicontrol">Next</span> to complete and exit the wizard.</p> <p class="p">After a successful installation, the service starts automatically and generates the following:</p> <ul class="ul" id="acc-install-windows__ul_x52_4pr_1mb"><li class="li">User: Default = servicenow (an existing user can also be configured to manage the service). The servicenow user belongs to the local user group <span class="ph uicontrol">ServiceNow Users</span>.</li><li class="li">Service: AgentClientCollector</li><li class="li">File location: <ul class="ul" id="acc-install-windows__ul_vtn_v1z_1mb"><li class="li">Default for installation = <span class="ph filepath">C:\Program Files\ServiceNow\agent-client-collector</span></li><li class="li">Default for service files = <span class="ph filepath">C:\ProgramData\ServiceNow\agent-client-collector</span>, which holds the <span class="ph filepath">cache</span>, <span class="ph filepath">config</span>, and <span class="ph filepath">log</span> folders.</li></ul> </li></ul> </div> </li></ol> </li><li class="li step stepexpand"> <span class="ph cmd">To run Silent installation to disable installation reports, run the command line appearing in the <span class="ph uicontrol">Silent installation</span> section of the procedure, as follows:</span> <div class="itemgroup info"> <code class="ph codeph">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</code> <p class="p">To enable the allow list of specified checks when running Silent installation, set the <span class="keyword parmname">ACC_ALLOW_LIST</span> parameter to <span class="ph uicontrol">True</span>.</p> </div> </li><li class="li step stepexpand"> <span class="ph cmd">To configure multiple <span class="ph">MID Servers</span> with Silent installation, run the command line appearing in the <span class="ph uicontrol">Silent installation</span> section of the procedure with comma-separated values, as follows:</span> <div class="itemgroup info"> <code class="ph codeph">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"</code> <p class="p">Insert the following parameter values in the command:</p> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="acc-install-windows__table_al4_f4s_wlb" class="table" frame="border" border="1" rules="all"><caption><span class="tablecap"><span class="table--title-label">Table 3. </span>Command parameters</span></caption><colgroup><col style="width:50%" /><col style="width:50%" /></colgroup><thead class="thead" style="text-align:left;"><tr class="row"><th class="entry cellrowborder" style="vertical-align:top;" id="d539052e595">Parameter</th><th class="entry cellrowborder" style="vertical-align:top;" id="d539052e598">Value</th></tr></thead><tbody class="tbody"><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e595 ">ACC_API_KEY</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e598 ">The API key used to access the <span class="ph">MID Server</span> websocket.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e595 ">ACC_MID</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e598 ">The URL of the <span class="ph">MID Server</span> websocket.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e595 ">DENY_LOCAL_LOGON</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e598 ">When set to <span class="keyword parmname">True</span>, prevents any user other than the default servicenow user from logging onto the service.<p class="p">Default value: False</p> </td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e595 ">PASSWORD_NEVER_EXPIRES</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e598 ">When set to <span class="keyword parmname">True</span>, the password for the default servicenow user never expires.<p class="p">Default value: False</p> </td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e595 ">START_SERVICE</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e598 ">When set to <span class="keyword parmname">True</span>, the <span class="ph">Agent Client Collector</span> service automatically starts after installation.<p class="p">Default value: True</p> </td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e595 ">LOCALUSERNAME</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e598 ">Account running the <span class="ph">Agent Client Collector</span> as a <span class="ph">Windows</span> service. Possible values:<ul class="ul" id="acc-install-windows__ul_j2k_ywt_hxb"><li class="li">SYSTEM</li><li class="li">LOCALSERVICE</li><li class="li">DOMAIN\gMSA$</li><li class="li">string (local username)</li></ul> <p class="p">Default = <code class="ph codeph">servicenow</code></p> <p class="p">When using the SYSTEM, LOCALSERVICE, or DOMAIN\gMSA$ accounts, you do not have to configure a password.</p> </td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e595 ">LOCALPASSWORD</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d539052e598 ">Password for the user specified in the LOCALUSERNAME parameter.</td></tr></tbody></table> </div> <p class="p">The configured <span class="ph">MID Server</span> values are automatically added to the <span class="ph filepath">acc.yml</span> file. The agent connects to the first available <span class="ph">MID Server</span> in the list.</p> <p class="p">To configure a secondary MID server, enter the following syntax in the <span class="ph filepath">backend-url</span> section of the <span class="ph filepath">acc.yml</span> file, per the <span class="ph filepath">.yml</span> standard: <span class="ph filepath">- "wss://<MID IP>:<Web socket port>/ws/events"</span> (with the quotation marks).</p> </div> </li></ol> </div> <div class="related-links"> <ul class="ullinks"><li class="link ulchildlink"><strong><a href="../../../product/agent-client-collector/task/acc-install-upgrade-windows.html">Upgrade the Agent Client Collector manually on a Windows system</a></strong><br /> Perform a manual upgrade of your existing <span class="ph">Agent Client Collector</span> version on a system running a Windows OS.</li><li class="link ulchildlink"><strong><a href="../../../product/agent-client-collector/task/acc-uninstall.html">Uninstall the Agent Client Collector manually from a Windows machine</a></strong><br /> Uninstall the <span class="ph">Agent Client Collector</span> from a Windows machine manually instead of using the single-line procedure. Use the manual procedure if the command script is unavailable due to the specific agent not being connected to the instance.</li></ul> <div class="familylinks"> <div class="parentlink"><strong>Parent Topic:</strong> <a class="link" href="../../../product/agent-client-collector/concept/acc-windows-install-concept.html" title="When installing the Agent Client Collector on a Windows machine, either download an installation file and use a wizard to install the agent manually, or use silent installation to automate agent installation and configuration. Manual installation enables you to test the agent on a single system, while silent installation enables you to deploy the agent at scale.">Agent Client Collector installation on a Windows machine</a></div> </div> </div></body></html></div>