Sometimes you will have agents who lost the connection to the EPS Server. So the only way to change the EPS without the need of reinstallation is to use the update configuration utility , assuming that you set up the same encryption key on the new EPS Servers.
I used the sysinternal utility psexec to run that remotely. You can run the following script with administrative rights, where the Hosts.txt file contains the list of the hosts that you want to change. "server1" and "server2" should be replaced with your prim. and sec. EPS servers you want to set to your agent. Note that the update configuration tool needs to be run from the installation directory of the DLP agent..
@echo off
for /F %%i in (Hosts.txt) do (
REM Copy the tool to the remote computer
copy update_configuration.exe "\\%%i\c$\Program Files\Manufacturer\Endpoint Agent"
REM Change the EPS of the agent
PsExec.exe \\%%i "C:\Program Files\Manufacturer\Endpoint Agent\update_configuration.exe" -name=AggregatorCommunicator -setting=AggregatorHost -type=str -value=server1
PsExec.exe \\%%i "C:\Program Files\Manufacturer\Endpoint Agent\update_configuration.exe" -name=AggregatorCommunicator -setting=AggregatorHost2 -type=str -value=server2
REM Delete the tool from the agent
DEL "\\%%i\c$\Program Files\Manufacturer\Endpoint Agent\update_configuration.exe"
REM restart the EDPA service to enable the agent to connect to the new EPS
sc \\%%i stop edpa
)