Solved

Mapping windows 2003 usernames to workstations on windows 2003 native DC

Posted on 2011-02-15
3
257 Views
Last Modified: 2012-05-11
Hi, I have a native mode 2003 domain with about 100 users, sharing 30 workstations.

How can I figure out which users are logging on to which workstation? if I can export a neat list to csv that'd be great!

many thanks.
0
Comment
Question by:eggster34
  • 2
3 Comments
 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 34900034
That's not so simple with scripting. I would suggest to try Spiceworks reporting to check if it fullfils your requirements. That's free software available at www.spiceworks.com
0
 
LVL 5

Accepted Solution

by:
rdhoore108 earned 500 total points
ID: 34916018
I don't know if Windows has some built-in accounting in this regard. But you could easily do some accounting of your own, by making a login script and logoff script that writes a little file when logging in, and deleting it when logging off.

when logging in:
copy nul "%computername% %username%" > "\\myserver\myshare\active_clients\"

Open in new window


when logging off:
del "\\myserver\myshare\active_clients\%computername% %username%"

Open in new window


To see who is active:
dir "\\myserver\myshare\active_clients\"

Open in new window


The login and logoff script can be assigned separately to each user, but you will be much happier specifying it in your Group Policy.
0
 
LVL 5

Expert Comment

by:rdhoore108
ID: 34916059
PS. Regarding the list of users (3rd code): if you don't want to see the login time, you can also do "dir /b" to see only the computer names and user names.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Synchronize a new Active Directory domain with an existing Office 365 tenant
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

828 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