Uninstall SharePoint Server Connector
To ensure a clean uninstall of the SharePoint Connector, perform the following steps depending on the version of SharePoint Server.
SharePoint 2016 and above
Open SharePoint Management Shell.
Import the Gimmal SharePoint Connector PowerShell Module (see PowerShell Section).
Execute Remove-RecordsManagerServices to delete and unregister any Gimmal SharePoint Connector Service Applications.
Open Central Administration.
Navigate to Central Administration > System Settings > Manage Farm Features.
Deactivate the Gimmal SharePoint Connector feature.
Navigate to Central Administration > System Settings > Manage Farm Solutions.
Click gimmal.records.sharepoint.connector.wsp and gimmal.records.sharepoint.core.wsp.
Select Retract Solution and click OK.
Click recordsmanager.sharepoint.wsp.
Select Remove Solution and click OK.
Open Services MMC.
Right-click SharePoint Timer Service and choose Restart.
Right-click App Fabric Caching Service and choose Restart.
Open a command prompt.
Execute command IIS Reset.
Open directory %windir%\assembly and search for any assemblies beginning with “RecordLion.RecordsManager*”.
Delete any assemblies found.
Open directory %windir%\Microsoft.NET\assembly.
Delete any assemblies beginning with RecordLion.RecordsManager…”.
After reboot of the servers, re-verify that all DLLs were properly deleted. If they were not, repeat the steps (copies of the DLLs can sometimes be cached in a TEMP folder and are not able to be deleted because they are locked by a process).