944,033 Members | Top Members by Rank

Ad:
Sep 8th, 2006
1

get computername for known username

Expand Post »
can someone hlep me with this ?
i have the user names. now i need to find the name of the machine they are logged on to.
how can i do this? i mean
known : username, domain
needed : machine name

pls help i really need this one.
Similar Threads
Reputation Points: 13
Solved Threads: 2
Light Poster
Seba Sama is offline Offline
29 posts
since Jul 2006
Sep 8th, 2006
0

Re: get computername for known username

I don't understand what you are doing. They are logged into a server, and you want to know which machine it's from?
Team Colleague
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Comatose is offline Offline
2,413 posts
since Dec 2004
Sep 9th, 2006
0

Re: get computername for known username

so : we have a large network - about 1,2k computers. i need to check on witch pc the user xyz is logged on. then i need to send some data to that pc. but this is not so hard so i just need to know find a way to programmaticaly find out the name of the computer.
i have found an application that is doing this but i need a code (or at least the way to do it) to include it in my own application.
Last edited by Seba Sama; Sep 9th, 2006 at 2:14 pm.
Reputation Points: 13
Solved Threads: 2
Light Poster
Seba Sama is offline Offline
29 posts
since Jul 2006
Sep 9th, 2006
0

Re: get computername for known username

Team Colleague
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Comatose is offline Offline
2,413 posts
since Dec 2004
Sep 11th, 2006
0

Re: get computername for known username

netsh wins cannot run on windows workstations. i need my code to be run from a workstation.
maybe i'll find a way to do it.
if this application can, that means there is a way to do it. but i'm not good enough to "hack" it to see what it does...
Reputation Points: 13
Solved Threads: 2
Light Poster
Seba Sama is offline Offline
29 posts
since Jul 2006
Sep 11th, 2006
0

Re: get computername for known username

I know one solution, but it's not what you want to do. You could basically build a server app, in VB, which accepts connections on one specific machine. Then, each workstation would have another VB program, that would connection through the network to that server app, and upload the computer name, the IP address, and the logged in user. Then, when they log out, simple connect again, and have them removed from that database, but that's a lot of overhead for something that should be fairly simple. I'll keep looking around.
Team Colleague
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Comatose is offline Offline
2,413 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Developing an Auto Dial up CD Installer Programme on windows plateforms
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: VB Code





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC