-
Notifications
You must be signed in to change notification settings - Fork 5
sentinelone_start_services.ps1
Corey Watson edited this page Dec 1, 2025
·
1 revision
Checks the status of all SentinelOne services on Windows systems and ensures they are running.
Checks the status of all SentinelOne services on Windows systems and ensures they are running. Enables disabled services and starts stopped services. Useful for troubleshooting SentinelOne agent issues where services may have been stopped or disabled.
This script validates the operational status of all SentinelOne Windows services and takes corrective action when services are stopped or disabled. It automatically enables and starts any services that are not running, making it ideal for troubleshooting agent connectivity issues.
- Windows PowerShell 5.1 or PowerShell 7+
- Administrator privileges (required for service management)
- SentinelOne agent must be installed
- No modules required
No inputs required. The script automatically checks these SentinelOne services:
- LogProcessorService
- SentinelAgent
- SentinelHelperService
- SentinelStaticEngine
- Service startup type: Set to Automatic if currently Disabled
- Service action: Start service if currently Stopped
- No action taken if service is already Running
- Validates Administrator privileges
- Checks status of each SentinelOne service
- Displays current status and start type for each service
- Enables service (sets to Automatic) if disabled
- Starts service if stopped
- Reports final status for all services
- No secrets logged or displayed
- Requires elevation (will fail if not admin)
- Service changes are permanent until manually reversed
- 0: Success - Services checked and started as needed
- 1: Failure - Error occurred or insufficient privileges
[ SETUP ]
--------------------------------------------------------------
Script started : 2025-11-02 10:45:30
Administrator : Yes
[ SERVICE STATUS CHECK ]
--------------------------------------------------------------
Service : LogProcessorService
Display : SentinelOne Log Processor Service
Status : Stopped
Startup : Automatic
Action : Starting service...
Result : Service started successfully
Service : SentinelAgent
Display : SentinelOne Endpoint Protection Agent
Status : Running
Startup : Automatic
Action : No action required
Service : SentinelHelperService
Display : SentinelOne Helper Service
Status : Stopped
Startup : Disabled
Action : Enabling service and starting...
Result : Service enabled and started
Service : SentinelStaticEngine
Display : SentinelOne Static Engine
Status : Running
Startup : Automatic
Action : No action required
[ FINAL STATUS ]
--------------------------------------------------------------
Total services checked : 4
Services started : 2
Services already running : 2
All services running : Yes
[ SCRIPT COMPLETED ]
--------------------------------------------------------------
Script completed successfully
Exit code : 0
- 2025-11-02 v1.0.0 - Initial migration from SuperOps
- View Script Source
- Scripts - Back to script index