Ollie64 Posted December 1, 2005 Share Posted December 1, 2005 Hi All, Does anyone know of a way to determine a user's ip address on a network if all I know is their username? I'm looking for a utility or script or similar. Many thanks Link to comment Share on other sites More sharing options...
Colin-uk Veteran Posted December 1, 2005 Veteran Share Posted December 1, 2005 what OS you using? if the network uses a domain for authentication, you may be able to see the name of the machine the user is logged onto and then get the IP address from that (this can only be done from the server of course) Link to comment Share on other sites More sharing options...
tomwarren Veteran Posted December 1, 2005 Veteran Share Posted December 1, 2005 Yes it can be done through LDAP. At work we use a specialist application for this, unfortunately I do not know the code but I know it can be done. Link to comment Share on other sites More sharing options...
Miridix Posted December 1, 2005 Share Posted December 1, 2005 Hi All, Does anyone know of a way to determine a user's ip address on a network if all I know is their username? I'm looking for a utility or script or similar. Many thanks tracert username Link to comment Share on other sites More sharing options...
Ollie64 Posted December 1, 2005 Author Share Posted December 1, 2005 We're using XP Pro. I don't have server level access, I'm just desktop support. I need to map to a user's drive but the PC name is derived from the MAC address (stupid, I know). I *could* phone the user and talk her through finding the PC name but I would prefer a method where I could enter her username and it would return her ip address or PC name. tracert username This didn't work - "Unable to resolve target system name user345" Link to comment Share on other sites More sharing options...
Si Veteran Posted December 1, 2005 Veteran Share Posted December 1, 2005 http://www.sysinternals.com/Utilities/PsLoggedOn.html You can use psloggedon <username> to search a domain for a user. Link to comment Share on other sites More sharing options...
Gerowen Posted December 1, 2005 Share Posted December 1, 2005 If you know what computer they're logged onto (meaning the name) you can just open command line and run: tracert computernamehere That may also work with usernames but I won't swear by it, it's been a while since I used Windows for anything beyond gaming. Link to comment Share on other sites More sharing options...
D1g1talMan Posted December 1, 2005 Share Posted December 1, 2005 Microsoft Systems Management Server will do this through it's reporting functions, as will Quest Software's "Quest Reporter". But the Sysinternals tool might work faster in this case. Link to comment Share on other sites More sharing options...
John Veteran Posted December 1, 2005 Veteran Share Posted December 1, 2005 What's with you guys using tracert? :huh: If you're able to get the machine they're logged on to, then just use nslookup machinename (Y) Link to comment Share on other sites More sharing options...
Ollie64 Posted December 2, 2005 Author Share Posted December 2, 2005 http://www.sysinternals.com/Utilities/PsLoggedOn.html You can use psloggedon <username> to search a domain for a user. I tried this it's v..e...r....y s.......l........o............w. It interrogates the registry of each PC on the LAN and we've over 2000 pcs on this site. The only info I have is the username and the info I need is PC name or ip address. Link to comment Share on other sites More sharing options...
c.grz Posted December 3, 2005 Share Posted December 3, 2005 I tried this it's v..e...r....y s.......l........o............w. It interrogates the registry of each PC on the LAN and we've over 2000 pcs on this site. The only info I have is the username and the info I need is PC name or ip address. I assume you're a domain admin. If so, I have an app on my work machine that may work for you. It tells you if an account is locked, what machine it last authenticated with and I think it tells me where it logged in last as well. It'll have to wait until Monday but if you don't find anything until then I'll let you know. Link to comment Share on other sites More sharing options...
Ollie64 Posted December 5, 2005 Author Share Posted December 5, 2005 I assume you're a domain admin. If so, I have an app on my work machine that may work for you. It tells you if an account is locked, what machine it last authenticated with and I think it tells me where it logged in last as well. It'll have to wait until Monday but if you don't find anything until then I'll let you know. Well that sounds like what I'm looking for - can you tell me what that app is called or maybe send me a copy (assuming it's freeware of course!)? Cheers. Link to comment Share on other sites More sharing options...
Recommended Posts