Solved

Mapping windows 2003 usernames to workstations on windows 2003 native DC

Posted on 2011-02-15
3
252 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 SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

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…
This article runs through the process of deploying a single EXE application selectively to a group of user.
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 video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

778 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