From 9fe78018a990559b1c44c802a6a11069d17bfc18 Mon Sep 17 00:00:00 2001 From: Zac Bergquist Date: Thu, 29 Aug 2024 16:23:06 -0600 Subject: [PATCH] docs: add troubleshooting step for directory sharing failures Closes #45461 --- .../desktop-access/troubleshooting.mdx | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/docs/pages/enroll-resources/desktop-access/troubleshooting.mdx b/docs/pages/enroll-resources/desktop-access/troubleshooting.mdx index 5ca7930f075c..a2845505fdf0 100644 --- a/docs/pages/enroll-resources/desktop-access/troubleshooting.mdx +++ b/docs/pages/enroll-resources/desktop-access/troubleshooting.mdx @@ -419,3 +419,28 @@ To fix this error, ensure that either: - the server's `addr` field specifies the correct computer name See [Computer Name](./active-directory.mdx#computer-name) for more information. + +## Directory Sharing + +### Failed to share directory + +Attempts to share a directory fail and a warning is presented that says: + +``` +Failed to share directory, drive redirection may be disabled on the RDP server. +``` + +**Solution:** Ensure that device redirection is enabled. + +Teleport's directory sharing feature leverages RDP device redirection. +If device redirection is not enabled or allowed by the RDP server then the operation +will fail. + +Device redirection is typically enabled by default, but may be disabled in group policy. +The relevant settings are located under: + +```text +Computer configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection +``` + +Make sure that the option for *Do not allow drive redirection* is unset or disabled.