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!

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 ...

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...