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

.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!