--- 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/australia/it-operations-management/agent-client-collector/gmsa-and-local-account-commands.html release: australia product: Agent Client Collector classification: agent-client-collector topic_type: reference last_updated: "2026-03-12" 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.
| Account type | Command |
|---|---|
| LocalSystem |
```
msiexec /i C:\acc-installer.msi /qn /norestart ACC_API_KEY= |
| LocalService |
```
msiexec /i C:\acc-installer.msi /qn /norestart ACC_API_KEY= |
| gMSA |
```
msiexec /i C:\acc-installer.msi /qn /norestart ACC_API_KEY= |