QtService on Windows as Non-Interactive
I've created a QtService for Windows which runs under Local System Account, but when I install it it has the "Allow service to interact with desktop" checked. This causes certain problems that I would like to avoid. How can I install the service to run under Local System Account, but be non-interactive?
Re: QtService on Windows as Non-Interactive
The answer is to install the service as "NT AUTHORITY\LocalService", i.e. myservice.exe -i "NT AUTHORITY\LocalService".
Re: QtService on Windows as Non-Interactive
This can cause problem with security, so you might want to install the service as user "NT AUTHORITY\LocalSystem".
Also, bear in mind that the working directory for a service is C:\Widnows\System32, at least it was for me (Windows 7).