> For the complete documentation index, see [llms.txt](https://docs.blusapphire.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blusapphire.io/log-forwarding/03_log-forwarding-guide/log-forward/microsoft/windows-fim/fim-integration-without-gpo.md).

# FIM Integration without GPO

**Enabling Auditing for Particular File or Folder**

*Step 1: Enable Audit Object Access policy:*

Go to windows machine and open **Local Security Policy**. Go to **Security Settings** and select **Local Policies**.

![track-file-and-folder-creation-deletion-in-windows-audit-object-local-polices.](/files/VWxHtqT23U2JWymSGzwv)

* Under **Audit Policy**, select **'Audit object access'** and turn auditing on for both **success** and **failure**.

![monitor-changes-to-files-and-folder-permissions-audit-object-access](/files/mm8uaAYoehM7omrnQXSq)

*Step 2: Edit auditing entry in the respective file/folder.*

Locate the parent directory or folder in which you want to track creation and deletion of files/sub folders. Right click on it and go to Properties. Under the Security tab click Advanced.

![monitor-file-and-folder-access-on-windows-file-server-security-properties](/files/Okk8D9m0z4sFffvS1TOF)

* In Advanced Security Settings, go to the Auditing tab and click Add to add a new auditing entry.

![advanced-security-settings-active-directory](/files/kWAMcTCYaqqR6EBgdJ8V)

* In the Auditing Entry for Active Directory dialog box, enter the following details:
  1. **Principal:** Enter the names of the users whose access you wish to audit.
  2. **Type:** Select the type of access you want to audit. It is preferable to audit "All" changes.
  3. **Applies to:** Select whether you want to audit file/folder creation and deletion only in this folder, or in all sub folders.
  4. **Basic permissions:** Choose the types of permissions you want to audit. Click Advanced permissions button on the right and choose the following:
     1. Create files/write data.
     2. Create folders/append data.
     3. Delete sub folders and files.

![track-file-and-folder-creation-deletion-in-windows-active-direectory-dialog-box](/files/GaSPRjsNCHigD7pBqHKL)

*Step 3: View audit logs in Event Viewer*

Every time a user accesses the selected file/folder and changes the permission on it, an event log will be recorded in the Event Viewer. Under Windows Logs, select Security. You can find all the audit logs in the middle pane as displayed below.

* To filter the event logs to view just the logs about the file/folders created and deleted, select Filter Current Log from the right pane. Simply search for the event ID 4656 which indicates that access handle to an object was requested.

![audit-failed-access-attempts-to-shared-folder-security-windows-log](/files/jTGNWQ9gSfTYCFEnVunV)

![track-file-and-folder-creation-deletion-in-windows-filter-current-log](/files/SfGL7Xx8Uqt1aJV9QJHo)

* Unfortunately, these filters don't simply give you a list of files/folders created. They would need to be coupled with access masks to understand exactly which files/folders were created or deleted.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.blusapphire.io/log-forwarding/03_log-forwarding-guide/log-forward/microsoft/windows-fim/fim-integration-without-gpo.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
