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

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Uninstall an agent using a maintenance token

# Uninstall an agent using a maintenance token {#ariaid-title1}

Release version: Australia  
Updated August 27, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Uninstall an agent from a Windows device using a maintenance token. Administrators require maintenance tokens to ensure that unauthorized employees can't perform an uninstall.

## Before you begin

Enable requiring a maintenance token for uninstalls, as described in [Require a maintenance token for Windows uninstalls](https://www.servicenow.com/docs/5SlhjWPinVp1JLFfZwZjtg "Require using a maintenance token when uninstalling an agent from a Windows device. A maintenance token provides a layer of administrative control so that unauthorized personnel can't perform the uninstall.").

Create a maintenance token to be used when uninstalling an agent, as described in [Create a maintenance token](https://www.servicenow.com/docs/VKomaRebbqUpC6XZlpiWog "Create a maintenance token to use when uninstalling an agent from a Windows device. Administrators require maintenance tokens to ensure that unauthorized employees can't perform an uninstall.").

Role required: sn_agent.token_admin

## Procedure

1. Navigate to the Control Panel on your Windows machine and select the Agent Client Collector application to uninstall.  
   After the uninstall process begins, the Uninstall Token Required dialog box opens.
2. Retrieve the maintenance token that you created.
   1. Navigate to AllAgent Client CollectorDeploymentAgent Maintenance Token.
   2. Select the relevant maintenance token.
   3. Select View Maintenance Token in the Related Links section.
   4. Select the Copy Token (![]()) icon to copy the maintenance token value.
   {#uninstall-agent-maintenance-token__substeps_dzc_2dq_jkc}
3. Paste the maintenance token in the Maintenance Token field.
4. Select OK.  
   Note:  
   Alternatively, you can enable requiring a maintenance token by using the following single line command:

       msiexec /quiet /x <path_to_acc_msi_file> UNINSTALL_TOKEN=<valid_token_value>

   The agent is uninstalled from your Windows machine.

   If you provide an invalid maintenance token, uninstall is blocked. For more information, check the uninstall logs at \<user folder\>\\AppData\\Local\\Temp\\ACC_Logs.

*[\>]: and then


