I think that it has to do with how Windows runs your application. The doco says:
The UserInteractive property reports false for a Windows process or a service like IIS that runs without a user interface.
It seems like it's about the session that the application is executed in, not the application itself.