# "Failed to encrypt a string." error when saving connection information

**URL:** <https://community.exploratory.io/t/failed-to-encrypt-a-string-error-when-saving-connection-information/4308>\
**Category:** Issues\
**Created:** [November 24, 2026, 3:54am UTC](https://community.exploratory.io/t/failed-to-encrypt-a-string-error-when-saving-connection-information/4308 "2026-11-24T03:54:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Takato\_Shiroto](https://community.exploratory.io/user_avatar/community.exploratory.io/takato_shiroto/32/749_2.png) [@Takato\_Shiroto](https://community.exploratory.io/u/Takato_Shiroto)\
**Post date:** [November 24, 2026, 3:54am UTC](https://community.exploratory.io/t/failed-to-encrypt-a-string-error-when-saving-connection-information/4308/1 "2026-11-24T03:54:58Z")

</div>

## Problem

On Windows, you may see the following error when saving connection information such as a database password in Exploratory.

Failed to encrypt a string.

## Cause

Exploratory uses a program called “dpapibridge.exe” to encrypt and store information such as passwords.

This error occurs when a Windows security feature (Smart App Control, or a Device Guard / App Control policy set by your organization) blocks dpapibridge.exe from running.

## Solution

### If you are using a personal PC

Smart App Control in Windows 11 may be blocking the program. Please try the following steps.

1. Open “Settings” \> “Windows Update” and update Windows to the latest version.
2. Open “Settings” \> “Privacy & security” \> “Windows Security” \> “App & browser control”.
3. If “Smart App Control settings” is set to “On”, change it to “Off”.
4. Restart Exploratory and check whether the error is resolved.

Note: If Windows is up to date, you can turn Smart App Control back on from the same screen afterward.

Reference (Microsoft):

> **[Smart App Control Frequently Asked Questions | Microsoft Support](https://support.microsoft.com/en-us/windows/security/threat-malware-protection/smart-app-control-frequently-asked-questions)**
>
> Frequently asked questions (FAQs) about Smart App Control, a Windows feature designed to block malicious, untrusted, or potentially unwanted apps from running on your device.

### If your PC is managed by your company or school

Your organization’s security policy (Device Guard / App Control) may be blocking the program. Since you cannot change this setting yourself, please ask your system administrator to allow the following file to run.

C:\Program Files\Exploratory\external\DPAPIbridge\dpapibridge.exe

Even on a personal PC, your organization’s policy may apply if a work or school account is registered under “Settings” \> “Accounts” \> “Access work or school”.

Reference (Microsoft, for administrators):

> **[Editing App Control for Business Policies with the Wizard](https://learn.microsoft.com/en-us/windows/security/application-security/application-control/app-control-for-business/design/appcontrol-wizard-editing-policy)**
>
> Editing existing base and supplemental policies with the Microsoft App Control Wizard.
