Page History
Contents
- Running the Uninstall Wizard
- Uninstalling the CardioLog Tracking Agent
- Removing the CardioLog Analytics HTTPModule for SharePoint
Table of Contents |
---|
Anchor | ||||
---|---|---|---|---|
|
- In Windows go to All Programs (All Apps) and find CardioLog right click the application icon and click Uninstall.
- Follow the Uninstall Wizard instructions.
Note: In order to ensure the continuity of usage data collection in repair/upgrade scenarios, the CardioLog installer does NOT remove the following components during uninstall. If you want to fully uninstall the product, please remove them manually.
- CardioLog database
- HKEY_LOCAL_MACHINE\SOFTWARE\Intlock\CardioLog registry key (32-bit) or HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Intlock\CardioLog registry key (64-bit)
- IIS CardioLog application pool and CardioLog web site website (EventCollector and CardioLogAgent web applications)
- Usage tracking code on the SharePoint servers
- Service and Web configuration files located in the CardioLog Installation folder (default directory - C:\Program Files\Intlock\CardioLog).
- CardioLog Tracking Agent code on the SharePoint servers
- CardioLog service account and permissions.
Anchor | ||||
---|---|---|---|---|
|
SharePoint On-Premise
The Tracking Agent JavaScript code is added to all SharePoint pages in one of the following ways:
- Deployed automatically through a SharePoint solution.
- Automatically added to init.js in SharePoint 2010 and SharePoint 2013, core.js in SharePoint 2007 or ows.js in SharePoint 2003.
- Manually added to a common Java Script file on your SharePoint WFEs.Added manually to common SharePoint Java Script files or master pages.
Anchor | ||||
---|---|---|---|---|
|
...
The CardioLog Analytics Feature deployment process installs the following components on the SharePoint farm:
- Feature solution files are copied to [sharepoint app server]\program files\common files\intlock\
- The CardioLogAgent directory is copied to [sharepoint app server]\program files\common files\intlock\
...
- The CardioLogAgent folder is copied to the [LAYOUTS] folder on all SharePoint WFEs
- The tracking code is located
...
- in [LAYOUTS]\CardioLogAgent\CardioLogAgent.js
- The tracking code is dynamically added to every SharePoint webpage
- Feature solution file (cardiologtrackingagentfeature.wsp)
...
...
- is copied to [sharepoint app server]\program files\common files\Microsoft Shared\Web Server Extensions\1X\BIN (1X - 12 for MOSS 2007, 14 for SharePoint 2010, 15 for SharePoint 2013, 16 for SharePoint 2016 and SharePoint 2019)
[LAYOUTS] - the default path is [sharepoint WFE server]\program files\common files\microsoft shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ (14 for all SharePoint versions)
In order to fully uninstall the CardioLog Tracking Agent, please do the following:
- Open IIS Manager and remove the CardioLogAgent web application located under the _layouts folder
- Open the LAYOUTS folder and remove the CardioLogAgent folder
- Repeat steps 1 - 2 for each SharePoint web application and each Web Front End server
Remove the 'CardioLog Analytics' feature using SharePoint Central Administration or the command line:
Anchor | ||||
---|---|---|---|---|
|
1) Deactivate the CardioLog Analytics feature to stop data collection.
To deactivate the CardioLog Analytics feature in SharePoint 2013/SharePoint 2016/SharePoint 2019, go to Central Administration > System Settings > Manage farm features
SharePoint 2013 - Manage farm features
To deactivate the CardioLog Analytics feature in SharePoint 2010, go to Central Administration > System Settings > Manage farm features
SharePoint 2010 - Manage farm features
To deactivate the CardioLog Analytics feature in MOSS 2007, go to Central Administration > Operations > Manage farm features
MOSS 2007 - Manage farm features
2
...
) Retract the solution and remove it.
For SharePoint 2013
...
/SharePoint 2016 only - Go to Central Administration > System Settings > Manage farm solutions > Click cardiologtrackingagentfeature.wsp > Click Retract Solution.
For SharePoint 2010 only - Go to Central Administration > System Settings > Manage farm solutions > Click cardiologtrackingagentfeature.wsp > Click Retract Solution.
For MOSS 2007 only - Go to Central Administration > Operations > Solution Management > Click cardiologtrackingagentfeature.wsp > Click Retract Solution.
Once the solution status shows "Not Deployed",
...
click Remove Solution in order to completely remove the solution.
- Open IIS Manager and remove the CardioLogAgent web application located under the _layouts folder
- Open the LAYOUTS folder and remove the CardioLogAgent folder
- Repeat these steps for each SharePoint website and each Web Front End server
...
Anchor | ||||
---|---|---|---|---|
|
Execute the following commands from command prompt on the SharePoint application server in order to deactivate the feature, retract and remove the solution from your SharePoint farm (edit the directory path: 1X - 12 for MOSS 2007, 14 for SharePoint 2010, 15 for SharePoint 2013, 16 for SharePoint 2016 and SharePoint 2019):
Info | ||
---|---|---|
| ||
cd C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1X\BIN stsadm -o deactivatefeature -force -name "CardioLogAnalytics" stsadm -o uninstallfeature -force -name "CardioLogAnalytics" stsadm -o retractsolution -immediate -name "CardioLogTrackingAgentFeature.wsp" stsadm -o execadmsvcjobs stsadm -o deletesolution -override -name "CardioLogTrackingAgentFeature.wsp" stsadm -o execadmsvcjobs |
For SharePoint Online, you can choose between pausing and un-installing the tracking code from your SharePoint online site collection/s:
- To pause the tracking code, browse to your SharePoint Online site Solution Gallery (edit the website root URL): [https://intlock.sharepoint.com]/_catalogs/solutions/forms/allitems.aspx and deactivate the CardioLog Analytics Integration solution.
- To uninstall the tracking code, deactivate the CardioLog Analytics Integration solution and then delete the solution.
...
Removing the 'CardioLog Tracking Agent' App from SharePoint Modern Sites
- Go to the Administration section of the navigation pane, click System Configuration, select SharePoint Tree Adaptor and then select your SharePoint 2019 farm.
- Click on Download Sppkg button to download the deployment package. The deployment package also includes the RUN_UNINSTALL.ps1 PowerShell script which removes the modern sites integration app from the App catalog and all selected site collections and their sub-sites, as well as the tracking agent SharePoint solution (wsp) and Java Script tracking code from all selected site collections.
SharePoint Tree Adaptor Settings - Right click the sppkg-deployment-archive.zip file, select Properties > General and click on "Unblock" before unzipping it.
- Execute the RUN_UNINSTALL.ps1 script in PowerShell. Make sure the you have the following prerequisites before executing the PowerShell script:
- You must have PowerShell version 5.1 or higher.
- The credentials of the SharePoint farm administrator.
- Make sure that the account that you are using is not a system account.
Anchor | ||||
---|---|---|---|---|
|
...
The code is located at the end of the file, between the comments: "//Intlock tracking code start" and "//Intlock tracking code end". In order to stop data collection remove or null the tracking code
...
Tracking Code from SharePoint common JavaScript files or master pages
By default, the JavaScript tracking code is embedded within a common JavaScript file on all of your SharePoint WFEs (Web Front Ends), which typically is one of the following locations relevant to your software versions:
For SharePoint 2016 and SharePoint 2019 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\
...
16\TEMPLATE\LAYOUTS\init.js
...
For SharePoint 2013 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\
...
15\TEMPLATE\LAYOUTS\
...
init.js
...
For SharePoint 2010 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\
...
14\TEMPLATE\LAYOUTS\[language code]\
...
init.js
...
For MOSS 2007 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\
...
12\TEMPLATE\LAYOUTS\[language code]\
...
core.js
Delete your browser cache and verify that when you browse through your SharePoint website that you can no longer request the CardioLog tracking agent popup by clicking Ctrl+F12 on the keyboard
...
...
.
SharePoint Online
Removing the Tracking Agent Components Automatically using PowerShell
In order to remove the tracking agent components from all selected site collections automatically, follow the below instructions:
- Go to the Administration section of the navigation pane, click System Configuration, select SharePoint Tree Adaptor and then select your SharePoint Online tenant.
- Click on the Download button to download the automatic deployment package. The deployment package also includes the RUN_UNINSTALL.ps1 PowerShell script which removes the tracking agent SharePoint solution (wsp) and Java Script tracking code from all selected site collections, as well as the modern sites integration app from the App catalog and all selected site collections and their sub-sites.
SharePoint Tree Adaptor Settings Right click the WSP-Tracking-Install-Script.zip file, select Properties > General and click on "Unblock" before unzipping it.
Execute the RUN_UNINSTALL.ps1 script in PowerShell. Make sure the you have the following prerequisites before executing the PowerShell script:
- You must have PowerShell version 5.1 or higher with the MS Online module installed.
- The credentials of the SharePoint Online global administrator.
Removing the Tracking Agent Components Manually
In order to remove the tracking agent components from your site collections manually, follow the below instructions:
- Browse to each SharePoint Online site collection Solution Gallery (edit the website root URL): [https://intlock.sharepoint.com]/_catalogs/solutions/forms/allitems.aspx, deactivate the CardioLog Analytics Integration solution and then delete the solution.
SharePoint Online Solution Gallery - Browse to each SharePoint Online modern site and remove the CardioLog Tracking Agent App by clicking on the gear icon > Site Contents > CardioLog Tracking Agent > Remove.
Anchor | ||||
---|---|---|---|---|
|
SharePoint On-Premise
SharePoint 2007, 2010, 2013, 2016
Uninstall the 'CardioLog Usage Reports' feature using SharePoint Central Administration or the command line:
Anchor | ||||
---|---|---|---|---|
|
Perform the following steps based on the feature scope:
Feature Scope - Farm
- Go to SharePoint Central Administration > System Settings > Manage farm features > Deactivate the "CardioLog Usage Reports" feature.
- Go to SharePoint Central Administration > System Settings > Manage farm solutions > Click CardioLogUsageReportsSolution.wsp > Click Retract Solution.
- Once the solution status shows "Not Deployed", click Remove Solution in order to completely remove the solution.
Feature Scope - Site Collection
If you have selected a solution which is not automatically activated across the entire farm, deactivate the "CardioLog Usage Reports" feature on each site collection:
- Browse to each SharePoint site collection, go to Site Actions > Site Settings > Site Collection Administration > Site collection features > Deactivate the "CardioLog Usage Reports" feature.
- Go to SharePoint Central Administration > System Settings > Manage farm solutions > Click CardioLogUsageReportsSolution.wsp > Click Retract Solution.
- Once the solution status shows "Not Deployed", click Remove Solution in order to completely remove the solution.
Anchor | ||||
---|---|---|---|---|
|
Execute the following commands based on the feature scope from the command prompt on the SharePoint application server in order to deactivate the feature, retract and remove the solution from your SharePoint farm (edit the directory path: 1X - 12 for MOSS 2007, 14 for SharePoint 2010, 15 for SharePoint 2013, 16 for SharePoint 2016 and SharePoint 2019):
Feature Scope - Farm
Info | ||
---|---|---|
| ||
cd C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1X\BIN stsadm -o deactivatefeature -force -name "CardioLogUsageReports" stsadm -o uninstallfeature -force -name "CardioLogUsageReports" stsadm -o retractsolution -immediate -name "CardioLogUsageReportsSolution.wsp" stsadm -o execadmsvcjobs stsadm -o deletesolution -override -name "CardioLogUsageReportsSolution.wsp" stsadm -o execadmsvcjobs |
Feature Scope - Site Collection
Execute the deactivate feature command for each site collection (edit the site collection root URL) before uninstalling it:
Info | ||
---|---|---|
| ||
cd C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1X\BIN stsadm -o deactivatefeature -force -name "CardioLogUsageReports" - url "http[s]://sitecollectionrooturl" stsadm -o uninstallfeature -force -name "CardioLogUsageReports" stsadm -o retractsolution -immediate -name "CardioLogUsageReportsSolution.wsp" stsadm -o execadmsvcjobs stsadm -o deletesolution -override -name "CardioLogUsageReportsSolution.wsp" stsadm -o execadmsvcjobs |
SharePoint 2019
- Go to the Administration section of the navigation pane, click System Configuration, select SharePoint Tree Adaptor and then select your SharePoint 2019 farm.
- Click on Download Sppkg button to download the deployment package. The deployment package also includes the DeactivateSiteStatisticsFeature.ps1 PowerShell script which removes the Site Statistics custom action from the SharePoint Settings menu for all selected site collections and their sub-sites.
SharePoint Tree Adaptor Settings - Right click the sppkg-deployment-archive.zip file, select Properties > General and click on "Unblock" before unzipping it.
- Execute the DeactivateSiteStatisticsFeature.ps1 script in PowerShell. Make sure the you have the following prerequisites before executing the PowerShell script:
- You must have PowerShell version 5.1 or higher.
- The credentials of the SharePoint farm administrator.
SharePoint Online
Classic Sites
Uninstall the CardioLog Analytics Usage Reports SharePoint feature from your SharePoint online site collection/s:
Modern Sites
In order to remove the Site Statistics feature from all selected site collections automatically, follow the below instructions:
- Go to the Administration section of the navigation pane, click System Configuration, select SharePoint Tree Adaptor and then select your SharePoint Online tenant.
- Click on the Download button to download the automatic deployment package. The deployment package also includes the DeactivateSiteStatisticsFeature.ps1 PowerShell script which removes the Site Statistics custom action from the SharePoint Settings menu for all selected site collections and their sub-sites.
SharePoint Tree Adaptor Settings Right click the WSP-Tracking-Install-Script.zip file, select Properties > General and click on "Unblock" before unzipping it.
Execute the DeactivateSiteStatisticsFeature.ps1 script in PowerShell. Make sure the you have the following prerequisites before executing the PowerShell script:
- You must have PowerShell version 5.1 or higher with the MS Online module installed.
- The credentials of the SharePoint Online global administrator.
Anchor | ||||
---|---|---|---|---|
|
Uninstall the CardioLog Analytics HTTP Module for tracking SharePoint documents opened from within Office:
- In your SharePoint server, remove the CardioLogHttpModule.dll from the GAC (See
...
...
- for more information).
In your SharePoint server, modify the SharePoint Web.config file and remove the module registration for each web site:
For IIS 6.0 and IIS 7.0 running in Classic Mode:
...
Info icon false <configuration>
<system.web>
<httpModules>
<add name="CardioLogHttpModule" type="CardioLog.HttpModules.EventsModule,CardioLogHttpModule, Version=1.19.154.6, Culture=neutral, PublicKeyToken=56b51e29d93ab3fb" />To register the module for IIS 7.0 running in Integrated Mode:
Info icon false <configuration>
<system.webServer>
<modules>
<add name="CardioLogHttpModule" type="CardioLog.HttpModules.EventsModule,CardioLogHttpModule, Version=1.19.154.6, Culture=neutral, PublicKeyToken=56b51e29d93ab3fb" />Remove the following keys:
Info icon false <configuration>
...
- <appSettings>
<add key="CardioLog.Events.DocExtensions" value=".doc*.docx*.ppt*.pptx*.pps*.ppsx*.txt*.pdf*.xlr*.xls*.xlsx*.log*.msg*.odt*.rtf*.csv*"/><add key="CardioLog.Events.ExcludeUserAgents" value="Microsoft Office Existence Discovery*"/><add key="CardioLog.API.EventsServiceUrl" value="http://<CardioLog server>:<port>/CardioLogAPI/Events.asmx"/><add key="CardioLog.Events.LogFile" value="C:\CardioLogHttpModule.log"/><add key="CardioLog.Events.LogLevel" value="None"/><!--None,Error,Message--><add key="CardioLog.Events.SharePointVersion" value="2013"/><add key="CardioLog.Events.SupportClaimsAuth" value="true"/><!-- Support claims based authentication --><add key="CardioLog.Events.ClaimsAuthRegex" value=""/><add key="CardioLog.Events.ClaimsAuthRegexGroupMatch" value=""/><add key="CardioLog.Events.CacheExpirationTimeoutInMs" value="1000"/> Open the following file for editing: [Installation directory]\CardioLogAgent\
...
web.
...
config
Set HandleFileExtension to true:
...
[Installation directory]
...
-
...
If the CardioLog Analytics SharePoint feature is installed, the CardioLogAgent folder is located on all SharePoint WFEs under the SharePoint website "_layouts" folder.