A
Andreas Müller
Hi!
I've been looking for a way to log off another user from Windows XP, that is
to terminate his session without having to shutdown Windows. My goal is to
write a service (preferrably running under System privileges) which is able
to log off users after a defined time. Since other users may be logged on as
well, it would be quite an unelegant and questionable way to simply use
ExitWindows or something of this kind.
Since the task manager provides this kind of feature (under WinXP Pro at
least outside of a domain), I figure there must be a way to do it by code.
Does anyone have any suggestions (API calls, WMI,...)?
Thanks very much in advance!
Andy
I've been looking for a way to log off another user from Windows XP, that is
to terminate his session without having to shutdown Windows. My goal is to
write a service (preferrably running under System privileges) which is able
to log off users after a defined time. Since other users may be logged on as
well, it would be quite an unelegant and questionable way to simply use
ExitWindows or something of this kind.
Since the task manager provides this kind of feature (under WinXP Pro at
least outside of a domain), I figure there must be a way to do it by code.
Does anyone have any suggestions (API calls, WMI,...)?
Thanks very much in advance!
Andy