Manual uninstallation steps for Symantec Protection for SharePoint Servers (SPSS) 6.0.6 from Microsoft SharePoint Server 2013

book

Article ID: 178634

calendar_today

Updated On:

Products

Protection for SharePoint Servers

Issue/Introduction

 

Resolution

  1. Open the command prompt using the administrator privileges and execute the command 'iisreset /stop' as shown in the Screenshot # 1 to stop the IIS.
 
          
                                                                            Screenshot # 1
  1. Stop the "Symantec Protection 6.0 for SharePoint Servers" service from services.msc. See the reference section 'Steps to stop Service'  to know the steps to stop the SPSS service.
 
  1. Remove the configuration tables from database and SPSS 6.0 settings from SPSS database using the following steps:
          i. Open the command prompt using the administrator privileges
          ii. Execute the following command to change the directory of the command prompt[See the Screenshot #2] 

                                         'cd <Install Dir>\Installer'

                                           
           
                                                                      Screenshot # 2

           iii. Start the Debugview (Dbgview.exe) using the administrator privileges and select the Capture Global Win32 option of capture menu. See reference section 'How to enable logging on Debugview' for details.
           iv. Check whether the ConfigureSystem.exe exists at the location specified in the step 3 ii. If the exe file does not exist, copy the file provided along with this document to the same location (step 3 ii) according to the SPSS version.
            v. Execute the command as mentioned in the Screenshot # 3, notice the entry highlighed in the Dbgview.exe window. [From the <Install Dir>, use the path only till "\Symantec"]

                ConfigureSystem.exe Unmark "<Install Dir>\\"  

                Verfify that one of the following actions was performed on the SPSSObjects and SPSSProperties tables in the SPSSDB database.

                a. In case of a single server farm or a SharePoint standalone server, both the tables should be deleted.
                b. In case this uninstallation process is run on a WFE server, the SPSSEnabledServer entry for this server should get removed from the SPSSObjects table. See reference section 'Verify SPSSObjects and SPSSProperties tables in the SPSSDB database' for the location of SPSSObjects table and check 'SPSSEnabledServer​' entry in the table.
                c. In case the uninstallation is performed on the last server in the farm, both tables should get deleted.

   
 
         
                                                                                                         Screenshot # 3
 
      
  1. Uninstall the SPSS feature using the below steps. This step is applicable for CA server(Application Server) ONLY:
        i.Take the backup of uninstall.bat from '<Install Dir>\Installer\' location. If the .bat file does not exist at the specified location copy that file provided along with this document to the specified location. Modify uninstall.bat as shown in the Screenshot # 4
 
 
         
                                                                         Screenshot # 4
 
  • DEPLOYURL  is the URL of SharePoint central admin site
          e.g. http://<machine name>:< port>"
 
  • For SharePoint 2010  SHAREPOINTBINPATH  = "C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN"
          For SharePoint 2007 SHAREPOINTBINPATH = "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"
 
  • FEATUREID = "e68048cd-73bf-4b07-9e13-6373acdf0d07"
 
    ii. Execute the uninstall.bat from the command prompt as per the Screenshot # 5.
 
        
                                                                   Screenshot # 5
 
  1. Delete the 'SymantecProtectionForSharepointServer' folder from the below location:
 
            - %programfiles%\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\FEATURES
            
     6.  Stop the SharePoint Administration service. 
 
  1. This step is applicable for CA (Application Server) ONLY.
          Take the backup of the SharePoint's [Central Administrator Site] Web.config file. See reference section 'Web.config location' to identify the location of SharePoint's web.config. Modify the web.config as mentioned below.
 
          Remove the following tags from the SharePoint web.config file
                     
                      •    <SafeControl Assembly="Symantec.SPSS.AdminConsole, Version=6.0.6., Culture=neutral, PublicKeyToken=37224a1b3cce3996" Namespace="Symantec.SPSS.AdminConsole" TypeName="*" Safe="True" />
                      •    <SafeControl Assembly="RJS.Web.WebControl.PopCalendar.Ajax.Net, Version=1.0.2616.22725, Culture=neutral, PublicKeyToken=5bac9568331177db" Namespace="RJS.Web.WebControl" TypeName="*" Safe="True" />​
 
  1. Remove the SPSS entries from registry:
          i.Take the backup of the registry. See reference section 'Steps to take back up of registry' for steps to take the backup of the registry.
         ii.Copy the RemoveAllReg.exe provided along with this document to "<Install Dir>\Installer\" folder.
        iii.Execute the RemoveAllReg.exe as show in the below Screenshot # 6. Following command will create list of registry entries to be removed on "C:\list.txt".
 
 
       
                                                                       Screenshot # 6
 
iv. Open the list.txt file. The output will be similar to the ones shown below.

     FullPath is SOFTWARE\Classes\Installer\Features\8F64C9BC1B7B89C4FACBF10C33A889BD

     sub key tree is 8F64C9BC1B7B89C4FACBF10C33A889BD


     Search the highlighted GUID generated in the file in the registry and delete the entries. Please note that those registry entries are under HKEY_LOCAL_MACHINE.  After deletion verify that entry of "Symantec Protection 6.0 for SharePoint Servers" has been removed from Add/Remove program files of the window's control panel.

  
  1. Delete the 'Symantec' folder as mentioned in the below steps:
           i. Go to the path %programfiles%\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\ADMIN
  
          ii. Delete the Symantec folder from the location shown in the Screenshot # 7
 
          
                                                                                              Screenshot # 7
  1. Remove the SPSS links from SharePoint central admin page using the following steps:
  1. Applicable to for CA (Application Server) ONLY.
         i. Open the command prompt using the administrator privileges.
        ii. Check whether SPSS_Link_Creator.exe is available at the location mentioned in step 3 ii, if it does not exists copy the same provided along with this document to this location.
       iii. Execute the command 'SPSS_Link_Creator.exe RemoveLink <Arg1> <Arg2> ' as shown in the Screenshot # 8.
 
             
                                                                              Screenshot # 8
 
    Arguments:
 
  •           <Arg1>:- "%programfiles%\Common Files\Microsoft Shared\Web Server Extensions\15" is the MOSS 2013 SharePoint BIN path
  •            <Arg2>:- "v2013" is the SharePoint version.
  
    Notice the entry "application link is removed successfully" in the Dbgview.exe window.
 
 
  1. Remove the SPSS service using the below steps:
 
          i. Execute the 'sc delete SymantecSharePointScan' command as shown in the Screenshot # 9.
 
            
                                                                      Screenshot # 9

         ii. Check whether the "Symantec Protection 6.0 for SharePoint Servers" service is uninstalled from services.msc.
 
  1. Unregister the Real time scan component using the below steps:
 
         i. Copy the regasm.exe and regasm.exe.config file provided along with this document according to the SPSS version at the '<Install Dir>\Installer\' folder
        ii. Execute the command  'regasm /codebase "<Install Dir>\SymantecScanLibrary.dll" /u'.
 
  1. Removal of assemblies from Global Assembly Cache using  the following steps:
           Copy the 'gacutil.exe' provided along with this document to the <Install Dir>\Installer\ folder.
 
           Execute the command gacutil /u "<assembly name>".
 
           Replace the below assembly name one by one in the <assembly name> section of the command and execute it for all assemblies mentioned below:
 
          Symantec.Sharepoint.DataAccess.BO
          Symantec.Sharepoint.Entities
          Symantec.Sharepoint.LoggerClient
          Symantec.Sharepoint.ReportingService
          Symantec.Sharepoint.RTCommandClient
          Symantec.Sharepoint.ScanService
          Symantec.SharePoint.Service.DataAccess
          Symantec.Sharepoint.Service.Logger
          Symantec.Sharepoint.Service.RTCommand
          Symantec.Sharepoint.Shared.InterfaceLibrary
          Symantec.Sharepoint.SPSSCore
          Symantec.Sharepoint.SPSSCore.SPSVersion2013
          Symantec.Sharepoint.Utility
          Symantec.SPSS.Adminconsole.Data
          Symantec.SPSS.Adminconsole.Entities
          Symantec.SPSS.AdminConsole
          Symantec.SPSS.Adminconsole.SharePoint
          Symantec.SPSS.Adminconsole.Utilities
 
 
  1. Delete the "SharePoint" folder located at the "%programfiles%\Symantec" directory
 
  1. Delete the "SharePointEngine" folder from the "%programfiles%\Common Files\Symantec Shared" folder
 
  1. Remove the help files:
          delete the "Help_profile_2013" folder from the "%programfiles%\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS" folder
        
  1.  Remove the Resources files:
 
           delete the "SPSSAdminConsoleMain.en-US.resx" and SPSSAdminConsoleMain.resx files from the "%programfiles%\Common Files\Microsoft Shared\Web Server Extensions\15\Resources" folder.
  
  1. Remove the "Symantec.master" file:
 
         delete the "Symantec.master" file from the "%programfiles%\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\ADMIN" folder
         
  1. Start the SharePoint Administration service:
          
  1. Execute the 'iisreset /start' command to start the IIS
 
 
 
 

 

References:

Steps to stop Service

 
Step 1) Go to Start -> Run and type services.msc as shown in the below screenshot
 

 
Step 2) Right click service window for Symantec Protection 6.0 for SharePoint Servers and select Stop option as shown in the below screenshot.


 


