How Can I Obtain a Logged On User Name from Just a Computer Name?

Discussion in 'Windows Networking' started by razor, Mar 21, 2008.

  1. razor

    razor Guest


    This might seem like a strange post, but my predecessor did not choose
    logical computer names in our network, and I am trying to document which
    client has which computer within our network without disturbing the user.

    If I know the FQDN of the workstation as well as it's IP address, etc. is
    there a way for me to obtain the name of the user that is currently logged
    onto the workstation?

    We run a full Windows 2003 network and all of our workstation run W XP Pro.

    Many thanks.
    razor, Mar 21, 2008
    1. Advertisements

  2. How about running

    net session

    from your server?

    You can also set up a login script that logs this info to a text file...

    echo %date% - %time% - %username% has logged on
    Lanwench [MVP - Exchange], Mar 22, 2008
    1. Advertisements

  3. Hi Razor,

    Have you tried 'Nbtstat -a computername'?

    / ) Regards,
    / /_________
    _|__|__) Paul Weterings
    / (O_)
    __/ (O_)
    Paul Weterings, Mar 22, 2008
  4. razor

    he Guest

    Try the freeware netusers program from
    he, Mar 22, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.