# 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="/files/iEZqyyRWpcNm71B6TMIP" 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="/files/xGkyrXyU20rOzyJQLQ6J" 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="/files/Xq97u3KU2MBoaTIV0m7E" alt=""><figcaption></figcaption></figure>

These same principles apply to decrypting files.

<figure><img src="/files/L6HhCKipwalhO5kCWrWV" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
