Windows

General discussion

Locked

How do I find the IP with only a UserID?

By techrepublic ·
I am trying to remotely fix desktop issues without interaction from the user or requiring the user to show me what their IP address is before I can help. How might I find out only which machine a user is currently logged into in my environment?

I have so far found the following resources but neither have allowed me to accomplish this:

1) http://bink.nu/Article1452.bink - This site talks about a beta program being released by microsoft but it has not yet been released. I think this would help once it comes out but I need it sooner than that.

2) psloggedon.exe - This is a tool from sysintervals.com but it displays all computers the PC has ever logged into and not which they are currently logged into. It also has to access the registry of each PC which is very time-consuming and with over 2000 desktops in our enviroment it's not a good solution.

I do not have access to the WINS or DNS Servers nor the Domain Controller although I do have admin rights on the network and on every PC. I also have access to the admin tools for active-directory to manage the user OU.

Environment: On domain using Active-Directory.
PCs: All Windows XP - approx 2000 machines.
IDs: All standard naming convention

Please, if you give a solution, explain how to do it or reference a website that does. Thanks!

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by titus.ong In reply to How do I find the IP with ...

There is a utility called NPING.EXE. It works like this :

nping -s <WINS SERVER IP> <USERNAME>

It will query the WINS databse and return the IP address of the name given.

Collapse -

by techrepublic In reply to

I do not run lotus notes in our environment. Nping is only available for lotus notes unless you can point me in the right direction otherwise. Thanks. I got excited on that one

Collapse -

by nleporacci In reply to How do I find the IP with ...

I use a free product call "Angry IP Scanner". It allows me to scan my segment of the network by IP address or by computer name. I use it a lot to scan by computer name. This will return the IP of the system in question.

Collapse -

by techrepublic In reply to

If I knew the computer name, I could get the ip address very easily with ping or nslookup. Thanks though. I'm trying to find the IP address or the computer name.

Collapse -

by cfizz34 In reply to How do I find the IP with ...

This is more of a suggestion but if you use a good naming convention for the PC's then you would know the computer name by the person using it. We use this type of naming convention at my work and it has helped out our techs.

Collapse -

by techrepublic In reply to

We have over 2000 machines already in the environment. They are set by their serial number. It's a good suggestion but not possible in our current environment.

Collapse -

by VirtualGardener In reply to How do I find the IP with ...

Use the SRVMGR.exe tool from an NT server box. Paste it on your personal desktop, and when you run it you should see a list of computers. From the View menu select "Servers" to see only the servers on your network. Double-click your domain controller and you should see the properties box for it and a button for users. Since any logged on user is connected to the domain controller, they are currently "Using" it. Scroll down through the list until you find the user you want and the second column should have the PC name. I think in Active Directory it should have the IP instead since AD uses DNS and NT used NetBIOS. Either one should work for you. I just tested it on my Active Directory Domain and it works fine for me. I am Domain Admin though, are you?

If you don't have access to an NT server box, I think you can download it from here:
http://support.microsoft.com/default.aspx?
scid=kb;en-us;173673
I don't know if AD has a similar tool or not. We are only now migrating to 2003 from NT.

Collapse -

by techrepublic In reply to

Thanks but sorry, I'm not a domain admin. I do desktop support and thus my initial problem. Good try though...

Collapse -

by jrice In reply to How do I find the IP with ...

You could enable snmp on the workstations. Using a program that discovers network devices it will tell you computer names to IP addresses. I use SolarWinds however that is a costly piece of software

Collapse -

by techrepublic In reply to

Thanks but I'm looking for something in our current enviroment without making a huge change on all the desktops.

Related Discussions

Related Forums