Discussion Locked

Determining UID logged in @IP_addr ?

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

There must be a combination or NBTSTAT, ARP and/or PING commands that will tell me who (UID) is logged in at x.x.x.x IP address.
The closest I can get is:
nbtstat -A -n
but that only gives me [00] [03] and [20] results on the NetBIOS machine name. What about some [00] and [03] results on UID?
Alternatively, do you know of any tools to accomplish such?

8 replies

by kevin.dorrell

Have a look in the event log of your domain controller. Start the Eevent Viewer, select the domain controller, and select Log | security. Look for events of code 528, double-click on one, and the detail window should tell you which workstation was used.

If you want to go the other way, (i.e. "Who is logged on at a particular workstation?", then look at the security event log of the workstation in question.

Best regards,
Kevin Dorrell,
Luxembourg.

by wil

Good suggestion. Iwill have to first enable "Logon and Logoff" auditing in User Manager. This will work for all workstation types - DOS, Win9x, WinNT, W2K, UNIX.
Drawbacks:
(1) Since most users leave their machines on all the time, it will take some time to accumulate this information

by pasupathy

hi...
you can create a login script for u r users and use these commands in it...

echo %computername% > filename
ifconfig >>filename
echo %username% >>filename

this will give you the details of computername, i.p. address, username(logged inname)..
and later you can use that file for further statistics...
hope this works out

by wil

Somewhat helpful idea. This will add additional overhead to the login process and would require managment of this file as it grows. There may even be some contention concerns. Also, you would need to determine %OS% first as the 'ipconfig' command does not work in Win9x or DOS.

by rkelly

The syntax that you are using is correct (well at least it does exactly what you want on my Windows 2000 Pro machine). You must remember that you will be looking for an [03] result for the username as it is only registered for the messenger service - if you have disabled this on any workstations you will not get the results back.

You could also try looking at getting a finger service for your machines you could then use the finger command to get UID results back. Check out the follwoing URL for free finger server software for NT

http://emwac.ed.ac.uk/html/internet_toolchest/fingers/contents.htm

Hope this helps

by wil

This is a good idea and I will investigate this. My concern is that this information will now be publicly available to everyone on my network. There are many UNI boxes on my network and I am concerned that the more experienced users would exploit this utility.

This discussion is closed to new replies.