How do I find what computers a user is logged into?

S

steve813

How do I find what computers a user is logged into? I work in a domain
with over 80,000 users, with an equal number of computer objects, and
over 30 DC's and we get users that log themselves into a computer and
forget to logout of the computer. The next day they go to another
computer and logon and change the password for the account. Since they
did not logout of the first computer their user ID gets locked out.
So, my question is how do I find the computer they forgot to logout of?
Or, is there a tool like the old Banyan Vines "mlogout.exe" (wow,
I just dated myself with that one) for the MS world to forcefully log
the user out of any computer they are on?

Thanks,
Steve
 
T

Torgeir Bakken \(MVP\)

steve813 said:
How do I find what computers a user is logged into? I work in a domain
with over 80,000 users, with an equal number of computer objects, and
over 30 DC's and we get users that log themselves into a computer and
forget to logout of the computer. The next day they go to another
computer and logon and change the password for the account. Since they
did not logout of the first computer their user ID gets locked out.
So, my question is how do I find the computer they forgot to logout of?
Or, is there a tool like the old Banyan Vines "mlogout.exe" (wow,
I just dated myself with that one) for the MS world to forcefully log
the user out of any computer they are on?
Hi

Nothing builtin that can help you here I'm afraid, but it looks like
Microsoft is going to release something this year that supports this.

Coming from Microsoft is a product called LimitLogin (still in beta):
http://bink.nu/?ArticleID=1452
 
S

Steven L Umbach

If you have auditing of account logon events enable in Domain Controller
Security Policy you might try searching the domain controller security logs
for the user name to find account logon events for success and failure and
you just may come up with the computer names. Event Comb can speed up that
process by scanning all the domain controller security logs for you.
netlogon logging should also show the information but that would be a pretty
large task in that large of a domain. SysInternals has a free tool called
PsLoggedOn that also may be worth a look at. --- Steve

http://support.microsoft.com/default.aspx?scid=kb;en-us;308471 --- Event
Comb
http://www.microsoft.com/downloads/...9C-91F3-4E63-8629-B999ADDE0B9E&displaylang=en
-- where to get Event Comb and an a white paper on acount lockout problems
and how to use netlogon logging.
http://www.sysinternals.com/ntw2k/freeware/psloggedon.shtml -- psloggedon
 
J

Jerold Schulman

How do I find what computers a user is logged into? I work in a domain
with over 80,000 users, with an equal number of computer objects, and
over 30 DC's and we get users that log themselves into a computer and
forget to logout of the computer. The next day they go to another
computer and logon and change the password for the account. Since they
did not logout of the first computer their user ID gets locked out.
So, my question is how do I find the computer they forgot to logout of?
Or, is there a tool like the old Banyan Vines "mlogout.exe" (wow,
I just dated myself with that one) for the MS world to forcefully log
the user out of any computer they are on?

Thanks,
Steve


In addition to LimitLogon V1.0, you might find tip 8768 in the 'Tips & Tricks' at http://www.jsiinc.com simpler.


Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
 
C

Cristian Martinez Casado

Hi Steve

You can use WMI, too. If check the properties of the Win32.Computer Class, there is a property named "user"or something like that.

If you query the pc for this specific property, it will give you the logged-in user.

Before you deal with WMI, you have to download the SDK from microsoft.

Regards,

Cristian Martinez Casado
 
T

Torgeir Bakken \(MVP\)

Cristian said:
Hi Steve

You can use WMI, too. If check the properties of the
Win32.Computer Class, there is a property named "user"or something
like that.

If you query the pc for this specific property, it will give you
the logged-in user.

Before you deal with WMI, you have to download the SDK from microsoft.
Hi

Note that many have reported (in the newsgroups) that this property
will be retuned as empty unless the user on the remote computer have
local admin rights....
 
S

steve813

I want to thank everyone for their help. The use of LockoutStatus.exe
has helped us out alot.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top