• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 51
  • Last Modified:

Server 2003 Access Logs

A client wants to be able to see when users log in and log out of the server (2003 Standard). What is the best way to achieve this? (AD users in domain)
0
james_lict
Asked:
james_lict
  • 3
  • 2
1 Solution
 
OveCommented:
pls define "log in" to the server?
Is it a terminalserver where uses log in to ?
Is it a member-server where the login of admins should be logged?
Or do you mean the usage of a file (share) or shared printer on this server ?

Ove
0
 
james_lictAuthor Commented:
Log in, in this case, is to access the file server. This server is not a terminal server. There is only one server (this one) in the domain. Very simple setup.
0
 
KCTSCommented:
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
OveCommented:
ok...when using a file-server the is no explicit "logout". The user-credentials are given when first trying to open a file from the server...with this credentials a "session" is started. During this session other files may also be opened from the server.

I think you'll have at least two options:
1.) activate the auditing of files (which will result in many many entries to your Security-Eventlog)
2.) log the sessions or open files on the server on a timely basis via a little batch.cmd:
net sessions >> c:\temp\sessions.txt
net files >> c:\temp\openfiles.txt

What exactly do you want to achieve with this "surveillance" ?

Ove
0
 
james_lictAuthor Commented:
The client simply wants to be able to see when employees log in to the network and see how long they are connected.
0
 
OveCommented:
if you've got a domain-based structure where the you may simply let the clients run a login-/logoutscript or batchfile at startup and shutdown.
If you DON'T use loginskripts until now, you may simply add a group policy object with two ingredients:
1.) running batchfile at startup
2.) running batchfile at shutdown
inside the batchfile you may simply wrote some lines to a given share on the server:
log.cmd:
date /t >> \\servername\sharename\logfile.txt
time /t >> \\servername\sharename\logfile.txt
echo %USERNAME% >> \\servername\sharename\logfile.txt
echo ***************************** >> \\servername\sharename\logfile.txt

Ove

0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now