--- title: "Preventing cloned xAgent s in a VDI environment" slug: "preventing-cloned-xagent-s-in-a-vdi-environment-1" updated: 2026-09-08T19:20:20Z published: 2026-09-08T19:20:20Z canonical: "docs.trellix.com/preventing-cloned-xagent-s-in-a-vdi-environment-1" --- > ## 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. # Preventing cloned xAgent s in a VDI environment [Skip to main content](/docs/preventing-cloned-xagent-s-in-a-vdi-environment-1#content-wrapper) A virtual desktop infrastructure (VDI) is virtualization technology that allows you to host a user desktop inside a virtual machine. If you are deploying Trellix Endpoint Security (HX) xAgent software in a VDI environment, Trellix recommends deploying in a persistent or semi-persistent VDI environment to prevent cloned xAgents. To learn more about Endpoint Security (HX) xAgent deployment in a VDI environment, see the [community article](https://community.fireeye.com/CustomerCommunity/s/article/000001927) on this topic. If you deploy in a non-persistent VDI environment, multiple host entries may be created with the same agent IDs. A massive number of duplicate host entries can impede communication between the Trellix Endpoint Security (HX) server and the host endpoint. There are two ways to remove duplicate hosts: - Using the VDI pruning tool - Manually merging hosts The VDI pruning tool does not preserve the attributes of the duplicate hosts. To preserve the duplicate host attributes, you must merge the hosts manually via the API. ### Important Data may be lost if you use the VDI pruning tool. To preserve all host attribute data on your Endpoint Security (HX) server, perform a manual host merge. See [Merging Hosts Manually](/docs/merging-hosts-manually-1) for more information on how to do this. :