--- title: "Windows agent installation and uninstallation options" slug: "windows-agent-installation-and-uninstallation-options" updated: 2026-09-08T18:53:57Z published: 2026-09-08T19:06:36Z canonical: "docs.trellix.com/windows-agent-installation-and-uninstallation-options" --- > ## 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. # Windows agent installation and uninstallation options Many options are available when you install and uninstall Windows agent software on your host machines. ### Note If you are deploying the Endpoint Security (HX) software in a VDI environment, Trellix recommends deploying in a persistent or semi persistent VDI environment. See [Agent installation considerations](/docs/agent-installation-considerations). Some options are provided by the Windows `msiexec` executable; others are provided by Trellix extensions of `msiexec`. Specify these options when you initiate the installation. A standard installation setup wizard will perform the installation, using the options you specify. Standard `msiexec `options you might find useful are listed in the following table. For complete information about all standard `msiexec `options, see your Microsoft documentation or enter `msiexec /h` at a command prompt. | Option | Description | | --- | --- | | `/i` | Install or configure the software. Specify the name of the installation `*.msi` executable file. | | `/x` | Uninstall the software installed by the named installation `*.msi` executable file. If the Removal Protection Password is enabled, you must enter this password to authorize the Endpoint Security (HX) uninstall process by appending the `/x` command with `UNINSTALL_PASSWORD=<password>`. Only authorized users can uninstall the agent software. See [Configuring the agent removal protection password](/docs/configuring-the-agent-removal-protection-password) for more information. | | `/qn /qb /qr /qf` | Set the user interface level for the install or uninstall process: - `/qn`: no user interface - `/qb`: basic user interface - `/qr`: reduced user interface - `/qf`: full user interface | | `/quiet` | Install the product in quiet mode. | | `/l*v` | Enable agent logging for the install or uninstall process. | | `/norestart` | Do not restart the system after the installation is complete. | This section explains how to use the Trellix extensions to the `msiexec` executable for TrellixEndpoint Security Agent (HX) installations. - [Specifying the agent installation location](/docs/specifying-the-agent-installation-location) - [Setting up a disguised installation](/docs/setting-up-a-disguised-installation-1) - [Specifying an alternate configuration file location](/docs/specifying-an-alternate-configuration-file-location-1) - [Installing the agent in service mode](/docs/installing-the-agent-in-service-mode) :