1. Install/uninstall NT service (may have to run these files via Run As Administrator):

    %SONARQUBE_HOME%/bin/windows-x86-32/InstallNTService.bat
    %SONARQUBE_HOME%/bin/windows-x86-32/UninstallNTService.bat
  2. Fix permissionning by removing usage of local system account:

  3. Start/stop the service:

    %SONARQUBE_HOME%/bin/windows-x86-32/StartNTService.bat
    %SONARQUBE_HOME%/bin/windows-x86-32/StopNTService.bat