Networking Forums

Networking Forums > Computer Networking > Windows Networking > How to map machine IP to its user?

Reply
Thread Tools Display Modes

How to map machine IP to its user?

 
 
Courtney R
Guest
Posts: n/a

 
      07-25-2005, 07:46 PM
On our domain, we have a PC in use. I know the IP address of the PC, now I'd
like to find out the user that is logged into that machine. Is there a
command line tool that I can do this with?

Thanks
 
Reply With Quote
 
 
 
 
Phillip Windell
Guest
Posts: n/a

 
      07-25-2005, 09:35 PM
NBTSTAT -a <ip#>
(older versions NBTSTAT -A <ip#>)

....or...

NBTSTAT -a <machinename>

Older versions of it required an uppercase "-A" when using the IP#, but
newer versions of it will work either way with either uppercase or lowercase
"-a",...however they never changed the Help (NbtStat /?) so is still says
you have to switch cases.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/IS...cessRules.html

Microsoft Internet Security & Acceleration Server: Guidance
http://www.microsoft.com/isaserver/t...dance/2004.asp
http://www.microsoft.com/isaserver/t...dance/2000.asp

Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp
-----------------------------------------------------



"Courtney R" <(E-Mail Removed)> wrote in message
news:2336EF2C-B564-485F-84C8-(E-Mail Removed)...
> On our domain, we have a PC in use. I know the IP address of the PC, now

I'd
> like to find out the user that is logged into that machine. Is there a
> command line tool that I can do this with?
>
> Thanks



 
Reply With Quote
 
Manny Borges
Guest
Posts: n/a

 
      07-26-2005, 07:42 AM
Phil,

This does not show you the user logged onto a machine.

"Phillip Windell" <@.> wrote in message
news:%(E-Mail Removed)...
> NBTSTAT -a <ip#>
> (older versions NBTSTAT -A <ip#>)
>
> ...or...
>
> NBTSTAT -a <machinename>
>
> Older versions of it required an uppercase "-A" when using the IP#, but
> newer versions of it will work either way with either uppercase or
> lowercase
> "-a",...however they never changed the Help (NbtStat /?) so is still says
> you have to switch cases.
>
> --
> Phillip Windell [MCP, MVP, CCNA]
> www.wandtv.com
> -----------------------------------------------------
> Understanding the ISA 2004 Access Rule Processing
> http://www.isaserver.org/articles/IS...cessRules.html
>
> Microsoft Internet Security & Acceleration Server: Guidance
> http://www.microsoft.com/isaserver/t...dance/2004.asp
> http://www.microsoft.com/isaserver/t...dance/2000.asp
>
> Microsoft Internet Security & Acceleration Server: Partners
> http://www.microsoft.com/isaserver/partners/default.asp
> -----------------------------------------------------
>
>
>
> "Courtney R" <(E-Mail Removed)> wrote in message
> news:2336EF2C-B564-485F-84C8-(E-Mail Removed)...
>> On our domain, we have a PC in use. I know the IP address of the PC, now

> I'd
>> like to find out the user that is logged into that machine. Is there a
>> command line tool that I can do this with?
>>
>> Thanks

>
>



 
Reply With Quote
 
Courtney R
Guest
Posts: n/a

 
      07-26-2005, 12:27 PM
Well then, does anyone have an idea of how this can work??

Thanks

"Manny Borges" wrote:

> Phil,
>
> This does not show you the user logged onto a machine.
>
> "Phillip Windell" <@.> wrote in message
> news:%(E-Mail Removed)...
> > NBTSTAT -a <ip#>
> > (older versions NBTSTAT -A <ip#>)
> >
> > ...or...
> >
> > NBTSTAT -a <machinename>
> >
> > Older versions of it required an uppercase "-A" when using the IP#, but
> > newer versions of it will work either way with either uppercase or
> > lowercase
> > "-a",...however they never changed the Help (NbtStat /?) so is still says
> > you have to switch cases.
> >
> > --
> > Phillip Windell [MCP, MVP, CCNA]
> > www.wandtv.com
> > -----------------------------------------------------
> > Understanding the ISA 2004 Access Rule Processing
> > http://www.isaserver.org/articles/IS...cessRules.html
> >
> > Microsoft Internet Security & Acceleration Server: Guidance
> > http://www.microsoft.com/isaserver/t...dance/2004.asp
> > http://www.microsoft.com/isaserver/t...dance/2000.asp
> >
> > Microsoft Internet Security & Acceleration Server: Partners
> > http://www.microsoft.com/isaserver/partners/default.asp
> > -----------------------------------------------------
> >
> >
> >
> > "Courtney R" <(E-Mail Removed)> wrote in message
> > news:2336EF2C-B564-485F-84C8-(E-Mail Removed)...
> >> On our domain, we have a PC in use. I know the IP address of the PC, now

> > I'd
> >> like to find out the user that is logged into that machine. Is there a
> >> command line tool that I can do this with?
> >>
> >> Thanks

> >
> >

>
>
>

 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      07-26-2005, 02:25 PM
"Manny Borges" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Phil,
>
> This does not show you the user logged onto a machine.



Here is a sample output from my workstation:
________________________________________________
Local Area Connection:
Node IpAddress: [192.168.13.70] Scope Id: []

NetBIOS Remote Machine Name Table

Name Type Status
---------------------------------------------
COMP-RM <00> UNIQUE Registered
WANDTV <00> GROUP Registered
COMP-RM <03> UNIQUE Registered
COMP-RM$ <03> UNIQUE Registered
COMP-RM <20> UNIQUE Registered
WANDTV <1E> GROUP Registered
INet~Services <1C> GROUP Registered
IS~COMP-RM.....<00> UNIQUE Registered
PWINDELL <03> UNIQUE Registered
---------------------------------------------------------------------
The last line shows the username that is logged into the machine. That line
is missing if no one is logged into the machine.


--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/IS...cessRules.html

Microsoft Internet Security & Acceleration Server: Guidance
http://www.microsoft.com/isaserver/t...dance/2004.asp
http://www.microsoft.com/isaserver/t...dance/2000.asp

Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp
-----------------------------------------------------


 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      07-26-2005, 02:27 PM
Walk up to a machine, open a command prompt window and type the command.
then you will know if it does what you need or not.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/IS...cessRules.html

Microsoft Internet Security & Acceleration Server: Guidance
http://www.microsoft.com/isaserver/t...dance/2004.asp
http://www.microsoft.com/isaserver/t...dance/2000.asp

Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp
-----------------------------------------------------



"Courtney R" <(E-Mail Removed)> wrote in message
news:71D04CAA-67C7-481B-BCFC-(E-Mail Removed)...
> Well then, does anyone have an idea of how this can work??


> > > NBTSTAT -a <ip#>
> > > (older versions NBTSTAT -A <ip#>)
> > >
> > > ...or...
> > >
> > > NBTSTAT -a <machinename>



 
Reply With Quote
 
Jason Gurtz
Guest
Posts: n/a

 
      07-26-2005, 03:36 PM
nbtstat -a name or nbtstat -A IPaddy does not show the logged on user when
run on my workstation against several different machines (NT4 server, 2k3
server) including localhost (XP SP2). I've seen it in the past on others
though.

Not sure why that would be.

~Jason

--
 
Reply With Quote
 
Brian Hoops
Guest
Posts: n/a

 
      07-26-2005, 03:56 PM
It works for me when run on XP for clients running W2K but not XP.

"Jason Gurtz" <(E-Mail Removed)> wrote in message
news:uxQ%(E-Mail Removed)...
> nbtstat -a name or nbtstat -A IPaddy does not show the logged on user when
> run on my workstation against several different machines (NT4 server, 2k3
> server) including localhost (XP SP2). I've seen it in the past on others
> though.
>
> Not sure why that would be.
>
> ~Jason
>
> --



 
Reply With Quote
 
Tom Del Rosso
Guest
Posts: n/a

 
      07-26-2005, 05:27 PM
"Brian Hoops" <bhoops.remove_me@and_me.stoughtonutilities.com> wrote in
message news:%(E-Mail Removed)...
> It works for me when run on XP for clients running W2K but not XP.


On 2k it gives me the user name but the next line has administrator, who is
not logged on. There are scheduler events that run as administrator but
none are running.


--

Reply in group, but if emailing add
2 more zeros and remove the obvious.


 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      07-26-2005, 10:03 PM
Maybe I opened a real "who dunnit" with that one, eh? It has always worked
for me and I just thought it always worked for everyone and was "common
knowledge". I didn't know there was such mystery swirling around
it,...hmmm.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com
-----------------------------------------------------
Understanding the ISA 2004 Access Rule Processing
http://www.isaserver.org/articles/IS...cessRules.html

Microsoft Internet Security & Acceleration Server: Guidance
http://www.microsoft.com/isaserver/t...dance/2004.asp
http://www.microsoft.com/isaserver/t...dance/2000.asp

Microsoft Internet Security & Acceleration Server: Partners
http://www.microsoft.com/isaserver/partners/default.asp
-----------------------------------------------------


"Tom Del Rosso" <(E-Mail Removed)> wrote in message
newsvuFe.476$6%(E-Mail Removed)...
> "Brian Hoops" <bhoops.remove_me@and_me.stoughtonutilities.com> wrote in
> message news:%(E-Mail Removed)...
> > It works for me when run on XP for clients running W2K but not XP.

>
> On 2k it gives me the user name but the next line has administrator, who

is
> not logged on. There are scheduler events that run as administrator but
> none are running.
>
>
> --
>
> Reply in group, but if emailing add
> 2 more zeros and remove the obvious.
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remotely login into a pure IPv6 Linux machine from a DualStack windows machine chaitan Linux Networking 1 11-21-2007 05:37 PM
Simple client/server socket program works on one Linux machine, it doesnot work on other machine GS Linux Networking 2 05-09-2006 12:55 PM
Net send works to machine name but not user? James Windows Networking 0 06-10-2004 04:32 PM
Can't access shared files on WinXP machine from Win98 machine Ken K Windows Networking 4 01-19-2004 03:38 AM
User login problem with 98 machine on window 2003 server bharat Windows Networking 2 12-17-2003 11:43 PM



1 2 3 4 5 6 7 8 9 10 11