--- title: "Uninstalling a Password-Protected xAgent in Silent Mode" slug: "uninstalling-a-password-protected-xagent-in-silent-mode" updated: 2026-09-08T19:11:41Z published: 2026-09-08T19:11:41Z canonical: "docs.trellix.com/uninstalling-a-password-protected-xagent-in-silent-mode" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Uninstalling a Password-Protected xAgent in Silent Mode **To uninstall the Windows xAgent in silent mode:** You can also use the command line to uninstall the xAgent software silently (without any user prompting) by inputting the password as a property to `msiexec`. If this property is missing or if the xAgent uninstall password is incorrect, the uninstall process will fail. `msiexec /x <agent software installation msi file> /qn UNINSTALL_PASSWORD=password` 1. Open a command line prompt on your Windows host. 2. Use the` msiexec /x` and /qn commands to uninstall the password-protected xAgent software in silent mode. Specify the name of the xAgent installation `.msi` executable file on the host endpoint and appending `the /x `command with `UNINSTALL_PASSWORD=<password>`. `msiexec /x <agent software installation msi file>|<product identifier #>/qn UNINSTALL_PASSWORD=<password>` :