Solved

Mapping windows 2003 usernames to workstations on windows 2003 native DC

Posted on 2011-02-15
3
243 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Companies that have implemented Microsoft’s Active Directory need to ensure that the Active Directory is configured and operating properly. If there are issues found and not resolved, it eventually leads the components to fail or stop working and fi…
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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…

758 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

21 Experts available now in Live!

Get 1:1 Help Now