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

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil 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: Brazil  
Updated September 10, 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/ZaE9sxT3u8f929yJ7J0vPA "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/hel5Ok4uUa25PMC0b2gA1Q)**   
  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.

