Who is logged on to which IP?

T

Tx2

Is there a facility with Server 2000, perhaps buried in administrative
tools, that allows me to look up which user is currently logged onto an
IP? Perhaps I need 3rd party software?

I remotely monitor some PC's using UltraVNC, but although I can see what
is going on on the screen, I can't tell which user is logged on.

As I can see which IP it is, I'd like to be able to do a lookup as to
which user that is. It needs to be fairly instantaneous as opposed to a
log which I could look through after the event.

I'd be very happy with a freeware utility to do this :)

The server is runing W2K Server, and the OS on the client machines is XP
Pro.

TIA
 
L

Lord Edam de Fromage

Is there a facility with Server 2000, perhaps buried in administrative
tools, that allows me to look up which user is currently logged onto an
IP? Perhaps I need 3rd party software?

I remotely monitor some PC's using UltraVNC, but although I can see what
is going on on the screen, I can't tell which user is logged on.

As I can see which IP it is, I'd like to be able to do a lookup as to
which user that is. It needs to be fairly instantaneous as opposed to a
log which I could look through after the event.

I'd be very happy with a freeware utility to do this :)

The server is runing W2K Server, and the OS on the client machines is XP
Pro.

TIA
psloggedon

http://www.microsoft.com/technet/sysinternals/utilities/psloggedon.mspx
 
G

Guest

Hello,

If you have a need to know what user is logged on with the current IP
address you can view your DHCP settings if you use DHCP. You can view the
Address Leases. Since DHCP automatically updates the IP addresses associated
with the workstation name, you can determine what users works at that
workstation. Hope that works for you
 
T

Tx2

MichaelMCSA
of (e-mail address removed), felt we'd be interested in the
following...
Hello,

If you have a need to know what user is logged on with the current IP
address you can view your DHCP settings if you use DHCP. You can view the
Address Leases. Since DHCP automatically updates the IP addresses associated
with the workstation name, you can determine what users works at that
workstation. Hope that works for you


The need is for an educational site where we have *many* different users
logging onto machines throughout the course of the day.

I view the screens of these machines remotely, and, if i spot something
going on that shouldn't be, I need to know which user is logged on at
that moment in time so i can alert staff etc.

AFAICT, DHCP will only show me the workstation's name, not the user...
correct? If that is the case, as I'm sure it is. it is not a solution
because the workstations are assigned to users - it's first come first
served when they 'invade' the IT Suite.
 
T

Tx2

of (e-mail address removed), felt we'd be interested in the
following...

it is not a solution
because the workstations are assigned to users

that should be "are not assigned"... etc.
 
G

Guest

I think the only problem with BGinfo is that you have to manually run the
program on a per user basis. If you can find a way to have it update for
each user that logs on, then your good.

You know what else can help you. If you know the ip address for a machine
you can use Microsoft Event Comb to filter through the security log of each
workstation that will tell you who logged on a workstation. Filter for logon
events. Does this make sense to you.

http://support.microsoft.com/kb/308471
 
J

James Blevins

MichaelMCSA
of (e-mail address removed), felt we'd be interested in the
following...




The need is for an educational site where we have *many* different users
logging onto machines throughout the course of the day.

I view the screens of these machines remotely, and, if i spot something
going on that shouldn't be, I need to know which user is logged on at
that moment in time so i can alert staff etc.

AFAICT, DHCP will only show me the workstation's name, not the user...
correct? If that is the case, as I'm sure it is. it is not a solution
because the workstations are assigned to users - it's first come first
served when they 'invade' the IT Suite.

--
My reply address is invalid.
Please post replies to the group.
Messages sent via Google Groups are 'auto-ignored'
XPS M1710 / 2.16 GHz dual core / 2Gb DDR2 / nVidia GeForce 7950GTX

Wait. This script appears to be even better. It's from the same
source.

' WhoLogonInput.vbs
' Sample VBScript to discover which user is logged on
' Author Guy Thomas and John Eck
' Version 2.5 - December 2005
' -------------------------------------------------------'
Option Explicit
Dim objWMIService, objComputer, colComputer
Dim strLogonUser, strLogonUser1, strComputer

strComputer = "."
strComputer = InputBox("Enter Computer name", _
"Find Logon User", strComputer)
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")
Set colComputer = objWMIService.ExecQuery _
("Select * from Win32_ComputerSystem")

For Each objComputer in colComputer
If not objComputer.UserName = "" Then
strLogonUser = Split(objComputer.UserName,"\")
strLogonUser(1) = UCase(Left(strLogonUser(1),1))_
& Trim(Mid(strLogonUser(1),2,20))
Wscript.Echo strLogonUser(1) & " is logged on at " _
& strComputer
Else
Wscript.Echo "No one is currently logged on at " _
& strComputer
End If
Next

' End of Sample Logged on VBScript
 
J

James Blevins

Wait. This script appears to be even better. It's from the same
source.

' WhoLogonInput.vbs
' Sample VBScript to discover which user is logged on
' Author Guy Thomas and John Eck
' Version 2.5 - December 2005
' -------------------------------------------------------'
Option Explicit
Dim objWMIService, objComputer, colComputer
Dim strLogonUser, strLogonUser1, strComputer

strComputer = "."
strComputer = InputBox("Enter Computer name", _
"Find Logon User", strComputer)
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")
Set colComputer = objWMIService.ExecQuery _
("Select * from Win32_ComputerSystem")

For Each objComputer in colComputer
If not objComputer.UserName = "" Then
strLogonUser = Split(objComputer.UserName,"\")
strLogonUser(1) = UCase(Left(strLogonUser(1),1))_
& Trim(Mid(strLogonUser(1),2,20))
Wscript.Echo strLogonUser(1) & " is logged on at " _
& strComputer
Else
Wscript.Echo "No one is currently logged on at " _
& strComputer
End If
Next

' End of Sample Logged on VBScript

Oops! I believe I hit "Reply to Author" instead of "Reply". The source
for the script I referenced is:

http://www.computerperformance.co.uk/vbscript/wmi_who_logon.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top