Click to See Complete Forum and Search --> : Reolve IP or DNS on network to NT Username
I am currently working on a LAN monitor. I have a ping sweep that on a period of time check for IP's alive over the network. Now i can resolve this IP to a machine/hostname. But how can i further resolve these into the current user logged on, on that NT machine?? Preferebly not using a crawler or watch dog on the client side please !
It's pretty much like doing sms. But how can it be done on VB?
At the end, with just an IP/Hostname, i want to know some information on who is using a particular NT machine on my network?
regards,
gokula
TalTal
Feb 1st, 2001, 08:00 AM
hello , i saw you problem and if you find the solution of how to find the names of all the computers in the net
i'll thankful.
ccoder
Feb 1st, 2001, 12:02 PM
nbtstat -a <computername> will give you what you want, but you'll have to wade thru other info to get it.
I didn't take a good at it, but there is a recent thread that may help: http://forums.vb-world.net/showthread.php?s=&threadid=51806
TalTal
Feb 4th, 2001, 04:10 AM
thanks .
but maybe you know how can i get all the pc's name .
in that exp i can see onley the sevrers name in the net
and i need to get the servers name and also the pc's name .
eldestofvic
Mar 11th, 2002, 10:02 AM
All my experience (minimal) with NBTSTAT shows me that if you run:
C:>nbtstat -A <ip address> >C:\temp\sometempfile.txt
you will get back the DNS name of the related workstation, the MAC address and the logged in user name. The above command willpipe it out to a text file for later reference.
What I am trying to figure out is why my ShellEx routine will not pipe the information to a text file in the same manner as the exact same command line will do when written at the DOS prompt.
ccoder
Mar 11th, 2002, 11:24 AM
Have you tried creating the command in a bat file and shellexecuting that?
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.