Getting Data In

Can I configure the windows installer to not start Splunk right after it's installed?

hexx
Splunk Employee
Splunk Employee

I would like to make sure that the splunkd and splunkweb services aren't automatically started by the Splunk Windows installer right after the installation is finished.

How can this be achieved?

1 Solution

hexx
Splunk Employee
Splunk Employee

Passing the "LAUNCHSPLUNK=0" argument to the Splunk MSI installer with msiexec will prevent splunkd and splunkweb from starting automatically.

Example for a Splunk 4.1.4 x86 installer :

C:\Downloads> msiexec /i splunk-4.1.4-82143-x86-release.msi LAUNCHSPLUNK=0

Note that this will also configure both services for a manual startup, so make sure you change that afterward if that's not the desired setting.

More flags that can be passed to the Splunk Windows installer to automate your deployment can be found in the web documentation :

http://www.splunk.com/base/Documentation/latest/Installation/InstallonWindowsviathecommandline#Suppo...

View solution in original post

hexx
Splunk Employee
Splunk Employee

Passing the "LAUNCHSPLUNK=0" argument to the Splunk MSI installer with msiexec will prevent splunkd and splunkweb from starting automatically.

Example for a Splunk 4.1.4 x86 installer :

C:\Downloads> msiexec /i splunk-4.1.4-82143-x86-release.msi LAUNCHSPLUNK=0

Note that this will also configure both services for a manual startup, so make sure you change that afterward if that's not the desired setting.

More flags that can be passed to the Splunk Windows installer to automate your deployment can be found in the web documentation :

http://www.splunk.com/base/Documentation/latest/Installation/InstallonWindowsviathecommandline#Suppo...

gkanapathy
Splunk Employee
Splunk Employee

Please note that you must not enable any app during install, i.e., SPLUNK_APP="" must also be provided. Otherwise, the LAUNCHSPLUNK=0 flag will be ignored. The default SPLUNK_APP setting varies from version to version, so it is safest to specify SPLUNK_APP=""

hexx
Splunk Employee
Splunk Employee

The following Splunk Answer, which covers the topic of automated large-scale deployment in a Windows environment, deserves to be pointed out here as suggested further reading : http://answers.splunk.com/questions/434/can-i-auto-install-or-deploy-splunk-onto-all-my-remote-windo...

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...