How To: Uninstall ConnectSecure Scan Agent

https://app.storylane.io/share/5kbjbfrwkglk


Overview

This document will cover how to uninstall the ConnectSecure Vulnerability Scan Agent, otherwise known as the CyberCNS agent.


Method 1 - Uninstall from Web Portal

 

  1. Login to the ConnectSecure portal (portal.myconnectsecure.com)

  2. Select Global or Company

  3. Tap on the Assets > Assets menu, then choose your Probe or Lightweight Agent option

  4. Tap the three-dot action menu and choose Uninstall

image-20240320-175750.png
image-20240320-175852.png

The agent must be online in order to get the uninstall command succesfuly


Method 2 - Uninstall from Add/Remove Programs (Windows OS only)

  1. Access the Add/Remove Programs from Windows Settings > Installed Apps

  2. Locate the program called ‘ConnectSecure Vulnerability Scan Agent’ and tap to uninstall


Method 3 - Uninstall from Command Prompt or CLI

Windows

  1. Open the command prompt as administrator

  2. Navigate to the installed agent directory; by default we install to C:\ProgramFiles(X86)\CyberCNSAgent

  3. Execute the ./cybercnsagent.exe -r command

cd "C:\Program Files (x86)\CyberCNSAgent" cybercnsagent.exe -r

This should completely remove the application and all services.


MAC

  1. Open the terminal as sudo

>>cd /opt/CyberCNSAgent/ >>cybercnsagent_darwin -r

To stop/unload the service in the mac asset

sudo launchctl unload -w /Library/LaunchDaemons/com.CyberCNSAgent.AgentService.plist

To remove the service from the mac asset

sudo rm  /Library/LaunchDaemons/com.CyberCNSAgent.AgentService.plist


Looking for V2 Agent Information; check the page below

https://cybercns.atlassian.net/wiki/x/aIA9YQ


Linux

Uninstallation Steps for Linux (Probe & LightWeightAgent)

  1. Browse to the CyberCNSAgent installation directory

       >>cd /opt/CyberCNSAgent/
  1. Run the uninstall command


Delete cybercnsagent service(s)

Run the commands below if the service(s) are not removed during the method(s) listed above.

sc delete [service name]
sc delete cybercnsagent
sc delete cybercnsagentmonitor


Need Support?

Do you need help? You can access our support portal anytime to create, view, and update tickets.

https://cybercns.freshdesk.com

Click below to be directed to our secure support portal or email support@cybercns.com to open a ticket.