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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

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