Link to home
Start Free TrialLog in
Avatar of ITsolutionWizard
ITsolutionWizardFlag for United States of America

asked on


Assume I have LAN IP

How can I find out the AD user name based on IP address?
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

tracert <- should show you path and resolve hostname
nbtstat -a <- NetBios data of host
if reverse lookup zone is created you can use
IMPO, i don't think the above methods could help you trace an IP back to the associated user name in AD.

below is some kind of official way to do that.

IP Address Tracking
Avatar of Camy
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
bbao is right, what I wrote won't help.
I did not read question well, I thought solution is for computer name not user name.
If You are admin and the computer is a domain mamber just simply:

1. nslookup IP_ADDRESS       ->  result is your computername
2. go \\computername\c$\Users     -> users who loged in to the computer
Avatar of ITsolutionWizard


how can i get list of pc name, ad name in that pc, and ip address?
> how can i get list of pc name, ad name in that pc, and ip address?

if you are talking about alive Windows PCs only, you may use NET VIEW to list the computers in your current domain or workgroup.

to list user names on a specific computer, use NET USER command.

and for ip address? just PING the computer name! :)


Displays a list of domains, computers, or resources that are being shared by the specified computer. Used without parameters, net view displays a list of computers in your current domain.

How to Generate a List of Users
Another option might be to install a WINS server.  Windows clients register user names as well as machine names on a WINs server. All versions of Windows Server from NT4 to 2012R2 include it.

Once machines and users are registered, it is easy to look up a user based on an IP address in the console.