NinjaOne RMM icon

NinjaOne RMM

Interact with NinjaOne RMM API

Windows Service → Restart

AI-generated

Summary

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.

Links

Discussion