How to Uninstall the Symantec DLP Endpoint Agent
search cancel

How to Uninstall the Symantec DLP Endpoint Agent

book

Article ID: 170287

calendar_today

Updated On:

Products

Data Loss Prevention Endpoint Discover Data Loss Prevention Endpoint Prevent Data Loss Prevention

Issue/Introduction

Methods to uninstall and remove the Symantec Data Loss Prevention (DLP) Endpoint Agent.

Cause

For security purposes, the DLP Agent is intentionally designed to be difficult to remove.

Resolution

Note: Administrative privileges will be required to perform these uninstall steps.

Windows Agent Uninstall

Method 1: Use Uninstall_agent batch file

We provide an uninstall_agent.bat / uninstall_agent64.bat with the agent install files.  

Follow these steps to use this batch file:

  1. Obtain the batch file from the agent install files that were used when installing the agent. See About the Symantec DLP Agent Install Files.
  2. If the agent was installed with an uninstall password, add that information to the batch file.
  3. Copy the batch file to the client computer.
  4. Run the batch file with administrator privileges.

Method 2: Msiexec command line uninstall

This method requires the uninstall password, unless there is not one configured or it has been disabled (see below). There are two options for uninstalling  via msiexec. The first one is to uninstall using the GUID. The second one is to provide the original .msi file.

GUID Uninstall

  1. Log in as an administrator user.
  2. Start a command prompt (Administrator command prompt if Windows Vista or higher).
  3. Run the command (substitute the appropriate value from the table below for {PRODUCT_ID.EN_US} in the uninstall command line (include the curly braces)):

    msiexec /x {PRODUCT_ID.EN_US}

Example 15.8 MP2 silent uninstall command line:

msiexec /x {3A3DF992-BD0A-447D-8A9C-515BE9C2F050} /q UNINSTALLPASSWORD=""

The following command line can be ran in PowerShell to find the GUID for the installed version of the agent

get-wmiobject -Query "select * from win32_Product where name like 'AgentInstall%'" | Format-Table IdentifyingNumber

Note: Although the reasoning behind this has not been determined,  MSI's can, at times, store registry information using the reverse of the original product code in the registry.  This causes our searches for the original product ID to fail. ( Example: 80F62F21-XXXX-XXXX-XXXX-XXXXXXXXXXXX for 15.5 )

Version Product ID

16.0 RU1

{2D6473D3-BDB1-4339-8324-F899F78DAD25}

16.0 MP2

{710A2256-BF0C-4438-B5CA-66F8ADA4C7DF}

16.0 MP1

{FBC0F48A-A6B6-4A8C-BB7F-7C6CC896E6FD}

16.0

{83C2C6CC-D262-45A4-B7A5-B6E33F0EC237}

15.8 MP3

{E1FC1869-42BF-4F0B-A835-0D131E31D62B}

15.8 MP2

{3A3DF992-BD0A-447D-8A9C-515BE9C2F050}

15.8 MP1

{EA5616A9-C77C-4454-882E-2C04BA971E2E}

15.8 

{05549D95-A5AF-4679-8125-6152D960684B}

15.7 MP3

{B1E9FBC1-2E13-4FBB-89F2-BFB95F0E0FE0}

15.7 MP2

{D668E870-0F50-477C-81ED-991D9768055B}

15.7 MP1

{C4796A05-5C7C-470A-B4A9-D92F7994288E}

15.7

{A0E68A60-E65E-4E14-A75B-998FF6B1ACCD}

15.5 MP2

{B943D541-EE21-4D78-987E-AC13C9FE5614}

15.5 MP1 {11012518-A235-4178-8041-ACA48E052C60}
15.5 {12F26F08-FE80-44EF-91BB-06CD0F5E1B16}
15.1 MP2 {3CD80E90-4C66-4DC9-BF1F-AE37C62FA064}
15.1 MP1 {099385D0-F0AD-45C9-A0A1-F18CD845F21C}
15.1 {554BE59C-56FA-485D-B8C9-7EAC54CB43DD}
15.0 MP1 {EA83ED79-E1E7-4C7E-8B92-8DD2B2634FC9}
15 {679AB287-7757-4321-A90A-55B6AE200476}

You can identify which version of the Endpoint Agent is installed by looking at the file version properties of the edpa.exe, or by navigating to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

Search for the value called "DisplayName" that contains the string "AgentInstall". The uninstall command (including the Product ID) will be under that key's UninstallString.

MSI File Uninstall

The .msi file uninstall is useful if the local copy of the install has been removed from the system and when using the GUID method causes a "This installation package could not be opened" error message.

To uninstall with the .msi copy down the AgentInstallX_X_X.msi file (Example: AgentInstall64_15_0.msi) that was used to install the agent on the machine. Note that it must be the same version .msi as the installed agent version. Then run the following command:

msiexec /x AgentInstall64_15_0.msi -l*v uninstall.log

