> For the complete documentation index, see [llms.txt](https://docs.fenixpyre.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fenixpyre.com/fenixpyre-for-users/windows-agent/how-to-protect-un-protect-folders-with-fenixpyre-windows-agent.md). Agents can also search and read this documentation through its [MCP server](https://docs.fenixpyre.com/~gitbook/mcp).

# How to protect/un-protect folders with FenixPyre Windows Agent

> Note: You will need to have appropriate user policies assigned before you can protect and un-protect folders/files. Default policy allows encrypting files, but not decrypt them.

**Protecting folders with the FenixPyre Desktop Agent:**

**Step 1:** Open File Explorer and navigate to the folder that needs to be protected.

**Step 2:** Right-click the folder and select FenixPyre -> Protect My Data. When protecting a folder 2 options will display, "Add protection" and "Add protection and Encrypt My Files".

<figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FfVl9hwEBESASv722hfeg%2Fimage.png?alt=media&amp;token=a08bf6e6-79cf-4fe7-9739-ae4026474cba" alt=""><figcaption></figcaption></figure>

* **Add Protection** will protect the folder only and will leave its contents decrypted for now. However, due to our periodic encryption service these files will be automatically encrypted approximately 30 minutes (configurable) after adding protection to the folder.
* **Add protection and Encrypt My Files** will protect the folder and encrypt its contents immediately.

These same principles apply to removing protection to folders.

<figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FvSui3Pu47aqdMfn98wXJ%2Fimage.png?alt=media&amp;token=859e8d75-36ec-48b6-8e72-da0752a2aefa" alt=""><figcaption></figcaption></figure>

**Encrypting files with the FenixPyre Desktop Agent:**

**Step 1:** Open File Explorer and navigate to the desired file.

**Step 2:** Right-click the file and select FenixPyre -> Protect My Data -> Encrypt My Files. The file will now be encrypted.

<figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2F7jekiQp6rQLoGTJvi5Tm%2Fimage.png?alt=media&amp;token=de6aa69a-3327-49ec-b776-c6619fb2bd31" alt=""><figcaption></figcaption></figure>

These same principles apply to decrypting files.

<figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FhC2I5ep3CtW8byyLfIPh%2Fimage.png?alt=media&amp;token=e8355e89-012b-4388-9d22-7cf40c96f697" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fenixpyre.com/fenixpyre-for-users/windows-agent/how-to-protect-un-protect-folders-with-fenixpyre-windows-agent.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
