> 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/agent/guides/pedm-local-elevation.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# PEDM local elevation

Let a standard Windows user run programs as administrator with Devolutions Agent PEDM profiles, managed from Remote Desktop Manager. Experimental feature.

Devolutions PEDM (Privilege Elevation and Delegation Management) lets a standard Windows user run a program with administrator rights on their own computer, without a permanent administrator account. **Devolutions Agent elevates the program according to the PEDM profile assigned to the user; an administrator creates the profiles and assigns them from Remote Desktop Manager.** The user starts the program with ***Run elevated*** in File Explorer.

{% hint style="warning" %}
The Devolutions PEDM feature is labeled ***Experimental*** in the Devolutions Agent installer. Test it before you rely on it.
{% endhint %}

Devolutions PEDM works on Windows only, on the computer where Devolutions Agent is installed. It is not the just-in-time elevation of Devolutions Server and Devolutions Cloud privileged access, which adds accounts to groups and does not use Devolutions Agent.

## Requirements

* Devolutions Agent 2025.1.5 or later with the ***Devolutions PEDM*** feature (`F.Pedm`), which is not selected by default. Older versions show the Remote Desktop Manager PEDM commands but keep them unavailable.
* Remote Desktop Manager for Windows on the same computer, to manage profiles and view elevation logs.
* A local administrator account, to create and assign profiles.

## Install the PEDM feature

1. Run the Devolutions Agent installer (or run it again and choose ***Change***).
2. On the feature selection page, select ***Devolutions PEDM***.
3. Complete the installation.
4. Close and restart Remote Desktop Manager. Remote Desktop Manager detects Devolutions PEDM when it starts.

For a silent installation, add `F.Pedm` to `ADDLOCAL`. The feature sets `Pedm.Enabled` to `true` in `C:\ProgramData\Devolutions\Agent\agent.json` and adds ***Run elevated*** to the File Explorer right-click menu of `.exe`, `.msi`, `.lnk`, `.ps1` and `.bat` files.

In Remote Desktop Manager, the ***Tools*** tab then shows the ***Privilege Elevation and Delegation Management*** group with ***View elevation logs***, ***PEDM Policy Manager*** and ***Select profile***. The group is hidden when Devolutions PEDM is not installed.

## Create and assign a profile

The ***PEDM Policy Manager*** command appears only when Remote Desktop Manager runs as administrator.

1. Close Remote Desktop Manager, then start it with ***Run as administrator***.
2. In the ***Tools*** tab, click ***PEDM Policy Manager***.
3. In ***Profiles***, click ***Add*** and fill in the profile:

   <table><thead><tr><th width="260">SETTING</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><em><strong>Name</strong></em></td><td>The name users see when they select the profile.</td></tr><tr><td><em><strong>Elevation method</strong></em></td><td><em><strong>Local administrator</strong></em> or <em><strong>Virtual account</strong></em>: the identity the elevated program runs with.</td></tr><tr><td><em><strong>Default elevation type</strong></em></td><td><em><strong>Auto approve</strong></em> elevates the program without asking; <em><strong>Deny</strong></em> refuses the elevation.</td></tr><tr><td><em><strong>Only allow signed binaries</strong></em></td><td>Elevates only programs with a valid digital signature.</td></tr></tbody></table>
4. Click ***Save***.
5. In ***Assignments***, select the profile and click ***Edit***.
6. Select ***Enabled*** for each Windows user who receives the profile (the list shows ***Name***, ***Domain*** and ***SID***), then click ***Save***.
7. Close Remote Desktop Manager.

## Select a profile and run a program elevated

A user can have several profiles. The active profile decides what happens when they use ***Run elevated***.

1. Select the active profile in one of these places:
   * Remote Desktop Manager, started normally: ***Tools*** – ***Select profile***, choose the ***Profile***, then click ***Select***.
   * The Devolutions Agent icon in the Windows notification area: right-click it, open ***Profiles*** and click the profile. ***None*** turns elevation off.
2. In File Explorer, right-click the program or script and select ***Run elevated***.

When the elevation is refused or fails, Devolutions Agent shows a Windows notification:

<table><thead><tr><th width="260">NOTIFICATION</th><th>MEANING</th></tr></thead><tbody><tr><td>"Elevation Blocked" – "Elevation blocked by the currently selected profile"</td><td>The active profile denies this elevation. Select another profile or ask your administrator.</td></tr><tr><td>"Elevation Failed" with a Windows error message</td><td>Windows refused to start the program elevated. Read the message.</td></tr><tr><td>"Elevation Failed" – "An unexpected error occurred"</td><td>Check that the Devolutions Agent service runs, then try again.</td></tr></tbody></table>

If the tray menu shows ***PEDM unavailable***, the PEDM feature is not running: check that ***Devolutions PEDM*** is installed and that the ***Devolutions Agent Service*** service runs.

## View elevation logs

In Remote Desktop Manager, click ***Tools*** – ***View elevation logs*** ("View privilege elevation request logs"). Filter by ***Start date***, ***End date*** and user name, then click ***Search***; ***Load more*** adds older entries. The columns show the ***Timestamp***, ***Success***, ***Account name*** and ***Executable***; double-click a row to see all its details.

## Where Devolutions PEDM keeps its data

Profiles, assignments and elevation logs are stored on the computer, in `C:\ProgramData\Devolutions\Agent\pedm\`. Only SYSTEM can open this folder. Devolutions Server and Devolutions Cloud do not manage Devolutions PEDM profiles.

## See also

* [Privilege elevation and delegation management](https://docs.devolutions.net/pam/concepts/privilege-elevation-and-delegation-management)
* [Desktop Agent tray application](https://docs.devolutions.net/agent/guides/desktop-agent.md)


---

# 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/agent/guides/pedm-local-elevation.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.
