N
Neil
Hi
I've written a bit of software that runs as a service for use at work
which records when a user logs in and logs off. This allows us to
monitor PC usage. This currently only runs when the service is started
and stopped manually by Zenworks.
I want to change it so the service is running all the time and
monitors for windows login and logout / shutdown events. This will
hopefully remove it's dependence on Zenworks to start. I'm aware that
I could probably integrate it into the login / logout scripts within
windows via group policy but I'd like to try it this way first.
Can someone direct me to some documentation or examples on how to
watch for these events (I think I've found information about logoff
events by using systemevents) so I can at least make a start on trying
to get this working. I'd like it to remain as a service.
Thanks for any pointers.
Neil.
I've written a bit of software that runs as a service for use at work
which records when a user logs in and logs off. This allows us to
monitor PC usage. This currently only runs when the service is started
and stopped manually by Zenworks.
I want to change it so the service is running all the time and
monitors for windows login and logout / shutdown events. This will
hopefully remove it's dependence on Zenworks to start. I'm aware that
I could probably integrate it into the login / logout scripts within
windows via group policy but I'd like to try it this way first.
Can someone direct me to some documentation or examples on how to
watch for these events (I think I've found information about logoff
events by using systemevents) so I can at least make a start on trying
to get this working. I'd like it to remain as a service.
Thanks for any pointers.
Neil.