I just installed the latest SonarQube 7.7 on a new VM, running Windows 2019. Running the application from \bin\windows-x86-64\StartSonar.bat works fine.
But after running InstallNTService.bat and starting the service up I get this in wrapper.log:
2019.05.22 15:35:35 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\Sonar\sonarqube-7.7\temp
WrapperSimpleApp: Encountered an error running main: java.nio.file.AccessDeniedException: C:\Sonar\sonarqube-7.7\temp\conf\es\elasticsearch.keystore
java.nio.file.AccessDeniedException: C:\Sonar\sonarqube-7.7\temp\conf\es\elasticsearch.keystore
Is your service user the equivalent of root? SonarQube can’t run as root (an underlying component - Elasticsearch - refuses to start as root). That would explain why you’re successful starting it as yourself, but not as the service.