#122045 - 2004-07-01 08:28 PM
Remote Machine IP from UserName
|
chmod
Fresh Scripter
Registered: 2004-06-01
Posts: 24
Loc: Sacramento, CA
|
Does anyone know how I can get a LAN IP address based on remote logged in UserName (without using the NBTSTAT command)?
Example: Help Desk Tech wants the IP address of the LAN Domain User "JDOE"
|
|
Top
|
|
|
|
#122046 - 2004-07-01 08:58 PM
Re: Remote Machine IP from UserName
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
query all the DCs for the logon events for that user id. (not an easy method)
have your logon script log userid, wksta, IP, mac, and timedate to a file
|
|
Top
|
|
|
|
#122048 - 2004-07-01 10:07 PM
Re: Remote Machine IP from UserName
|
chmod
Fresh Scripter
Registered: 2004-06-01
Posts: 24
Loc: Sacramento, CA
|
The logging is good idea, if the user only logged into a single PC. Most of our users have 2 PCs. How would I know what log to get and where? If it's one big log, thats going to be a BIG log.
How do I query the PDC's event log?
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Henriques)
and 2516 anonymous users online.
|
|
|