Uninstall Kaspersky AV and Install SentinelOne via JumpCloud
Overview
This guide explains how to uninstall Kaspersky Antivirus (AV) from both Windows and macOS devices using custom commands in JumpCloud, and then install SentinelOne using JumpCloud’s built-in command templates.
This process ensures a seamless transition from Kaspersky to SentinelOne across all managed endpoints.
Step 1 – Create and Execute Kaspersky Uninstallation Commands
For Windows
Use the following command in JumpCloud to remove the Kaspersky Security Center Network Agent silently:
wmic product where "name like 'Kaspersky Security Center Network Agent%'" call uninstall /nointeractive
This command uninstalls Kaspersky without user interaction. Once executed, you can verify removal by checking installed programs under the Windows Control Panel or via PowerShell.
For macOS
Run the following set of commands to completely remove Kaspersky Endpoint Security and associated components:
sudo find /Applications -type d -name 'Kaspersky Endpoint Security*' -exec rm -rf {} \;
sudo '/Library/Application Support/Kaspersky Lab/klnagent/Binaries/UninstallScript'
sudo "/Library/Application Support/Kaspersky Lab/KAV/Binaries/UninstallScript"
sudo rm -rf "/Library/Application Support/Kaspersky Lab"
These commands locate and remove Kaspersky application directories, binaries, and residual configuration files to ensure a clean uninstallation.
Step 2 – Deploy SentinelOne via JumpCloud
JumpCloud provides pre-configured command templates to install SentinelOne for both Windows and macOS.
To proceed:
- Log in to your JumpCloud Admin Portal.
- Go to Devices → Commands.
- Choose Command Templates and search for SentinelOne Installation.
- Select the relevant template (Windows or macOS).
- Assign the command to the respective device groups.
- Click Run Command to deploy the agent.
The installation runs automatically, and devices will appear in the SentinelOne management console once the process is complete.
Step 3 – Reference and Validation
For detailed SentinelOne installation guidance, refer to JumpCloud’s support documentation:
Install the SentinelOne Agent (Windows & Mac)
After deployment:
- Verify SentinelOne is active on all devices via the SentinelOne management dashboard.
- Confirm Kaspersky components are fully removed.
- Ensure all devices report healthy endpoint protection status.
