Mapping hosnames to logged in usernames

By fahimdxb ·
Hi All.I need to map currently assigned DHCP IPs to the usernames logged on the machine (using windows 2003 Active Directory authentication).

An alternate paid version for doing this task is: ; but I want to try something free first.

OPenNMS...or Nessus plugin? Is something available for accomplish this? I am aware that it's not an easy particularly in an environment where DHCP assignments are dynamic, but something should be able resolve this issue.

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Login script

by Toivo Talikka In reply to Mapping hosnames to logge ...

You may be able to design a method around the login script and write a text file either into the user's home directory or somewhere else in the server with the contents of the environmental variables %username% %computername% %date% %time%. A batch file can then print out this file or you can import the entries into a table in Access and produce different listings easily.

Getting the IP address is more complicated but it can be done using the batch commands.

You may want to take a look at KiXtart, a free scripting language available from In KiXtart you can use macros like @WKSTA (computername), @USERID, @FULLNAME, @DATE, @TIME, @IPADDRESS.

And there is more. The Windows 2000 Resource Kit has a utility CConnect.exe which can also be used with Windows XP. It comes with .adm templates which apparently allow you to list the computers a user is logged on to. Details available from

Back to Software Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums