Discussion Locked

Currently Logged on to Domain

0 helpful
13 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How can I determine WHO is currently logged in to a Windows NT domain?

13 replies

by jcorlett

Here's a quick little reg hack that may help:

DETERMINE A COMPUTER NAME OR LOGGED-ON USERNAME
Do you support users where the hardest part is trying to determine
their computer name or the logged-on username? Wouldn't it be great if
this information were always on the desktop? Here's how:

1. Start the Registry editor (regedt32.exe)
2. Move to
HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}.
3. Select the value and Delete.
4. From the Edit menu select Add Value.
5. Leave the value name blank and set the type to REG_EXPAND_SZ.
6. Click OK and enter the text "User: %USERNAME% on: %COMPUTERNAME%".
7. Click OK.

Click the desktop and press F5 (for refresh) and the change takes
effect. Now, when each user logs on to the workstation, the My
Computer icon on the desktop will have the text "User: xxxxxx on:
wwwwww" in place of the text "My Computer." The usual warnings and
disclaimers about editing the Registry apply.

Also check out the NT reskit. Quite a few uti

by veetel

Open Server Manager on the server & change view from server to workstation & you'll see all the workstations currently logged into the domain.

by ustutz

While this does not answer the "current" part, WINS - if you are using it - does maintain mappings not only for each WINS aware device (PC), but also the user logged on from that PC. nbtstat let's you call up those mappings for one machine at a time from the DOS prompt on an NT box. Note that it takes a while for WINS entries to age out of the database, so you are not 100% "current".

by coyoterojo

The command; net session [\\computername] will tell you who is logged on to a particular workstation in the domain. Works for Windows 9x clients too.

by tazz

You can view your currently logged on users, open files, etc in Server Manager. If you want to know who is logged on to WRKST01 just type:

nbtstat -a == nbtstat -a WRKST01
^
or by its IP-adres

nbtstat -A 10.2.0.41
^

by kneighbor

I believe the simplest way to see how is logged into even farther down the tree EX: the server use a resource kit tool called netwatch. it allows you to see how is logged into each server, I like that better because this way if I want to just restart one server.

This discussion is closed to new replies.