Discussion Locked

ATTENTION !!!! MOTHER OF ALL QUESTIONS

0 helpful
14 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Running W2k prof clients and nt4.0 servers.
Need to find out computername that a user is currently logged into. I know nbtstat but i have 500 users and i dont want to wait for it to cycle.
Is it possible to call from cli a remote registry and pick this info up or what other ideas can anybody come up with. Ive searched usegroups (thousands) and nobody can get this right.

14 replies

by mcclenbw

If the user is connected to the NT server, then check Server Manager. It will show the users connect and where they are connected from.

by taiseermustafa

Do you have WINS installed on the Server?!
if yes go to Wins manager and then go to mappings, show databse,
You can sort per Computer name or IP or..., and you can find what you need....

Hope this can help

Good Luck

by culizard

If you do a remote connect to the computer's registry and look at the key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

there is a value called DefaultUserName, which will be the name of the user who last logged on.I don't know how to do this off the top of my head, but perhaps you could write a script which would scan all the registries on your network, and return which systems had this value set to the user you are looking for. Hope this helps.

This discussion is closed to new replies.