1. | Open Windows Explorer, and then locate the file or folder you want to audit | ||||||||||
2. | Right-click the file or folder, click Properties, and then click the Security tab. | ||||||||||
3. | Click Advanced, and then click the Auditing tab. | ||||||||||
4. | Do one of the following:
| ||||||||||
5. | If you are setting auditing for a folder, in Auditing Entry for File or Folder, in Apply onto, select where you want auditing to take place. | ||||||||||
6. | In the Access box, do any of the following for each event you want to specify:
| ||||||||||
7. | If you want to prevent files and subfolders within the tree from inheriting these audit entries, select the Apply these auditing entries to objects and/or containers within this container only check box. |
| • | Before setting up auditing to files and folders, you or your domain administrator must enable the Audit Object Access setting located in Audit Policy. If you do not, you receive an error message when you set up auditing for files and folders, and no files or folders will be audited. For more information, see Enable Audit Object Access policy |
Note
| • | |||||
| • | |||||
| • | |||||
| • | To audit files and folders, you must be logged on as a member of the Administrators group or have been granted the Manage auditing and security log right in Group Policy. To open Windows Explorer, click Start, point to All Programs, point to Accessories, and then click Windows Explorer. If you are not joined to a domain and want to view the Security tab, see To display the Security tab Once object access auditing is enabled, view the security log in Event Viewer to review the results of your changes. You can set file and folder auditing only on NTFS drives. You may see one of these circumstances:
In these cases, auditing has been inherited from the parent folder. Because the security log is limited in size, you should select the files and folders to be audited carefully. You should also consider the amount of disk space you are willing to devote to the security log. The maximum size is defined in Event Viewer. |