Actions64
- Alert Actions
- Backup Actions
- Device Actions
- Approve/Reject
- Cancel Maintenance
- Delete
- Get
- Get Activities
- Get Alerts
- Get Custom Fields
- Get Dashboard URL
- Get Disks
- Get Jobs
- Get Last Logged On User
- Get Many
- Get OS Patch Installs
- Get OS Patches
- Get Policy Overrides
- Get Processors
- Get Software
- Get Software Patch Installs
- Get Software Patches
- Get Scripting Options
- Get Volumes
- Reboot
- Reset Policy Overrides
- Run Script
- Schedule Maintenance
- Update
- Update Custom Fields
- Group Actions
- Location Actions
- Organization Actions
- Query Actions
- Ticket Actions
- Webhook Actions
- Windows Service Actions
Windows Service → Restart
AI-generatedSummary
Restart a Windows service on a specified device within NinjaOne RMM.
Inputs
- Device (required) — Select the device to manage services on, either from a searchable list or by specifying its ID. Supports expressions.
- Service (required) — Select the Windows service to restart, either from a searchable list filtered by the selected device or by specifying the service name. Supports expressions.
Output shape
a single JSON object indicating the success of the restart action along with the device ID, service ID, and the action performed ('RESTART').
The operation performs a POST request to the NinjaOne API to control the service and returns an object with success status. No additional data about the service state is returned.
Examples
Example 1: Restart the 'Spooler' service on device with ID 123
Set Device to '123' (by ID mode), set Service to 'Spooler' (by name mode), and choose operation Restart.