> 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-admins/fenixpyre-windows-agent/how-to-decrypt-files-using-fenixpyre-standalone-encryption-utility.md).

# How to decrypt files using FenixPyre Standalone Encryption Utility ?

## Offline Bulk Decryption (Old Tenants)

This guide walks you through the installation and execution of the FenixPyre Encryption/Decryption Tool, designed specifically for customers who need to perform **offline bulk decryption** of files.

### 📋 Prerequisites

Before you begin, ensure you have the following:

* **Administrator Privileges** - You must have Admin rights on the Windows machine to install the service and modify the Windows Registry.
* **Support Files** - You must obtain the FenixPyre Encryption/Decryption Tool ZIP file and your organization's specific DB file directly from the Support Team.
* **Organization Details** - Your specific Organization ID (`orgId`) and administrator email (`username`).

{% hint style="warning" %}
**Uninstall the FenixPyre Windows Agent first.** It is recommended to uninstall the FenixPyre Windows agent before installing the service. This avoids conflicts between the agent and the standalone enc-dec tool when accessing the local secure database.
{% endhint %}

### 📍 Quick Reference

| Item                   | Value                                               |
| ---------------------- | --------------------------------------------------- |
| Tool Installation Path | `C:\Users\Public\FPEncDecTool`                      |
| Registry Path          | `Computer\HKEY_LOCAL_MACHINE\SOFTWARE\FPEncDecTool` |
| Decryption Action      | `DECRYPT`                                           |

### ⚙️ Step-by-Step Decryption Guide

#### Step 1: Prepare the Installation Files

1. Contact the Support Team to obtain the Enc-Dec Tool ZIP and your DB file.
2. Download and extract the Enc-Dec Tool ZIP to a local directory on your machine.

#### Step 2: Install the EncDec Service

1. Open PowerShell as an Administrator. (Right-click the Start button and select **Windows PowerShell (Admin)**.)
2. Navigate to the extracted `FPEncDecService` directory:

```powershell
cd "C:\path\to\extracted\FPEncDecService"
```

3. Run the following installation command. Be sure to replace `<your_org_id>` and `<your_org_email>` with your actual credentials:

```powershell
PowerShell -ExecutionPolicy Bypass -File FPEncDecServiceInstall.ps1 -action install -orgId <your_org_id> -username <your_org_email>
```

{% hint style="info" %}
Example: `-orgId 12345 -username admin@yourdomain.com`
{% endhint %}

#### Step 3: Replace the Database File

1. Once the installation is complete, the tool directory is created on your system. Navigate to the Tool Installation Path:

```
C:\Users\Public\FPEncDecTool
```

2. Locate the existing DB file in this directory.
3. Replace it with the specific DB file provided to you by the Support Team.

#### Step 4: Configure Decryption in the Registry

The decryption process is triggered by updating specific keys in the Windows Registry.

1. Press `Win + R`, type `regedit`, and press **Enter** to open the Registry Editor.
2. Navigate to the following path:

```
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\FPEncDecTool
```

3. **Modify the target folder:** Locate the `folderPath` registry key. Double-click it and set the **Value data** to the exact directory path containing the encrypted files you wish to decrypt (e.g., `D:\EncryptedFiles`).
4. **Trigger the decryption action:** Locate the `action` registry key. Double-click it and set the **Value data** to `DECRYPT`.

#### Step 5: Verify Decryption

1. Navigate to the folder you specified in the `folderPath` registry key.
2. Verify that the files have been successfully decrypted and are accessible.

### 🗑️ How to Uninstall the EncDec Tool

Once you have successfully decrypted all necessary files, it is recommended to uninstall the service to keep your system clean.

1. Open Windows PowerShell as an Administrator.
2. Navigate back to the extracted `FPEncDecService` directory.
3. Run the following uninstallation command:

```powershell
PowerShell -ExecutionPolicy Bypass -File FPEncDecServiceInstall.ps1 -action uninstall
```

***

{% hint style="success" %}
**Need Help?** If you encounter any errors during installation or the files fail to decrypt, please reach out to the Support Team with a screenshot of the PowerShell output or Registry settings.
{% endhint %}


---

# 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.fenixpyre.com/fenixpyre-for-admins/fenixpyre-windows-agent/how-to-decrypt-files-using-fenixpyre-standalone-encryption-utility.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.
