Confluence Service will not Install - Failed Installing 'Confluence' Service

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

When attempting to install Confluence as a Windows Service through the Windows command prompt...

1 service.bat install Confluence

The command prompt shows an error and the service is not installed:

1 Failed installing 'Confluence' service

Cause

  1. Windows Administrator privileges are required in order to install a service.

  2. There is an existing service with the same name.

Resolution 1

Run the command prompt as an Administrator to have the elevated privileges required to install the Confluence service.

Resolution 2

Remove the existing service with the same name using our script:

1 service.bat remove Confluence

Or remove with builtin service tools from the command prompt:

1 sc delete Confluence
Updated on April 7, 2025

Still need help?

The Atlassian Community is here for you.