search cancel

Uninstalling Symantec Data Loss Prevention version 15.1 after upgrading to version 15.5 on Windows

book

Article ID: 173164

calendar_today

Updated On:

Products

Data Loss Prevention Enforce Data Loss Prevention

Issue/Introduction

If you are running Symantec Data Loss Prevention version 15.5, and attempt to uninstall version 15.1 (Enforce Server, Detection Server, or Single-tier), an error message displays and the uninstall fails. The error does not occur if you used Silent Mode to install the upgraded version.

Cause

There is a known issue, defect 4213940, as documented in the Release Notes for 15.5 - with the steps to resolve given below.

Environment

15.5

Resolution

Create and run the following script before uninstalling a Symantec Data Loss Prevention version 15.1 server:

  1. Create a .txt file.
  2. Copy the following script and paste it to the .txt file:

    @ECHO OFF

    SET arg1=%1

    IF [%arg1%]==[] (

    ECHO SYMANTEC DLP 15.1 UNINSTALL FIX

    ECHO USAGE: %0 "DLP server type"

    ECHO "DLP server type" is one of enforce, detection or singletier.

    GOTO :exitfail

    )

    IF [%arg2%]==[] (

    SET arg2=SymantecDLP

    )

    IF "%arg1%" == "enforce" (

    reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Data Loss Prevention\Enforce Server\15.1" /f

    GOTO :exitsuccess

    )

    IF "%arg1%" == "detection" (

    reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Data Loss Prevention\Detection Server\15.1" /f

    GOTO :exitsuccess

    )

    IF "%arg1%" == "singletier" (

    reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Data Loss Prevention\Detection Server\15.1" /f

    reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Data Loss Prevention\Enforce Server\15.1" /f

    GOTO :exitsuccess

    )

    :exitfail

    EXIT /B 1

    exitsuccess

    EXIT /B 0

  3. Rename the .txt file to use a .cmd extension.
  4. Run the file from the command line.
  5. Use one of the following parameters depending on the item you want to uninstall:
    • enforce
    • detection
    • singletier
  6. Uninstall the item.

    Refer to the Symantec Data Loss Prevention Upgrade Guide for Windows for steps to complete the uninstall process.