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.

 

Get Updates on the Splunk Community!

Observability Release Update: AI Assistant, AppD + Observability Cloud Integrations & ...

This month’s releases across the Splunk Observability portfolio deliver earlier detection and faster ...

Stay Connected: Your Guide to February Tech Talks, Office Hours, and Webinars!

💌Keep the new year’s momentum going with our February lineup of Community Office Hours, Tech Talks, ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...