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!

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, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...