> 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/rdm/knowledge-base/knowledge-base-articles/entry-settings/custom-credentials.md).

# Custom

Configure the Custom credential entry in Remote Desktop Manager to retrieve credentials with a PowerShell script, script parameters, and a wait message.

This article details the many settings and options available for ***Custom*** credential entries in Remote Desktop Manager.

<table data-header-hidden><thead><tr><th width="200"></th><th></th></tr></thead><tbody><tr><td><strong>SETTINGS</strong></td><td><strong>DESCRIPTION</strong></td></tr><tr><td><strong>Name</strong></td><td>The name of the entry.</td></tr><tr><td><strong>Folder</strong></td><td>The folder where the entry is located.</td></tr></tbody></table>

### General

<table><thead><tr><th width="220">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Credential mode</strong></td><td><p>How the entry retrieves its credentials. Choose between:</p><ul><li><strong>PowerShell</strong> — Enter the PowerShell script in the script editor of the entry. Click the <em><strong>Edit</strong></em> button above the editor to edit the script in a separate window.</li><li><strong>Linked PowerShell</strong> — Select an existing PowerShell entry or PowerShell session tool from the list, or click the <em><strong>Browse</strong></em> button to pick one. Saving requires a linked entry.</li></ul></td></tr><tr><td><strong>Example</strong></td><td>A read-only sample script that shows how to return the username, password, and domain through <code>$Result.Username</code>, <code>$Result.Password</code>, and <code>$Result.Domain</code>. Displayed when <em><strong>Credential mode</strong></em> is set to <em><strong>PowerShell</strong></em>.</td></tr></tbody></table>

### Parameters

<table><thead><tr><th width="220">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Parameter #1</strong></td><td>A value passed to the script. Use <code>$PARAMETER1$</code> in the script to insert it.</td></tr><tr><td><strong>Parameter #2</strong></td><td>A value passed to the script. Use <code>$PARAMETER2$</code> in the script to insert it.</td></tr><tr><td><strong>Parameter #3</strong></td><td>A value passed to the script. Use <code>$PARAMETER3$</code> in the script to insert it.</td></tr><tr><td><strong>Parameter #4</strong></td><td>A value passed to the script. Use <code>$PARAMETER4$</code> in the script to insert it.</td></tr><tr><td><strong>Parameter #5</strong></td><td>A value passed to the script. Use <code>$PARAMETER5$</code> in the script to insert it.</td></tr></tbody></table>

**Advanced**

<table><thead><tr><th width="220">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Resolve RDM variables before PowerShell variables</strong></td><td>Replace the Remote Desktop Manager variables in the parameter values before the parameters are inserted in the script.</td></tr><tr><td><strong>Custom wait message</strong></td><td>The message displayed in the progress window while the script retrieves the credentials.</td></tr></tbody></table>

### See also

* [Configure LAPS with a custom credentials entry](https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/configure-laps-with-a-custom-credentials-entry.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/rdm/knowledge-base/knowledge-base-articles/entry-settings/custom-credentials.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.
