# File discovery actions policy

Canonical: https://www.nsecsoft.com/en/docs/ping64-data-security/encryption/file-discovery/policy/

Language: en-US

Updated: 2026-11-15T03:43:44.720497Z

File discovery actions use directories, file types and triggers to encrypt or decrypt newly discovered files. They are configured separately from classification-based smart encryption and the user-operated encrypted file scan tool. Saving, endpoint receipt, discovery and actual processing are distinct; existing files need not be processed immediately and not every operation is necessarily detected. The following uses Windows endpoints as an example; verify other platforms and applications separately.

## Before configuration

-   Use an account permitted to manage document encryption policies. Confirm pilot endpoints are enrolled, licensed and can receive policies.
-   Agree with business and directory owners on target directories, encryption or decryption, file types, exclusions, shared-directory access and impact. Processing can change file state; prepare recoverable non-sensitive test files and a rollback plan instead of testing production directories directly.
-   This function is not sensitive-content detection, file-operation audit or a manual scan; configure and verify those separately if needed.

## Configure scope and triggers

1.  Open **Policy** in document encryption. Create or edit a pilot policy and check its name, endpoint scope and effective time.
2.  Open **Other Settings**, select and enable **File Discovery Actions**. Review the separate **Folder Change Monitoring** and **Run After File Operations** switches; do not assume they are set as required.
3.  Under **Operation Scope**, add a rule, select **Encrypt** or **Decrypt**, enter a directory and enter or select fixed file extensions, such as `.txt`. Add directories and types not to process under **Excluded Paths** as needed. Each rule requires a file type; review both lists before saving, and do not treat exclusions alone as an operation scope.
4.  If **Folder Change Monitoring** is enabled, open its settings and review **Folder Monitoring Interval** and **Folder Monitoring Location**; select **Local Files** or **Shared Files** as needed. The delay is non-negative; processing still depends on file state, endpoint operation and permissions. It is not a completion deadline.
5.  When folder change monitoring selects shared files, the operation scope needs a valid UNC shared-directory rule and fixed extensions, for example `\\server\share\pilot\*` and `.txt`. These are format examples. Do not configure conflicting encryption and decryption for overlapping shared scope and file types. Confirm the share, directory permissions and recovery, then pilot with non-sensitive files.
6.  If needed, enable **Run After File Operations**, open its settings and select **Local Files** or **Shared Files** under **File Operation Completion Location**. One trigger does not enable the other. Confirm each settings window and the entire policy, then wait for the pilot endpoint to receive and apply it.

## Verify and troubleshoot

1.  In an approved pilot directory, prepare files that should be processed and files that should be excluded. Perform operations matching the enabled trigger; after waiting, check file accessibility and actual encryption state separately. Expand only after organizational verification.
2.  Check paths, fixed extensions, operation direction, exclusions, triggers, delay, endpoint authorization and directory permissions. An occupied file, inaccessible directory or failed processing cannot be resolved by assuming a successful policy save means completion.
3.  In some Windows local file-change scenarios, when smart encryption and this function are both enabled, they may not execute independently for the same event; test the actual combination. Test shared directories and other triggers separately.
4.  If results differ or business is affected, stop expansion, adjust or disable rules under organizational procedures and verify recovery. Use approved backups and recovery for incorrectly processed files; do not repeatedly process production data.

-   [Smart encryption policy](https://www.nsecsoft.com/en/docs/ping64-data-security/encryption/smart-encryption/policy/)
    
-   [Encrypted file scan tool policy](https://www.nsecsoft.com/en/docs/ping64-data-security/encryption/file-scanning/policy/)