Steps to enable logging on DebugView


DebugView is a monitoring program that allows you to monitor debug output on your local computer. You can download DebugView from this Microsoft Web site. Symantec does not support or warranty this program. Symantec makes no guarantee or promise of suitability or compatibility of DebugView with your computer. 

 
  1. Download and install DebugView.
  2. Open DebugView.
  3. Click Options. Check Clock Time and Show Milliseconds.
  4. Click File. Click Log to File.
  5. In the Log File text box, type c:\dbgview.log
  6. Click Limit Log Size.
  7. In the Max Log Size (MB) text box, type the desired maximum size for your log file.
  8. Click OK.
  9. If the operating system is a 64 bit operating system click Capture. Check Capture Global Win32​


Steps to check the SPSS installation location

Step 1) Go to Start -> Run and type services.msc as shown in the below screenshot
 

 
 
Step 2) Right click the properties in the service window for Symantec Protection 6.0 for SharePoint Servers as shown in the below screenshot
 
 

  
 
Step 3) Installation location is the highlighted path in the below screenshot.
 


 

Verify SPSSObjects and SPSSProperties tables in the SPSSDB database




 
 

Web.config location


         Step 1) Go to Start -> Run and type inetmgr.
         Step 2) Right click on the Central Administration site and select "Manage Web Site" -> "Advanced Settings…" option as shown in the below screenshot.
 
          
 
         Step 3) The "Advanced Settings" window opens up, and the "physical path" lists the web.config file location, as shown in the below screenshot

         



         

Steps to take back up of registry

 
     Step 1) Go to Start -> Run and type regedit as described in below screenshot
 
    
 
     Step 2) Click "Export" from "File" menu as shown in below screenshot.
 
     

     Step 3) Export the file with appropriate name and save it on disc. Select "All" under the Export Range before saving it to disc as shown in the below screenshot

     
 

 

Steps to open Global Assembly Cache [GAC]

 
 
      Step 1) Go to Start -> Run and type assembly as shown in the below screenshot
 
      
­­
 
     Step 2) This will open a new window as show in the below screenshot
 
     
 

Attachments

SP 2013.zip get_app
6.0.6 - Manual UnInstall_SP 2013.docx get_app
SP 2013.zip get_app
6.0.6 - Manual UnInstall_SP 2013.docx get_app