After installing SonarQube, you can run it as a Windows Service by executing the InstallNTService.bat file inside the
However when I tried to do this, it failed silently and I only saw the following on the command line:
--> Wrapper Started as Service
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
Luckily the documentation brought the answer.By default the SonarQube windows service is installed under a local account but you need administrative permissions to be able to run SonarQube.
Here are the steps to fix it:
- Open the list of installed services on your system(search for services.msc)
- Right click on the SonarQube service in the list
- Click on Properties
- Go to the LogOn tab
- Change the LogOn from a Local System Account to another account with administrative permissions