IT Employment

Our forums are currently in maintenance mode and the ability to post is disabled. We will be back up and running as soon as possible. Thanks for your patience!

General discussion


Logon/logoff tracking

By doug ·
Where can I find or how do I create a step by step GPO script procedure to track domain users log on and log off activities on a windows 2003 server? I haven't script before.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by w2ktechman In reply to Logon/logoff tracking

setup auditing, no script needed

Collapse -

by jeremy.rhoades In reply to Logon/logoff tracking

The low tech way to go is to modify the login and logoff scripts to write some basic information to a text file. In my own network I track the username, computername, time, date and ipaddress when my users log on to the system. I have a line in my login script that looks like this:

echo %username%, %computername%, %date%, %time%, %IPADDR% >>\\servername\sharename\%username.txt

This allows you to track activity for individual users. You can set up a automated task to purge the directory however often you need to. You can also easily import these tables into SQL since it echoes as CSA format. (Just a side note, the IPADDR variable had to be custom build by parsing some output with the FOR command). The big advantage of this is you don't have to search through all of your DCs to find out when and where someone has logged on. Hope this helps!

Collapse -

login script

by bcouture In reply to

With this line:

echo %username%, %computername%, %date%, %time%, %IPADDR% >>\\servername\sharename\%username.txt

only some users work and only some of the time. I need this to ork 100%. Any thoughts?

Collapse -

Practice Stock Trading

by toshiraw20 In reply to Logon/logoff tracking

<a href=""> title="Practice Stock Trading">Practice Stock Trading</a> The first time I came here, less than 10 seconds the display is perfectly open, and the loading is completed less than 20 seconds and to open the article only took about 7 seconds. So I think this is very fast! Incredible! Trying to maintain!

Related Discussions

Related Forums