Change atlassian.recovery.password when installed as a Windows service

Still need help?

The Atlassian Community is here for you.

Ask the community

When Bitbucket Server is installed as a Windows service, the Bitbucket home directory location the setenv.bat is not used. This page outlines how to change this parameter when starting/stopping Bitbucket Server as a Windows service.

How to change BITBUCKET_HOME for the Windows service

  • Stop the Bitbucket Server service.
  • Open the command window from Start >> Run >> type in 'cmd' >> Enter
  • cd to the bin directory the Bitbucket Server Installation (<Bitbucket Server Installation dir>/bin).
  • Run from there:

    tomcat8w //ES//AtlassianBitbucket Server
  • A window will pop up. Click on the Java tab to see the list of current start-up options. Under "Java Options:" form, input the value:

  • Restart Bitbucket Server Service. From here the service will use the parameter as defined above.

Last modified on Feb 26, 2016

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.