How to enable audit policy in windows server 2012.
Windows server 2012 r2 enable file auditing.
To enable file auditing on a file or folder in windows.
Go to the concerned domain and expand it as shown in the following figure.
Right click the file or folder and then click properties.
Log on to your domain controller using an administrator account.
On this example shows to add domain users group.
Open the active directory users and computers snap in.
Windows server 2016 windows server 2012 r2 windows server 2012.
With the right audit policy in place the windows and windows server operating systems generate an audit event each time a user accesses a file.
You can then configure global object access auditing so that all access to files marked as sensitive are automatically audited.
Open windows explorer and navigate to the file folder in question.
Input username or group name you d like to add auditing and click ok button.
Locate the file or folder you want to audit in windows explorer.
Open the property of a share you d like to audit and move to auditing tab and click add button.
Right click the container housing the domain controller and click properties.
In this window double click administrative tools and then double click group policy management console to open it.
Enable auditing at the object level navigate windows explorer to the file you want to monitor.
Existing file access events 4656 4663 contain information about the attributes of the file that was accessed.
Click the security tab at top.
Security auditing is one of the most powerful tools to help maintain the security of an enterprise.
File access auditing is not new to windows server 2012.
One of the key goals of security audits is regulatory compliance.
Right click on the target folder file and select properties.
Set up auditing on required files and folders for needed event types.
For example using file classification and dac you can configure a windows server 2012 r2 file server so that all files that contain the phrase code secret are marked as sensitive.
Go to start control panel.