Home > Uncategorized > Auditing Access To Files On Windows 7

Auditing Access To Files On Windows 7

January 19th, 2010 Angel Leave a comment Go to comments

Description

Know when a file is accessed or when it is opened can improve your security. In this post you will learn how to do it using Windows 7.

Solution

1. Press Windows Key + R, type gpedit.msc and press enter.

This command opens the Local Computer Policy. In the left pane you will see:

image

2. In the left pane expands Computer Configuration, Windows Settings, Security Settings an go to Audit Policy.

This is what you will see:

image

3. Double click over Audit object Access:

image

4. Select Success, you can select failure too but in this case we only want to know if someone access a file.

image

5. Press Ok.

6. Go to the file you want to audit. In our case a file named file.txt at c:\utils. Right click and select properties.

7. Go to Security Tab:

image

8.  Press Advanced, go to auditing tab, and press continue:

image9. You need know to add the users you want to audit the access to the file. If you want all select everybody.

10. You will see a list of checking boxes in our case we select:

image

11. Press Ok in every window opens.

12. Open a close the file to create an event in the event viewer. Event viewer use the created events to setup the filter so you will need at least one.

13. Open Event Viewer. Press Windows Key +R. Type:

%windir%\system32\eventvwr.msc /s

press intro.

14. Press Create Custom View in the right pane:

image

15. Select Filter by log, and Security:

image

16.  In event sources look for Microsoft Windows security auditing.

image

At the end you will see something like this:

image

17.  On Task category select File System:

image

18. Select Audit Access on keywords:

image

19. Select a name for the filter and press ok on every window opens.

Related posts:

  1. Removing Folders With Numbers
  2. Restoring Access To Drives
  3. Windows Shortcuts
  4. Internet Explorer Open In A Small Window
  5. Deleting Files With Long Names
Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.