Skip to content

Commit 20cec58

Browse files
Merge pull request #296196 from dknappettmsft/avd-drive-redirection-performance
AVD added section for improved drive redirection performance
2 parents 88449a1 + 765fa00 commit 20cec58

File tree

1 file changed

+50
-1
lines changed

1 file changed

+50
-1
lines changed

articles/virtual-desktop/redirection-configure-drives-storage.md

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,56 @@ To test drive redirection:
239239
S on DESKTOP
240240
```
241241
242-
### Optional: Disable drive redirection on a local device
242+
## Improve performance of enumerating files and folders on redirected drives
243+
244+
When a user opens or lists the contents of a redirected drive, the remote session enumerates files and folders of the current directory. If you have a large number of files and folders on the redirected drives, the enumeration process can take a long time and impact the performance of the remote session. The time taken to enumerate depends on the round-trip time (RTT) between the local device and the remote session.
245+
246+
::: zone pivot="azure-virtual-desktop"
247+
For session hosts running Windows 11 24H2 with the [2025-03 Cumulative Update for Windows 11 (KB5053598)](https://support.microsoft.com/kb/KB5053598) or later, the performance of enumerating files and folders on redirected drives is greatly improved.
248+
249+
Once your session hosts have the correct version of Windows 11 and Cumulative Update, to enable the improved performance you need to:
250+
251+
1. Add the following registry key and value to each session host:
252+
253+
- **Key**: `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp`
254+
- **Type**: `REG_DWORD`
255+
- **Value name**: `fAllowQueryDirPrefetch`
256+
- **Value data**: `1`
257+
258+
1. Connect to a remote session using the latest version of Windows App for Windows or the Remote Desktop client for Windows. Only Windows is supported; other platforms aren't currently supported.
259+
::: zone-end
260+
261+
::: zone pivot="windows-365"
262+
For a Cloud PC running Windows 11 24H2 with the [2025-03 Cumulative Update for Windows 11 (KB5053598)](https://support.microsoft.com/kb/KB5053598) or later, the performance of enumerating files and folders on redirected drives is greatly improved.
263+
264+
Once your Cloud PC has the correct version of Windows 11 and Cumulative Update, to enable the improved performance you need to:
265+
266+
1. Add the following registry key and value to each Cloud PC:
267+
268+
- **Key**: `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp`
269+
- **Type**: `REG_DWORD`
270+
- **Value name**: `fAllowQueryDirPrefetch`
271+
- **Value data**: `1`
272+
273+
1. Connect to a remote session using the latest version of Windows App for Windows or the Remote Desktop client for Windows. Only Windows is supported; other platforms aren't currently supported.
274+
::: zone-end
275+
276+
::: zone pivot="dev-box"
277+
For a dev box running Windows 11 24H2 with the [2025-03 Cumulative Update for Windows 11 (KB5053598)](https://support.microsoft.com/kb/KB5053598) or later, the performance of enumerating files and folders on redirected drives is greatly improved.
278+
279+
Once your session hosts have the correct version of Windows 11 and Cumulative Update, to enable the improved performance you need to:
280+
281+
1. Add the following registry key and value to each dev box:
282+
283+
- **Key**: `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp`
284+
- **Type**: `REG_DWORD`
285+
- **Value name**: `fAllowQueryDirPrefetch`
286+
- **Value data**: `1`
287+
288+
1. Connect to a remote session using the latest version of Windows App for Windows or the Remote Desktop client for Windows. Only Windows is supported; other platforms aren't currently supported.
289+
::: zone-end
290+
291+
## Optional: Disable drive redirection on a local device
243292
244293
You can disable drive redirection on a local device to prevent the drives from being redirected between a remote session. This method is useful if you want to enable drive redirection for most users, but disable it for specific devices.
245294

0 commit comments

Comments
 (0)