Solved

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

Posted on 2006-10-20
4
127 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
Comment Utility
0
 
LVL 9

Expert Comment

by:gopal_krishna
Comment Utility
typo error sorry
0
 
LVL 82

Accepted Solution

by:
oBdA earned 125 total points
Comment Utility
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
Comment Utility
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

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…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now