4 replies
by uppulurivasu
May be Windows scripting Host could help you.
You can also use netscan from soft perfect research to get the IP addresses.
May be after getting the IP addresses you may use your code to get the user name via the Active Directory Services in Windows or Via Samba PDC in Linux.
by r_vipani
thanxs for the reply but i have already tried it and its not working for me.
do u have have any API which can help me in solving this problem
Two ways of doing it:
1) make a logon script (Ex. a bat file named getlogon.bat) with the following command: SET %USERNAME% > path_where_you_want\%COMPUTERNAME%.txt
2) Go to www.sysinternals.com, get pstools and execute the above command with psexec for each IP address machine we want.
by p_sripada
This discussion is closed to new replies.
Trending Networks posts
Sort by Trending