Actions159
- Related Items Actions
- Backup Actions
- Queries Actions
- Get Disk Drives
- Get Operating Systems
- Get RAID Controller Report
- Get Volumes
- Get Computer Systems
- Get Antivirus Status Report
- Get Device Health Report
- Get Custom Fields Report
- Get Installed Software Patches
- Get Custom Fields Detailed Report
- Get Installed OS Patches
- Get Pending Failed Rejected OS Patches
- Get RAID Drive Report
- Get Windows Services Report
- Get Antivirus Threats
- Get Device Usage
- Get Network Interfaces
- Get Processors
- Get Software
- Get Last Logged On Users Report
- Get Policy Overrides 1
- Get Scoped Custom Fields Report
- Get Pending Failed Rejected Software Patches
- Get Scoped Custom Fields Detailed Report
- System Actions
- Knowledge Base Articles Actions
- Get Knowledge Base Article Signed Urls
- Get Related Item Attachments Signed Urls
- Download Knowledge Base Article
- Get Knowledge Base Folder Path Content
- Upload Temp Attachments
- Get Knowledge Base Folder Content
- Get Client Knowledge Base Articles
- Upload Knowledge Base Articles
- Get Global Knowledge Base Articles
- Download Related Item Attachment
- Organization Documents Actions
- Document Templates Actions
- Checklist Templates Actions
- Organization Checklists Actions
- Location Actions
- Management Actions
- Get Custom Fields Policy Condition
- Delete Policy Condition
- Reset Alert
- Update Device
- Request Scripting Options
- Submit OS Patch Scan
- Get Installer For Location
- Get Windows Event Policy Conditions
- Create Organization
- Cancel Device Maintenance
- Reboot Devices
- Set Windows Service Configuration
- Create Location For Organization
- Update Node Role Policy Assignment For Organization
- Create Windows Event Policy Condition
- Node Approval Operation
- Control Windows Service
- Remove Device Owner
- Submit OS Patch Apply
- Get Installer
- Create Policy
- Get Windows Event Policy Condition
- Update Device Maintenance
- Reset Policy Overrides
- Set Device Owner
- Submit Software Patch Scan
- Update Location
- Reset Alert Set Activity Data
- Get Device Link
- Run Script On Device
- Submit Software Patch Apply
- Update Organization
- Create Custom Fields Policy Condition
- Get Custom Fields Policy Conditions
- Custom Fields Actions
- Ticketing Actions
- Organization Actions
- Devices Actions
- Get Device Active Jobs
- Get Device Installed Software Patches
- Get Device Processors
- Update Node Attribute Values
- Get Device Disk Drives
- Get Device Pending Failed Rejected OS Patches
- Get Device Volumes
- Get Device Alerts
- Get Device Network Interfaces
- Get Device Software
- Get Device Activities
- Get Device Last Logged On User
- Get Device Services
- Get Policy Overrides
- Get Device
- Get Device Installed OS Patches
- Get Device Pending Failed Rejected Software Patches
- Get Node Custom Fields
- Groups Actions
- Webhooks Actions
Overview
This node integrates with the AvantGuard NinjaOne API to manage Windows service configurations on remote devices. Specifically, the "Set Windows Service Configuration" operation allows users to update settings of a Windows service identified by its service ID on a specified device.
Common scenarios include automating service management tasks such as changing how and when a service starts (e.g., automatic start, delayed start, disabled) or updating the user account under which the service runs. This is useful for IT administrators who want to remotely configure services across multiple machines without manual intervention.
Example use cases:
- Automatically setting critical services to start automatically after system boot.
- Disabling unnecessary services to improve security or performance.
- Changing the service logon account to comply with security policies.
Properties
| Name | Meaning |
|---|---|
| Id | Numeric identifier of the target device where the Windows service configuration will be set. |
| Service Id | String identifier of the specific Windows service to configure on the device. |
| Additional Body Fields | Optional additional fields to customize the service configuration: |
| - Start Type | Defines the service start mode. Options: AUTO START, AUTO START DELAYED, BOOT START, DEMAND START, DISABLED, SYSTEM START. |
| - User Name | Username under which the service should run. |
Output
The node outputs JSON data representing the response from the NinjaOne API after attempting to set the Windows service configuration. This typically includes confirmation of the updated service settings or error details if the operation failed.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the AvantGuard NinjaOne API.
- The node expects an API authentication token or key configured via n8n credentials to authorize requests.
- Network access to the NinjaOne base URL must be available.
Troubleshooting
- Invalid Device or Service Id: If the provided device or service identifiers are incorrect or do not exist, the API will return an error. Verify that the IDs correspond to valid entities in your NinjaOne environment.
- Authentication Errors: Missing or invalid API credentials will cause authorization failures. Ensure the API key credential is correctly configured in n8n.
- Invalid Start Type Values: Providing a start type outside the allowed options will result in request rejection. Use one of the predefined start types listed in the properties.
- Network Issues: Connectivity problems to the NinjaOne API endpoint can cause timeouts or failures. Check network settings and firewall rules.
Links and References
- AvantGuard NinjaOne API Documentation (generic link, replace with actual if available)
- Windows Service Start Types - Microsoft Docs explaining service start modes