Video Screencast Help

Symantec DLP agent uninstallation.

Created: 05 Nov 2013 • Updated: 05 Dec 2013 | 5 comments
This issue has been solved. See solution.

Hello Tech Support,,
Some one  has installed DLP agend in all windows 7 laptops with password and he did not share the uninstallation password to me,

Now how can i uninstall the agent from some laptops.Can anyone help me.

Operating Systems:

Comments 5 CommentsJump to latest comment

scs_king's picture

Thanks Brian And Rash_M!!!!!!!!!!!!!!!!!!!!!!!!

hjerold's picture

scs_king,

I have had a similar issue. I was on version 12.0 at that time. What I did was download the latest 12.0.1 agent and upgrade the agent followed by uninstalling.

Before running the new install_agent.bat, you will need to generate the 'password hash' of the uninstall password using 'UninstallPwdKeyGenerator.exe' which can be found in the Endpoint Tools folder using the command "UninstallPwdKeyGenerator.exe -xp=password".

It will generate something similar to: 80FD389347A4F52EEEE761063EAC15EEEEEEE685

Edit your install_agent.bat (the one you just downloaded, 12.0.1) to:

@setlocal enableextensions
@cd /d "%~dp0"
msiexec /i AgentInstall64.msi /qb INSTALLDIR="C:\Program Files\Company\Endpoint Agent\" ENDPOINTSERVER="SymantecDLP" KEY="" UNINSTALLPASSWORDKEY="80FD389347A4F52EEEE761063EAC15EEEEEEE685" SERVICENAME="EDPA" WATCHDOGNAME="WDP" ARPSYSTEMCOMPONENT="0"
 
Change the parameters accordingly to your organization's needs and run the script. You might need to run it as administrator. The installation should proceed.
 
Now to uninstall, edit the uninstall_agent.bat:
 
msiexec /uninstall {1C4B1778-B5E7-4A2F-98D2-F8FBDE968B6C} /q UNINSTALLPASSWORD="PasswordUsedWhenGeneratingTheHashHere"
 
Note that you have to use the plaintext password in the uninstall_agent.bat script.