[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


How to get a list of User names and their associated Computer name?

Posted on 2006-10-20
Medium Priority
Last Modified: 2010-04-13
Hey all; is their a way or a utility that will give a report that lists all user names in a Domain as well the computer name they log into.

Question by:Italia_NYC
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 17777230
typo error sorry
LVL 85

Accepted Solution

oBdA earned 375 total points
ID: 17780137
Try it with Sysinternal's PsLoggedOn (note that it supports a -d switch that's undocumented on the web site to scan a domain): http://www.sysinternals.com/Utilities/PsLoggedOn.html

Expert Comment

ID: 17786864
I usually collect this information in my login script.  I add a few lines that go something like:

echo %username,%computername% > \\servername\sharename\%username%.txt

If you want to keep a running tally for tracking purposes and have everyone in the same workbook you can use the same syntax to append a single document:

echo %username,%computername% >> \\servername\sharename\Filename.csv

I also use this to collect MAC and IP Address info


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question