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!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...