Installation

Crazy idea - Installing Splunk - Getting 'Failed to create/start service'

edslocombe
New Member

I've tried any number of things, must be on about my 15th attempt now.

I keep getting the following error (as I see a lot of others have also got):

"Splunk Installer was unable to create Splunk Services."

"Please make sure that the user running the installer had the correct privileges, including being able to create Windows services. Exitcode='4'"

I have tried running the MSI as an administrator and checked that I don't have any file named 'common' or 'program' (see here, linked from a similar question).

Please can anyone help?

My system details / Splunk version details are as follows:

VERSION=5.0.2
BUILD=149561
PRODUCT=splunk
PLATFORM=Windows-AMD64

Thanks.

Tags (1)
0 Karma

MuS
SplunkTrust
SplunkTrust

Hi edelocombe

Please make sure that the user running the installer has the correct privileges, including being able to create or delete Windows Services. Also make sure that the Splunk install folder does not have "read-only" anywhere within its properties. Kill any remaining Splunk process after you do an installer uninstall on Windows or you manually delete the services. Windows will not always release the memory.

You can delete the services from the command line using:

sc delete splunkd
sc delete splunkweb

Check for any remaining Splunk folder and remove it, after that try the install.

cheers,
MuS

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...