Tools

Adding "NT Service\SamanageAgent" as a service in the GPO for SolarWinds Service Desk "Discovery Agent" tool

This article provides instructions for adding the "NT Service\SamanageAgent" service into you GPO, which is a required step for deploying the SolarWinds Discovery Agent for Assets Management.

First published date

1/11/2024 10:56 PM

Last published date

1/6/2025 5:11 PM

Overview

The SolarWinds Discovery Agent requires you to add the "NT Service\SamanageAgent" to "Run as a Service" in the Group Policy as outlined in the documentation SolarWinds Discovery Agent installation page.

Product section

Service Desk

Resolution

1) Add the service to the Administrator group:

Run the command: net localgroup "Administrators" "NT SERVICE\SamanageAgent" /add


2) To add "NT SERVICE\SamanageAgent" to run as a service:

  • Open the "Group Policy Management" console on your Domain Controller.
  • Expand the domain tree and locate the Organizational Unit (OU) where the Domain Controller resides.
  • Right-click on the OU and select "Create a GPO in this domain, and Link it here".
  • Provide a name for the new GPO and click "OK".
  • Right-click on the newly created GPO and select "Edit" to open the Group Policy Management Editor.
  • In the Group Policy Management Editor, navigate to "Computer Configuration" > "Policies" > "Windows Settings" > "Security Settings" > "Local Policies" > "User Rights Assignment".
  • In the right-hand pane, double-click on "Log on as a service" to edit the policy.
  • Click the "Add User or Group" button, enter "NT SERVICE\SamanageAgent", and click "OK" to add it to the list of accounts.
  • Close the Group Policy Management Editor.
  • Back in the Group Policy Management console, right-click on the newly created GPO and select "Enforced" to enforce the GPO on the Domain Controller.
  • Wait for the changes to replicate to the Domain Controllers in your environment, or force a Group Policy update using the command "gpupdate /force" on the Domain Controller(s) or affected servers.