Getting Data In

How to install a Windows universal forwarder via command line?

DPWSplunkPOC
Explorer

I want to install the windows universal forwarder via command line.

My command is:

msiexec.exe /i "" AGREETOLICENSE=Yes INSTALLDIR=""

The command does not agree to the license and opens the GUI.

I'm using the 6.2.1 UF on x64 Win machines.

I followed the Splunk documentation with no success.

0 Karma

skylasam_splunk
Splunk Employee
Splunk Employee

Please use a command line like this - msiexec /i splunkforwarder-6.2.1-245427-x64-release AGREETOLICENSE=Yes /quiet
The /quiet is to suppress the GUI. You have to specify the msi in the command line which was missing in your invocation.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...