I wrote a service in .NET for a friend of mine. The service is designed to append to a log file when a person opens a program (World of War-craft) or closes it with a time stamp. It will also close the program down automatically at a specific time if it is running, and not allow it to be opened between certain times of the day.
The problem I've run into is that when I started the service it runs on one user's account but not on the account it should be running on (the one where the game is played on). Does anyone know how to get a service to run for all users? I've looked into it and cannot find anything on this problem. Is there a way for a user to not allow services to be running when they are logged on?
Any help would be appreciated.