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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...