Skip to main content

SentinelOne Uninstall

Overview

This script uninstalls the SentinelOne agent from a Windows system. It dynamically detects the SentinelOne agent's installation directory and executes the uninstallation process.

Sample Run

Play Button > Run Automation > Script
SampleRun1

Search and select SentinelOne Uninstall Image1

Set the required arguments and click the Run button to run the script.

  • Run As: System
  • Preset Parameter: <Leave it Blank>
  • PassPhrase: <Required PassPhrase>
    Image2

Run Automation: Yes
RunAutomation

Dependencies

Parameters

NameExampleAccepted ValuesRequiredDefaultTypeDescription
PassPhraseROAM GIN ELAN GWEN LOP FORK JUT REND PRY PUN KARL GULFFalseString/TextEnter the PassPhrase to Uninstall the S1 Agent. This is required if Anti-Tamper protection is enabled.

Automation Setup/Import

Automation Configuration

Output

  • Activity Details

Changelog

2026-06-02

  • Written up the better PS1, and also signed it.

2025-06-26

  • Initial version of the document