> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-admin-guide/parallels-ras-22-administrators-guide/connection-and-authentication-settings/device-posture/add-a-device-posture-rule.md). Agents can also search and read this documentation through its [MCP server](https://docs.parallels.com/landing/~gitbook/mcp).

# Add a Device Posture Rule

Device posture rules are added with the **Add Device Posture Rule** wizard. The first page of the wizard is the same for every rule type. The pages that follow depend on the rule type that you selected.

To add a device posture rule:

1. In the RAS Console, navigate to **Connection** and select the **Allowed devices** tab.
2. In the **Device posture** section, click **Tasks** > **Add** (or click the **\[+]** icon) and select the type of rule that you want to add:

   * **Minimum OS version**
   * **Registry**
   * **User access control**
   * **Automatic Windows update**
   * **Running processes**
   * **Antivirus**
   * **Windows firewall profile** The **Add Device Posture Rule** wizard opens. Rule types that are already configured and that can only be added once are not available in the menu.

   <figure><img src="https://content.gitbook.com/content/9jy41JXW7bkKZGilrfOn/blobs/e38f6fwGIZ5HeAt65PDg/RAS-81142_B.png" alt=""><figcaption></figcaption></figure>
3. On the first page of the wizard, specify the following:

   * **Enable device posture rule**: select this option to evaluate the rule. If cleared, the rule is created but is not applied to any connection.
   * **Name**: the name of the rule. The rule type is used as the default name.
   * **Description**: an optional description of the rule.
   * **Type**: the rule type that you selected in step 2. This field is read-only.
   * **If device does not meet this rule**: what happens when the device is evaluated and does not satisfy the rule. Select **Access denied** to prevent the device from connecting to Parallels RAS, or **Non-compliant** to let the device connect and report it as non-compliant.
   * **If compliance cannot be determined**: what happens when the rule cannot be evaluated on the device. Select `Non-compliant` to let the device connect and report it as non-compliant, or `Access denied` to prevent the device from connecting.
   * **Notify user when compliance cannot be determined**: select this option to show the user a message when the rule cannot be evaluated on their device. Cleared by default.

   <figure><img src="https://content.gitbook.com/content/9jy41JXW7bkKZGilrfOn/blobs/5ue2Vqi3Hz4trI9PucHh/RAS-81142_C.png" alt=""><figcaption></figcaption></figure>
4. Click **Next**.
5. Specify the settings that are specific to the rule type. These settings are described in **Device posture rule settings**. The **User access control** and **Automatic Windows update** rule types have no additional settings, so the wizard goes straight to the summary page.
6. Click **Next** and review the summary of the rule.<br>

   <figure><img src="https://content.gitbook.com/content/9jy41JXW7bkKZGilrfOn/blobs/Svh3SYHYzTxFWPqBtx45/RAS-81142_D.png" alt=""><figcaption></figcaption></figure>
7. Click **Finish** to create the rule.
8. Click **Apply**.

### Rule types

<table data-header-hidden="false" data-header-sticky><thead><tr><th>Rule type</th><th>Platforms</th><th>Can be added more than once</th></tr></thead><tbody><tr><td>Minimum OS version</td><td>Windows</td><td>No</td></tr><tr><td>Registry</td><td>Windows</td><td>Yes</td></tr><tr><td>User access control</td><td>Windows</td><td>No</td></tr><tr><td>Automatic Windows update</td><td>Windows</td><td>No</td></tr><tr><td>Running processes</td><td>Windows</td><td>Yes</td></tr><tr><td>Antivirus</td><td>Windows</td><td>No</td></tr><tr><td>Windows firewall profile</td><td>Windows</td><td>No</td></tr></tbody></table>

{% hint style="info" %}
**Note**: A rule is only evaluated on the platforms that it supports. Devices running other platforms are not affected by it.
{% endhint %}


---

# 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.parallels.com/landing/ras-admin-guide/parallels-ras-22-administrators-guide/connection-and-authentication-settings/device-posture/add-a-device-posture-rule.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.
