Account commands for LocalService, LocalSystem, and gMSA during Windows installation
reference brazil Updated Sep 10, 2026 1 min read gmsa-and-local-account-commands.md
When installing an agent on a Windows host using a LocalService, LocalSystem, or gMSA account, you must run msi commands to enable the accounts.
|
Account type |
Command |
|---|---|
|
LocalSystem |
Text |
|
LocalService |
Text |
|
gMSA |
Text |
60 lines · 1.8 KB
--- title: Account commands for LocalService, LocalSystem, and gMSA during Windows installation description: When installing an agent on a Windows host using a LocalService, LocalSystem, or gMSA account, you must run msi commands to enable the accounts. locale: en-US canonical_url: https://www.servicenow.com/docs/r/it-operations-management/agent-client-collector/gmsa-and-local-account-commands.html release: brazil product: Agent Client Collector classification: agent-client-collector topic_type: reference last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [ACC-F reference, Agent Client Collector reference, Agent Client Collector, IT Operations Management] --- # Account commands for LocalService, LocalSystem, and gMSA during Windows installation When installing an agent on a Windows host using a LocalService, LocalSystem, or gMSA account, you must run msi commands to enable the accounts. <table id="table_trf_slc_3cc"><thead><tr><th> Account type </th><th> Command </th></tr></thead><tbody><tr><td> LocalSystem </td><td> ``` msiexec /i C:\acc-installer.msi /qn /norestart ACC_API_KEY=<API key code> ACC_MID=<MID Server URL>/ws/events ACC_ALLOW_LIST=False LOCALUSERNAME="SYSTEM" ``` </td></tr><tr><td> LocalService </td><td> ``` msiexec /i C:\acc-installer.msi /qn /norestart ACC_API_KEY=<API key code> ACC_MID=<MID Server URL>/ws/events ACC_ALLOW_LIST=False LOCALUSERNAME="LOCALSERVICE" ``` </td></tr><tr><td> gMSA </td><td> ``` msiexec /i C:\acc-installer.msi /qn /norestart ACC_API_KEY=<API key code> ACC_MID=<MID Server URL>/ws/events ACC_ALLOW_LIST=False LOCALUSERNAME="DOMAIN\gMSA$" ``` </td></tr></tbody> </table>**Parent Topic:**[Agent Client Collector Framework reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/agent-client-collector/agent-client-collector-reference.md)
| title | Account commands for LocalService, LocalSystem, and gMSA during Windows installation |
| description | When installing an agent on a Windows host using a LocalService, LocalSystem, or gMSA account, you must run msi commands to enable the accounts. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/it-operations-management/agent-client-collector/gmsa-and-local-account-commands.html |
| release | brazil |
| product | Agent Client Collector |
| classification | agent-client-collector |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | ACC-F referenceAgent Client Collector referenceAgent Client CollectorIT Operations Management |