> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/password-manager/knowledge-base/browser-extension-knowledge-base/devolutions-password-manager-browser-extension-via-native-messaging.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Devolutions Password Manager browser extension via native messaging

Configure the Devolutions Password Manager browser extension to use native messaging instead of HTTP for Remote Desktop Manager connections.

The Devolutions Password Manager browser extension can communicate with Remote Desktop Manager without HTTP(S) by using native messaging. With native messaging, the browser starts a helper installed with Remote Desktop Manager (`com.devolutions.rdmnativemessaging`), which forwards each request to the Remote Desktop Manager running in the same user session. Native messaging does not use a local port, so it works when the HTTP listener of Remote Desktop Manager is disabled, blocked by a firewall or a policy, or when its port is already used. On a terminal server or multi-session host, it is the recommended channel.

Native messaging must be enabled in both Remote Desktop Manager and the browser extension.

{% hint style="warning" %}
Native messaging is available in Chrome, Edge, Firefox, and Opera. It is not available in Safari: keep the HTTP communication mode with Safari. On Linux, native messaging is not available when Remote Desktop Manager runs as an AppImage or a Flatpak.
{% endhint %}

### In Remote Desktop Manager

1. In Remote Desktop Manager, go to ***File – Settings – Browser extensions***.
2. Under ***Advanced***, check the ***Enable native messaging*** box.
3. Click on ***Configure native messaging***, which appears once the box is checked, and wait for the success message. This registers the helper with the browsers installed for your user.
4. Optionally, uncheck the ***Enable HTTP listener*** box to stop using the local HTTP connection. This option is not available on macOS.
5. Click ***Save***.
6. Restart your Remote Desktop Manager application if it asks you to.

### In the browser extension

1. In your browser, click on the Devolutions Password Manager browser extension icon then go to the ***Settings***.
2. Under the ***Workspaces*** section, select ***Remote Desktop Manager***.
3. Under ***Advanced***, set ***Communication mode*** to ***Native messaging***. With this mode, the browser extension never uses the local HTTP connection.
4. Fully close and restart the browser, then refresh the browser extension window.

{% hint style="info" %}
Older versions of Remote Desktop Manager on Windows only support the legacy native messaging protocol. With these versions, also check ***Enable legacy native messaging*** under ***Advanced*** in the browser extension settings. With current versions of Remote Desktop Manager, leave this option unchecked: when it is checked, native messaging is tried first even with the ***HTTP*** communication mode, and HTTP is used as a fallback.
{% endhint %}

### Troubleshooting

* "Specified native messaging host not found.": the browser has no registration for the helper. Click ***Configure native messaging*** again in Remote Desktop Manager, then restart the browser.
* "Native host has exited.": the helper could not reach Remote Desktop Manager. Make sure Remote Desktop Manager is running and fully loaded in your own user session.
* "Native messaging is disabled in Remote Desktop Manager's options.": check ***Enable native messaging*** in Remote Desktop Manager.

The help button next to ***Communication mode*** in the browser extension settings opens a troubleshooting page that lists the other error messages and their solutions.


---

# 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.devolutions.net/password-manager/knowledge-base/browser-extension-knowledge-base/devolutions-password-manager-browser-extension-via-native-messaging.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.
