Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2006-10-20
4
Medium Priority
?
137 Views
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.

Thanks.
0
Comment
Question by:Italia_NYC
  • 2
4 Comments
 
LVL 9

Expert Comment

by:gopal_krishna
ID: 17777230
typo error sorry
0
 
LVL 85

Accepted Solution

by:
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
0
 
LVL 9

Expert Comment

by:SamuraiCrow
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

Crow
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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…
In the below post we have mentioned the best hosting type for startups. Also, check out some of the superlative web hosting companies that are proposing affordable web hosting solutions to host your startup website.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month21 days, 3 hours left to enroll

810 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