The above methods will prompt for an uninstall password if one is configured. If you are unsure what the uninstall password is then you can either disable the uninstall password or setup a new uninstall password. These options are only available in DLP 15 and above.

To apply a new uninstall password from the console go to System > Agents > Agent Password.

Once on this page click configure then check the "Apply New Uninstall Password" box. After that, type in the new uninstall password then re-enter the new password in the next field. Now click save. The updated uninstall password will go down to all agents with a good status. If the agent is disconnect and unable to connect it will keep the old uninstall password.

To disable the password go to System > Agents > Overview and select the agents that you want to disable the uninstall password on. Next click the Troubleshoot button and select "Disable Uninstall Password".

 

Method 3: Contact Support

Contact support for further assistance.

Mac Agent Uninstall

Using the Uninstall Agent Tool

You can uninstall the Mac DLP Agent by running the uninstaller tool from the default agent installation location: /Library/Manufacturer/Endpoint Agent.

Remove the archive attribute from uninstall_agent.

sudo xattr -r -d com.apple.quarantine uninstall_agent

Follow these steps to use the uninstall agent tool:

  1. Copy the uninstall_agent tool from the agent install files to the local machine (Note: For best results copy to a temporary folder. Copying to the DLP Agent folder may result in difficulties executing the tool.)
  2. Open the Terminal app
  3. Run the following commands:

    $chmod +x uninstall_agent
    $sudo ./uninstall_agent -verboseR -dumplog

Or you can review uninstall logs on the Terminal application by running this command:

$sudo ./uninstall_agent -prompt=no -log=console

By default, logs are saved to the uninstall_agent.log file in /var/log

Alternative solution: Disable the Mac DLP Agent

As an alternative solution, the agent can also be deactivated. This will stop the services and the agent machine can be used as though the agent was not installed and no policies will be enforced.

To disable the agent

  1. Go to System > Agent > Overview.
  2. Click the box next to the target agent
  3. Click the shutdown option.

This option can temporarily stop the agent until the machine is restarted, or permanently shut down the agent by stopping the service and setting it to manual.

Additional Information

See also: DLP Agent installation general overview

GUID uninstall for older versions

Substitute the appropriate value from the following table for {PRODUCT_ID.EN_US} in the uninstall command line (include the curly braces).

Version Product ID
14.6 MP3 {40523681-A23A-4B45-B7EB-2BCBCEB0FD9F}
14.6 MP2 {BF9489ED-B077-4EA3-9A72-3AE1DC96E6CD}             
14.6 MP1 {D675A448-C21A-47C9-9F9D-1FF04A02570A}             
14.6 {09338028-1DB6-4C5E-A5FC-D4F0142BF212}
14.5 MP1 {FA2F2911-4C34-46B3-A020-98DE32CA705E}
14.5 {3B85F620-7485-4F58-8984-1E2C386C4BAC}
14.0.2 {C4D24B06-0D75-4853-B716-A8AD33C7B919}
14.0.1 {8CFAB030-FA5E-43B5-AC38-4992D050866E}
14.0.0 {D38C2A80-D5BB-5654-DA40-748217D55C12}
12.5.3 {96CF9953-B3BF-44AF-A173-4615878CD7BE}
12.5.2 {D37485C2-CC03-4EEB-9BFA-E1409AE00A6C}
12.5.1 {9967A8CA-E48C-4AE9-99C8-6A48AF57669A}
12.5 {B29DE059-FEC4-4304-96BB-50308729BEDE}
12.0.1 {1C4B1778-B5E7-4A2F-98D2-F8FBDE968B6C}
12 {D39272A1-C04C-4295-8558-79E1991BA4FC}
11.6.3 {70365353-32F7-4367-8E71-ABDC966D0488}
11.6.2 {E818C222-AC57-46B4-9689-83DFB591D8F4}
11.6.1 {9E983F62-FFE9-4A92-AA24-2CA97B353A73}
11.6 {8790B246-A2CF-43b1-BDB0-2B4383BB9785}
11.5.x (11.5.0, 11.5.1) {2AF3B399-42A5-42bd-A5E0-72B657110363}
11.1.x (11.1.0, 11.1.1, 11.1.2) {2AF3B399-42A5-42bd-A5E0-72B657110363}
11 {BC705572-C8CD-49e4-9693-BDC8E4D35570}
10.5.x (10.5.0, 10.5.1, 10.5.2, 10.5.3) {ADBACBC0-05F4-4610-BBB7-007A543D5B47}
10 {BB81F635-3CDB-405A-9AF3-0428D42EA605}
9.0.3 {D26F44C8-44BB-47FA-81E8-8F5EDA53E3AA}
9.0.2 {1BE4CCA3-9B6C-4943-B03E-19CBFA51A88F}
9.0 (9.0.1) {0C9B68A6-63B4-473F-B281-24774FBBFF73}
8.1 {69E7464F-6E7E-4607-9C9E-085DA243D807}