From username to host?
Results 1 to 5 of 5

Thread: From username to host?

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Posts
    14

    From username to host?

    Hi there.
    This question is related to windows networking commands.
    If I wanted to know who is logged in a computer in a LAN I can do this with the following:

    nbtstat -a computername

    Now, the question is: can I know in which computer an user is logged in just by knowing his username?

  2. #2
    Elite Hacker
    Join Date
    Mar 2003
    Posts
    1,407
    check this out: http://www.sysinternals.com/ntw2k/fr...loggedon.shtml
    hopefully you are using windows NT/2K/XP/2K3, if you are using any of those, that little util should do the trick for you.

  3. #3
    Junior Member
    Join Date
    Sep 2003
    Posts
    14

    Unhappy

    thanks h3r3tic, but i dont think this program does exactly what i want since it shows in which computers an user is logged on remotely , not locally

    thanks anyway

  4. #4
    Senior Member
    Join Date
    Oct 2002
    Posts
    1,130
    h3r3tic is right. PsLoggedOn will show user logged on locally as well.

    If you want to only display locally logged on users, the command is
    psloggedon -l

    However, it does show user logged on to a specific host, not which computers a specific user is logged on to.
    Government is like fire - a handy servant, but a dangerous master - George Washington
    Government is not reason, it is not eloquence - it is force. - George Washington.

    Join the UnError community!

  5. #5
    Junior Member
    Join Date
    Sep 2003
    Posts
    14
    ok, gotcha. thanks for the -l flag. however, i tried the command on myself and other friends' usernames that were online and didnt display the local host. i guess the app is still under development...

    thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •