Solved

Mapping windows 2003 usernames to workstations on windows 2003 native DC

Posted on 2011-02-15
3
263 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ADFS MSIS7065 error 8 34
ntp server 15 79
Domain controller sizing 7 56
Compatibility view list registry key 1 42
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
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 …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 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