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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...