---
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


---

# Require a maintenance token for Windows uninstalls

# Require a maintenance token for Windows uninstalls {#ariaid-title1}

Release version: Australia  
Updated August 27, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
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.

## Before you begin

Role required: sn_agent.token_admin

## Procedure

1. Navigate to the Agent Client Collector Setup wizard, as described in [Install the Agent Client Collector on a Windows machine manually](https://www.servicenow.com/docs/LtZicVxUm2xclz_5tKNSEw "Install the Agent Client Collector on a Windows machine manually when you want to test the agent on a single system.").
2. Select the Require maintenance token for uninstall check box on the Agent Client Collector Configuration page.
3. Complete the installation and exit the setup wizard.  
   Note:  
   Alternatively, you can enable requiring a maintenance token by using the following single line command:

       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 UNINSTALLVALIDATION=1

* **[Enable uninstall validation during agent upgrade](https://www.servicenow.com/docs/zZUVkiDJr_2E~aKHyZ880w)**   
  Configure requiring a maintenance token to uninstall agents during agent upgrade. A maintenance token provides a layer of administrative control so that unauthorized personnel can't perform the uninstall.

