Discussion Locked

who is logged on?

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a Windows 2000 domain in native mode. How can I find out who is logged on now or at a particular time each night?

5 replies

by ewgny

download and run nbtscan
http://tinyurl.com/te7l
example
nbtscan 10.1.1.1-254
would scan 10.1.1.1 through 10.1.1.254 and give you a one liner that would show you the computername and the user logged on. This works as long as you haven't disabled netbios over TCP/IP on the workstations

by joseph moore

Another way to tell is to run the NBTSTAT command from the command prompt. Say you want to know who is logged into a machine at IP address 192.168.1.4

NBTSTAT -A 192.168.1.4 >filelog.txt

That would run the NBTSTAT command and write the results to a file called "filelog.txt"

Open this TXT file and it would look similar to the following:

NetBIOS Remote Machine Name Table

Name Type Status
---------------------------------------------
MACHINE1 <00> UNIQUE Registered
MACHINE1 <20> UNIQUE Registered
MYDOMAIN <00> GROUP Registered
MYDOMAIN <1C> GROUP Registered
MYDOMAIN <1B> UNIQUE Registered
MYDOMAIN <1E> GROUP Registered
MACHINE1 <03> UNIQUE Registered
USER_NAME <03> UNIQUE Registered
MYDOMAIN <1D> UNIQUE Registered
..__MSBROWSE__.<01> GROUP Registered
MYDOMAIN <01> UNIQUE Registered

by joseph moore

Ok, so the machine at 192.168.1.4 has a machinename of MACHINE1. The Windows domain it is in in MYDOMAIN.

Now, near the end, the <03> Unique record that is NOT a machine name record? It has USER_NAME in the first field? That is the logged on user name. So, if user BOB were logged in, there would be a <03> Unique record with BOB listed.

That is how you can tell who is logged into a remote machine.

by loketar

do the nbtstat thing or if you have terminal services runnning on your domain, just login from wherever you are and use the windows management console...In the event viewer setup so that you can track those events....if you are interested in a particular ip in your domain use nbtstat again or the mmc to add the event viewer of ip in question. download langaurd security scanner and who's logged in plus how many time they have logged in and lots of other goodies. There are loads of way to do what you want to do.

This discussion is closed to new replies.