> 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/rd-session-hosts/manage-rd-session-hosts/manage-hosts-rd-session-hosts/drive-redirection-cache.md). Agents can also search and read this documentation through its [MCP server](https://docs.parallels.com/landing/~gitbook/mcp).

# Drive redirection cache

This topic explains the **Enable drive redirection cache** option, which is available in a dialog where you configure RAS RD Session Host, VDI, Azure Virtual Desktop, or Remote PC agents. When the option is enabled, browsing folders on redirected drives becomes much faster thanks to the caching mechanism explained below.

Native RDP is not efficient for file and folder enumeration when using drive redirection, which results in slow and sluggish user experience. The **Enable drive redirection cache** option forces the session host to run the kernel-based driver (RasRdpFs). This optimizes how the communication is carried out compared to standard RDP and also adds caching of the folder structure on the session host (RDSH, VDI, or Azure Virtual Desktop). The driver starts as soon as the setting is pushed to the session host via **Apply** in the RAS Console. When this happens, all new sessions will have this functionality enabled. The existing sessions need to be reconnected to use this optimization.

To enable and configure drive redirection cache for an RD Session Host:

1. In the RAS Console, navigate to **Farm** > **Site** > **RD Session Hosts**.
2. Select an RD Session Host and open its properties.
3. Select the **Settings** tab.
4. Select **Enable drive redirection cache**.
5. Click **Configure**.
6. In the **Drive Redirection Cache Settings** dialog, select one of the following **File caching** options:
   * `Read-ahead only` enables read-ahead caching. This is the default setting.
   * `Read-ahead and write-behind` enables both read-ahead and write-behind caching. This option can improve performance when reading and writing files on redirected drives.<br>

     <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p><strong>Attention:</strong> Using <code>Read-ahead and write-behind</code> can improve performance but introduces a risk of data loss during write operations if the system reports a successful write before the data is permanently stored.</p></div>
   * `None` disables file caching.
7. Click **OK** to save the settings.

{% hint style="info" %}
**Note**: Write-behind caching cannot be enabled independently. When write-behind caching is enabled, read-ahead caching is always enabled as well.
{% endhint %}

The file caching setting can be configured at the **host**, **host pool**, and **Site** levels. Hosts and host pools can inherit the applicable settings from a higher level or use their own configuration.

### **Notes**

* A session host must run a 64-bit operating system.
* The cache is per session and is paged into the driver memory.
* On log off or disconnect, the cache is purged.
* If the number of cached folders in the session exceeds the threshold, and the user accesses a new non-cached folder, then the oldest accessed folder is replaced in the cache.
* When the option is switched off, all currently active user sessions will lose the cache (the driver is stopped and the cache is purged). This happens transparently to the user, but file and folder enumeration become slow.
* When the option is switched on, all currently active user sessions will not automatically have the cache enabled. To use this functionality, the existing sessions will need to be reconnected.

### **Limitations**

* The option **Enable drive redirection cache** is applicable only to sessions initiated by the following versions of Parallels Client:
  * Parallels Client for Windows versions 18 and later.
* The option **Drive Redirection Cache Settings** are applicable only to sessions initiated by the following versions of Parallels Client:
  * Parallels Client for Windows versions 22 and later.
* Similar to native RDP changes made on the client side (in a remote session), this requires a manual refresh (F5) in a redirected folder on the server side.


---

# 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/rd-session-hosts/manage-rd-session-hosts/manage-hosts-rd-session-hosts/drive-redirection-cache.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.
