> 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/ribbon-menu-bar/administration/templates/password-policies.md).

# Password policies

Create and enforce password policies in Remote Desktop Manager, defining character rules, patterns, and passphrase settings for the password generator.

Password policies set requirements for the password format: characters usage, patterns, readability. They are available in the password generator. Password policies can be optional or required.

#### Create a Password policy

1. In Remote Desktop Manager, go to ***Administration*** – ***Password policies***.
2. Select the ***Workspace*** tab to create a policy shared with the workspace, or the ***Local machine*** tab to create a policy saved on this computer.
3. Click ***Add template***.
4. Enter a ***Name***.
5. Enter a ***Description***.
6. Select a value in ***Expires after***. With ***Custom***, enter the number of days in ***Days before expiration***.
7. Choose a ***Mode***.
8. Configure the settings of the mode.
9. Click ***Create***.

{% hint style="info" %}
The ***Password policies*** window also offers the ***Duplicate template***, ***Edit template***, ***Delete template***, ***Manage passphrase dictionaries*** and ***Password generator*** commands.
{% endhint %}

<table><thead><tr><th width="232.4000244140625">MODE</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><em><strong>Password complexity</strong></em></td><td>Minimum length and minimum number of lowercase, uppercase, numeric characters and symbols, with characters to exclude.</td></tr><tr><td><em><strong>Custom characters</strong></em></td><td>Password length and the character types to use (uppercase, lowercase, digits, minus, underline, space, special, brackets, high ANSI), with characters to include or exclude and the <em><strong>XML Compliant</strong></em> option.</td></tr><tr><td><em><strong>Readable password</strong></em></td><td>Settings for syllables, numbers and symbols.</td></tr><tr><td><em><strong>Use a pattern</strong></em></td><td>Set a pattern for the passwords using the <a href="/rdm/ribbon-menu-bar/tools/password-generator.md">key</a>.</td></tr><tr><td><em><strong>Pronounceable password</strong></em></td><td>Settings for length, case, digits, and characters.</td></tr><tr><td><em><strong>Strong password</strong></em></td><td>Password generated from a large character set. Not offered on macOS.</td></tr><tr><td><em><strong>Passphrase</strong></em></td><td>Settings for word count, word separator, first letter capitalization, appended number or character, maximum length, and dictionary. Import passphrase dictionaries with <em><strong>Manage passphrase dictionaries</strong></em> in the <em><strong>Password policies</strong></em> window.</td></tr><tr><td><em><strong>LessPass (deterministic)</strong></em></td><td>Password calculated from a site, a login and a master password, with a counter, a length and the character types to include. The same values always produce the same password.</td></tr><tr><td><em><strong>Stanford password policy</strong></em></td><td>Length and the character types to include. Longer passwords require fewer character types.</td></tr><tr><td><em><strong>XKCD password</strong></em></td><td>Settings for word count, minimum and maximum word length, word separator, word capitalization, added number or symbol, and dictionary.</td></tr></tbody></table>

With a Devolutions Cloud workspace, the policies of the ***Workspace*** tab offer only the ***Password complexity***, ***Passphrase***, ***LessPass (deterministic)***, ***Stanford password policy*** and ***XKCD password*** modes.

The policy is now available in the ***Password generator*** (***Tools*** menu).

#### Use a Password policy with the Password generator

1. Go to ***Tools*** – ***Password generator***, or open the password generator from an entry.
2. Select a policy in the ***Password policy*** list. ***No policy (custom settings)*** uses the settings selected in the password generator. When a policy is selected, its settings cannot be changed in the password generator.
3. Click ***Generate*** to list possible passwords.

#### Set a default Password policy

The password generator opens with ***No policy (custom settings)*** until an administrator sets a default policy.

1. In Remote Desktop Manager, go to ***Administration*** – ***System settings***.
2. Select ***Password management*** – ***Password policies***.
3. Select the policy in ***Default policy***. The password generator now opens with this policy.
4. To force this policy, select ***Lock password policy***. No other policy is available in the password generator, except for users with the permission to bypass the forced default policy.

#### See also

* [Devolutions Academy - Creating and enforcing password policies](https://academy.devolutions.net/student/path/1925039/activity/2667183)
* [Devolutions Academy – Simplifying setup with entry templates and password policies](https://academy.devolutions.net/student/activity/3380088)
* [Inheritance](/rdm/concepts/intermediate-concepts/inheritance.md)
* [Password management](/rdm/knowledge-base/knowledge-base-articles/entry-settings/common-settings/password-management.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/ribbon-menu-bar/administration/templates/password-policies.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.
