Installation

Install splunk forwarder via command prompt to run under virtual account

macear
Engager

When installing Splunk Universal Forwarder on Windows via GUI we can specify to run splunk under virtual account.

splunk_uf_win_12.jpg

 

 

 

 

 

 

 

 

 

How can I specify the same when installing via command prompt?
I tried the following command in my batch script, but eventually splunk forwarder was installed under SYSTEM..

msiexec.exe /i splunkforwarder-8.0.6-152fb4b2bb96-x64-release.msi AGREETOLICENSE=yes SET_ADMIN_USER=0 SPLUNKUSERNAME=%user% SPLUNKPASSWORD=%password% LOGONUSERNAME="NT SERVICE\SplunkForwarder" /L*v %installation_log% /quiet

Is there this possibility?

Labels (2)
0 Karma
1 Solution

jho-splunk
Splunk Employee
Splunk Employee

Hi @macear ,

Don't specify LOGON_USERNAME and add USE_VIRTUAL_ACCOUNT=1.

Cheers,

 

 - Jo.

 

View solution in original post

jho-splunk
Splunk Employee
Splunk Employee

Hi @macear ,

Don't specify LOGON_USERNAME and add USE_VIRTUAL_ACCOUNT=1.

Cheers,

 

 - Jo.

 

View solution in original post

Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.