Deploying endpoints from a VM Snapshot as in Citrix Provisioning Services (PVS) will use duplicate AC Agent Endpoint ID, also known as the Universally Unique Identifier (UUID) when registering to the EAC Management Console. When this happens, the AC Server is unable to distinguish agents that are installed on duplicate Windows systems where the UUID remained unchanged.
Obtain a copy of AC Agent MSI Package from the AC Server.
On an existing agent, open the command prompt with elevated privilege then run the following with “uuidgen=yes” command parameter:
-
x64-bit OS
>msiexec.exe /i AcAgentSetup_x64.msi REINSTALL=”ALL” REINSTALLMODE=”vomus” ServerHost=SERVER_IP_or_HOSTNAME:PORT /norestart /qn /l*v C:\temp\AcAgent_x64.log uuidgen=yes
-
x86-bit OS
>msiexec.exe /i AcAgentSetup_x86.msi REINSTALL=”ALL” REINSTALLMODE=”vomus” ServerHost=SERVER_IP_or_HOSTNAME:PORT /norestart /qn /l*v C:\temp\AcAgent_x86.log uuidgen=yes
Click image to enlarge
This option is ideal for endpoints that cannot be restarted or rebooted at the moment but needs an immediate change of Endpoint ID.
On an existing agent or GOLD/Base image, after installing all the needed software and applications, add “GenerateMachineUUID” REG_DWORD with a value of “1” before shutting it down.
Click image to enlarge
Alternately, you can run the following REG command to add “GenerateMachineUUID” without opening registry editor:
> REG ADD "HKLM\Software\TrendMicro\Endpoint Application Control Agent\CDT" /v "GenerateMachineUUID" /t REG_DWORD /d 1
Click image to enlarge
This option is ideal when building or reconfiguring a Gold or Base VM image to serve as a Template for VDI Deployments.