Solved

How to capture user Log in and Log out timings in xls or word doc on a Win2k DOmaino

Posted on 2004-08-24
4
1,161 Views
Last Modified: 2010-04-14
Hi All,

I have a Windows 2000 Server which is configured as a AD Domain Server.
In this domain I have got some groups of users who log in to the domain from a Win2k Pro desktop.

Now I want to capture log in and log out timings along with the date of a particular group of users in to a xls or doc format. How should I go about it. It should get appended in to the xls or doc file. My main aim is to find out and improve my process so that I know who works for what time and when,

Thanks & Regards
0
Comment
Question by:iamalpine
  • 3
4 Comments
 
LVL 11

Expert Comment

by:kabaam
ID: 11887362
Your Event viewer keeps a log of successful logons and offs. (not very pretty to look at)
http://www.microsoft.com/technet/prodtechnol/windows2000serv/maintain/monitor/logonoff.mspx

The only thing I can think of is using logon and off scripts that will append the data you want to a file.

I found this sample posted by PeteLong and Spiderfix

==============================
Add this to the login script, or place it as a batch file in the users startup directory

::Begin

date/t>>filename.txt
echo %computername%>>filename.txt
echo %ClientName% >> Filename.txt            
echo %username%>>filename.txt

::End

you can change the path to filename.txt to server share to hold the info centrally
0
 
LVL 11

Expert Comment

by:kabaam
ID: 11887449
That will automatically store the info in a txt file.
You could use excel or maybe even access to import the data and to format it to your likings. ( I am not that strong with excel)
Hope this helps
KaBaaM
0
 

Author Comment

by:iamalpine
ID: 11888195
If I place it as a batch file in users startup directory they will be able to remove it, which I dont want. Also if we store it centrally using the same batch file they will also need access to that share.

How do I automate it for 8 users only to login the timings into a xls file and keep it centrally without them being able to access the share. How to add this script through their login script. Do I just create 8 different batch files attach them into their login scripts.

0
 
LVL 11

Accepted Solution

by:
kabaam earned 125 total points
ID: 11888224
You can use the same script for all users. Either you can attatch it to the user profile (same for all)
or assign it using a GPO for the domain.
http://www.serverwatch.com/tutorials/article.php/1474241
0

Featured Post

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

Suggested Solutions

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…
There are many Password Managers (PM) out there to choose from. PM's can help with your password habits and routines, but they should not be a crutch you rely on too heavily. I also have an article for company/enterprise PM's.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

920 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

18 Experts available now in Live!

Get 1:1 Help Now