Getting Data In

Windows Universal Forwarder Log On As A Service error

rmero
New Member

Hi all, I am setting up the Universal Forwarder for Windows 2008 and deploying it using a batch file. I am getting hung up during the install as the service account I am trying to use does not have the logon as a service configured (it's a domain admin account btw). I have found that if I go into the machines Local Security Policy -> User Rights Assignment -> Log on as a service setting and add the account there and then run the script it installs perfectly. Is this normal or can I run a script to add this service account to the Log on as a service setting before my script runs the setup?

Thanks!

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

This is very difficult. The preferred way to set Windows User Rights in a domain is to set it using a Group Policy. It is probably possible to script this, but it will be rather complex.

0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...