-
I wrote a program that logs a user off if he has been idle for an hour and converted it into a service using SRVANY.EXE.
The problem I have is that, as an application, the program runs fine and logs the user off.....as a service though, it shuts the computer down.
I am guessing that it has to do with the fact that it is running on the LocalSystem account.
I can easily make a local admin account for the program itself, but the problem is that I want a warning msg to be displayed after a half an hour and the only way I can seem to do that is if I have it interact with the desktop (which won't work if I pick a certain acct)
Any ideas?
-
If you want to get more complicated wth your program, have it watch for patterns in mouse movement. I made a program that always moves the mouse while the user is gone...