Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I love this site! It's so nice to know that there are so many people out there who are willing to share their knowledge..."

Geography

Where in the world do Tek-Tips members come from?
hinesward (MIS)
5 Aug 09 21:01

My accounting manager placed a spreadsheet on a server. She would like to know who is reading it. She is convinced that nobody is going to read it and wants to have proof. That way, she won't have to do the report anymore.

How do I enable auditing on this and generate a report of who has opened this file? I naturally thought that this would be very easy. It has not proven so.

I tried Filemon as well as some other utilities. They did not work.

I have enabled auditing in "Local Security Policy." This is shown as the "Effective Permission."

I have Windows 2000 server with all the updates. File is read-only for most users. The accountant has full access.

Anyway, I have enabled auditing in the Advanced part of Security. Where do the reports show up?

When I access the file myself, where do the events show up? How do I make so we can know who is reading this file?
 
dberg35 (IS/IT--Management)
5 Aug 09 21:50
She can password protect the file and only give it to you, that would be the easiest fix.
Lemon13 (MIS)
6 Aug 09 6:43
you can see it in eventviewer-security tab of the server

M. Knorr

MCSE, MCTS, MCSA, CCNA

Helpful Member!  strongm (MIS)
6 Aug 09 8:45
>Where do the reports show up?

They turn up as events in the Security Event Log. Unfortunately the event log itself doesn't have the ability to filter events for specific files or folders. So you might want to get hold of one of the various event log reporting tools (several of which are free).

Alternatively, if you have any expertise in VBA, you could look at perhaps getting the spreadsheet itself to log access by adding some code to the Workbook_Open event ... this illustrates the basic idea:

CODE

Private Sub Workbook_Open()
    With CreateObject("wscript.network")
        MsgBox "The following user has accessed " & ActiveWorkbook.Name & " at " & Now & ": " & .UserName
    End With
End Sub

 

 
North323 (TechnicalUser)
6 Aug 09 10:14
delete the file and count how many people complain


"where is that darn file?"
hinesward (MIS)
6 Aug 09 10:53

Well, I'm not seeing file access in Event Viewer in the Security Tab. I have enabled auditing on the file. The events are not showing up. I am testing it by opening the file myself. Event Viewer makes no record that I have accessed this file.

Do these "various event log reporting tools" have names, strongm? Are they on web sites?
 
strongm (MIS)
6 Aug 09 13:08
>The events are not showing up
Er ... you also have to activate auditing in the security policy applicable to the server. Googling "windows 2000 enable auditing" might have found you this. which explains the whole process: http://support.microsoft.com/kb/300549

>Do these "various event log reporting tools" have names, strongm? Are they on web sites?

Well there are several, and I don't know which would be most suitable for you. Googling for "windows event log auditing free" might have shown you: http://www.google.co.uk/search?sourceid=navclient&hl=en-GB&ie=UTF-8&rlz=1T4ADBF_en-GBGB260GB260&q=windows+event+log+auditing+free
You should be able to find something there
hinesward (MIS)
6 Aug 09 14:26
Strongm,

I have read that knowledgebase article on Technet. I have followed the instructions. Auditing is still not working. And, yes, I did reboot the servers after enabling auditing.
 
strongm (MIS)
6 Aug 09 16:14
You don't need to reboot the server

So you have enabled auditing on the file itself via file properties?

And set the Local Security Policy appropriately by ticking Success (and Fail) for the Audit Object Access policy? The reason I ask is becasue in your first post you give the impression that you seem to think that setting the audit properties on the file is the "Local Security Policy". Which it isn't.

If you've done both of thewse things you should be seeing the relevant events in your logs.  
hinesward (MIS)
6 Aug 09 17:01

Yes, the Local Security Policy "Audit Object Access" is set to "Success, Failure." The Local Setting and Effective Setting both indicate "Success, Failure." I also set this on the domain controller.

Nothing shows up in Event Viewer. Do I have to enable auditing on the entire drive? Is that what it takes to get this to work?
strongm (MIS)
6 Aug 09 18:10
Ok - and on the file itself you have activated auditing?

Properties/Security/Advanced/Auditing

then you have added the users whose access you want to audit (presumably Authenticated Users in this case), and ticked Successful and Failed for the List Folder/Read Data auditing entry?
hinesward (MIS)
7 Aug 09 11:23
Yes, I have activated auditing on the file. Yes, I have went into Properties. Yes, I have clicked Security. Yes, I have clicked Advanced. Yes, I have went to the Auditing menu. I also stated that I have done all this in my first post.

I added "Everyone" for auditing. That is what one site told me to add. I clicked on all the boxes, successes and failures.

If you know of a solution to the problem, I am happy to listen.

And if you know of an actual program that would do file auditing, that's great. You refused to answer that question.
Grenage (MIS)
7 Aug 09 12:15
While auditing is the ideal path to go (albeit in need of some troubleshooting in this instance), strongm did also offer a second option.

Some VBA scripting would allow you to perform the logging with ease.

"We can categorically state that we have not released man-eating badgers into the area" - Major Mike Shearer

hinesward (MIS)
7 Aug 09 12:53

I don't know Visual Basic. If I did know it, I would do that.
strongm (MIS)
7 Aug 09 13:48
Suffice it to say that if, as you say, you have correctly enabled those settings as per either the technical posts or my double-checking, I can't think of a reason why it isn't working and thus cannot help you. Those settings have worked solidly and reliably for me on vast numbers of machines for about 15 years.
 
hinesward (MIS)
8 Aug 09 1:30

It certainly would have saved us both a lot of time if you had simply admitted that you didn't have a solution. It seems like you just wanted to prove that I had done it wrong.

This whole exchange is just a sad reminder of how worthless discussion groups like these have become.

dberg 35--your answer was worthless.

North323--your answer was worthless.

 
strongm (MIS)
8 Aug 09 3:08
I'm beginning to understand why you have so many issues with your users.
North323 (TechnicalUser)
31 Aug 09 13:31
may have been worthless but was funny.  its users like you that come in here demanding answers and get upset when we dont offer a solution.  maybe you should do some leg work and find the answer.  we do the best we can with what we have.  we are all trying to help each other out.
so my answer was not worthless and dberg's answer was not worthless.  and sorry if strongm even tried to help you.  i dont think it was his intention to prove you wrong.  if you think these discussion groups are worthless...open a ticket with microsoft for your windows 2000 box (if you can get support for that)
 

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close