Question Locked

Mapping hosnames to logged in usernames

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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:
http://www.badblue.com/prodwip.htm ; 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. :(

2 replies

by toivo talikka

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 http://kixtart.org. 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 http://support.microsoft.com/?kbid=237282.

This discussion is closed to new replies.