Security Basics mailing list archives
Re: logging users off AD through vbscript
From: Ansgar -59cobalt- Wiechers <bugtraq () planetcobalt net>
Date: Thu, 17 Mar 2005 12:23:56 +0100
On 2005-03-16 Artie Motamed wrote:
I have this problem, I want to create a program to search for all users logged into the domain, then log them off (unless they are a member of the administrator group). The only problem I'm having is finding out how to get a list of all the users who are currently logged into the system. Has anyone tried this out?
Try PsLoggedOn [1] from SysInternals. [1] http://www.sysinternals.com/ntw2k/freeware/psloggedon.shtml Regards Ansgar Wiechers -- "All vulnerabilities deserve a public fear period prior to patches becoming available." --Jason Coombs on Bugtraq
Current thread:
- logging users off AD through vbscript Artie Motamed (Mar 16)
- Re: logging users off AD through vbscript Gregory Bell (Mar 17)
- Re: logging users off AD through vbscript Gregory Bell (Mar 17)
- Re: logging users off AD through vbscript Micheal Espinola Jr (Mar 17)
- Re: logging users off AD through vbscript Ansgar -59cobalt- Wiechers (Mar 17)
- Re: logging users off AD through vbscript Gregory Bell (Mar 17)