Use drive redirection through Remote Desktop Services

Local drive redirection isn't working in RDP Session

  • Article
  • 09/24/2021
  • 2 minutes to read
  • 3 contributors

Is this page helpful?

Yes No

Any additional feedback?

Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services. Privacy policy.

Submit

Thank you.

In this article

This article provides a solution to an issue where local drive redirection isn't working in RDP Session.

Applies to: Windows Server 2003
Original KB number: 2436104

Local drive redirection isn't working in RDP Session

  • Bài viết
  • 09/24/2021
  • 2 phút để đọc
  • 3 người đóng góp

Trang này có hữu ích không?

Có Không

Bạn còn phản hồi nào nữa không?

Ý kiến phản hồi sẽ được gửi đến Microsoft: Bằng cách nhấn nút gửi, ý kiến phản hồi của bạn sẽ được sử dụng để cải thiện các sản phẩm và dịch vụ của Microsoft. Chính sách về quyền riêng tư.

Gửi

Cảm ơn bạn.

Trong bài viết này

This article provides a solution to an issue where local drive redirection isn't working in RDP Session.

Applies to: Windows Server 2003
Original KB number: 2436104

POLICY DESCRIPTION:

This policy specifies whether to prevent the mapping of client drives in a Remote Desktop Services session.

By default, an RD Session Host server maps client drives automatically upon connection. Mapped drives appear in the session folder tree in Windows Explorer or Computer in the format on . This setting overrides this behavior.

RDS: Do not allow clipboard redirection- The Policy Expert

POTENTIAL VULNERABILITY:

A user that’s connecting to a terminal server can choose which drives to redirect to the remote server, including mapped network drives.

There is danger in users that redirect local and mapped drives regardless of whether they need it. Those mapped drives may contain sensitive data.

If the status is set to Disabled, client drive redirection is always allowed. If the status is set to Not Configured, client drive redirection is not specified at the Group Policy level. However, an administrator can still disable the client drive redirection by using the Remote Desktop Session Host Configuration tool.

Do not allow drive redirection

This policy setting specifies whether to prevent the mapping of client drives in a Remote Desktop Services session [drive redirection].

By default, an RD Session Host server maps client drives automatically upon connection. Mapped drives appear in the session folder tree in File Explorer or Computer in the formaton. You can use this policy setting to override this behavior.

If you enable this policy setting, client drive redirection is not allowed in Remote Desktop Services sessions, and Clipboard file copy redirection is not allowed on computers running Windows Server 2003, Windows 8, and Windows XP.

If you disable this policy setting, client drive redirection is always allowed. In addition, Clipboard file copy redirection is always allowed if Clipboard redirection is allowed.

If you do not configure this policy setting, client drive redirection and Clipboard file copy redirection are not specified at the Group Policy level.

Supported on: At least Windows Server 2003 operating systems or Windows XP Professional


RegistryHiveHKEY_LOCAL_MACHINE
RegistryPathSOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
ValueNamefDisableCdm
ValueTypeREG_DWORD
EnabledValue1
DisabledValue0


terminalserver.admx

How to disable drives
redirection & USB Devices

RedirectionFiles Management

Categories

Redirection

Print from your Cloud Computer Scan from your Cloud Computer Redirect Webcams to use in your Cloud Computer Disable drives redirection

Files Management

Transfer files to your Cloud Computer Back-up your files using Windows Shadow Copies Add a new disk to your Cloud Computer Recover a file from a snapshot Share a drive between multiple computers Change folder access for different user group Setup a secure FTP server in your Cloud Computer Change folder permissions on Windows 2016 Disable drives redirection Configure folder access for different user groups

Active Directory

Join a Windows Server computer to AzureAD Join a Windows 10 Computer to AzureAD Join a Computer to a Domain How to setup SSO in Azure AD[With V2 Cloud] How to Use V-Key with V2 Cloud How to Use V-Key with V2 Cloud

Application

Run an application with administrator privileges Attach Amazon S3 bucket to cloud computer Setup Gmail on my outlook client Setup Wolfram on your cloud computer How to Publish a Windows Application on V2 Cloud How to Setup Remote App How to use Auto Login RD Web Access! What is it and how to set it up

Billing

Cancel your subscription

Backup

Manage backups of your Cloud Computer Back-up your files using Windows Shadow Copies Recover a file from a snapshot

Cloud Computer

Create your first Cloud Computer Connect to your Cloud Computer Print from your Cloud Computer Scan from your Cloud Computer Transfer files to your Cloud Computer Enable multi monitors on the V2 Cloud Client Use Share View and see the screen of your users Redirect Webcams to use in your Cloud Computer Add users to an existing Cloud Computer Change hardware of your Cloud Computer Increase disk space on your Cloud Computer Manage backups of your Cloud Computer Add a new disk to your Cloud Computer Manually reboot or shut down your Cloud Computer Add users in bulk with a CSV file Join a Computer to a Domain Forward a port to your Cloud Computer Setup a secure FTP server in your Cloud Computer Install Office 365 on your Cloud Computer Reduce memory [RAM] usage of your Cloud Computer Attach Amazon S3 bucket to cloud computer Setup Gmail on my outlook client Setup Wolfram on your cloud computer Share your screen from your Desktop How to Fix Encryption Oracle remediation Toggle RDP Connection by Default in the V2 Cloud App How to create and use a Template/Workspace in V2 Cloud How to Disable Copy/Paste for All Users Change RDP port Remote Desktop Gateway

Collaboration

Use Share View and see the screen of your users Share a drive between multiple computers

Data

Increase disk space on your Cloud Computer Manage backups of your Cloud Computer How To Restrict Access To USB Devices with GPO How to Setup Google File Stream How to move users’ profile data to a secondary disk

Getting Started

Create your first Cloud Computer Connect to your Cloud Computer Print from your Cloud Computer Scan from your Cloud Computer Transfer files to your Cloud Computer Redirect Webcams to use in your Cloud Computer Add users to an existing Cloud Computer Manually reboot or shut down your Cloud Computer Install Office 365 on your Cloud Computer Setup Gmail on my outlook client RPi Zero Client Setup on Raspberry Pi 4

Hardware

Change hardware of your Cloud Computer Increase disk space on your Cloud Computer Reduce memory [RAM] usage of your Cloud Computer How To Restrict Access To USB Devices with GPO

IP Addresses

Forward a port to your Cloud Computer

MFA

Enable Two Step Authentication Enforce user 2 step authentication for your users How to setup SSO in Azure AD [With V2 Cloud] How to Use V-Key with V2 Cloud How to Use V-Key with V2 Cloud

Network

Join a Windows Server computer to AzureAD Join a Windows 10 Computer to AzureAD Join a Computer to a Domain Forward a port to your Cloud Computer Setup a secure FTP server in your Cloud Computer How to Fix Encryption Oracle remediation How To Authorize Specific Websites Only How to use OneLogin with V2 Cloud Toggle RDP Connection by Default in the V2 Cloud App How to Use V-Key with V2 Cloud How to Use JumpCloud SSO With V2 Cloud Change RDP port Remote Desktop Gateway How to create, open and configure RDP file How to setup Google SSO How To Open a Remote Desktop Session With Admin Rights

Office365

Install Office 365 on your Cloud Computer

Security

Enable Two Step Authentication Enforce user 2 step Authentication How to setup SSO in Azure AD[With V2 Cloud] How to use OKTA SSO with V2 Cloud How to Fix Encryption Oracle remediation How To Restrict Access To USB Devices with GPO How To Authorize Specific Websites Only How to use OneLogin with V2 Cloud How to Use V-Key with V2 Cloud How to Use JumpCloud SSO With V2 Cloud How to use Auto Login Remote Desktop Gateway How to setup Google SSO How to Reset Passwords for your Users How to use the Console View from your Dashboard

Server

Join a Windows Server computer to AzureAD Join a Windows 10 Computer to AzureAD Setup a secure FTP server in your Cloud Computer How to create, open and configure RDP file RD Web Access! What is it and how to set it up How To Open a Remote Desktop Session With Admin Rights How to use the Console View from your Dashboard How To Install RDS CALs on Windows Server

Storage

Add a new disk to your Cloud Computer How to Setup Google File Stream Increase disk space on your Cloud Computer

Snapshots

Recover a file from a snapshot

Third-Party Software

Setup Wolfram on your cloud computer How to Setup Google File Stream How to use OneLogin with V2 Cloud How to Use V-Key with V2 Cloud How to Publish a Windows Application on V2 Cloud How to Setup Remote App

User Management

Use Share View and see the screen of your users Add users to an existing Cloud Computer Add users in bulk with a CSV file Add an administrator to an account Change folder access for different user group Enforce user 2 step authentication for your users Automatically sign off users after they have been disconnected for some time Change the Windows account username Change wallpaper for all users at once Download and install a language pack on Windows Change folder permissions on Windows 2016 Configure folder access for different user groups How to Use V-Key with V2 Cloud How to create and use a Template/Workspace in V2 Cloud How to Disable Copy/Paste for All Users How to move users’ profile data to a secondary disk

V2 Client

Enable multi monitors on the V2 Cloud Client RPi Zero Client Setup on Raspberry Pi 4

Windows OS

Back-up your files using Windows Shadow Copies Add an administrator to an account Share a drive between multiple computers Change folder access for different user group Join a Windows 10 Computer to AzureAD Configure Windows to reboot automatically on schedule Automatically sign off users after they have been disconnected for some time Change the Windows account username Change wallpaper for all users at once Download and install a language pack on Windows Change folder permissions on Windows 2016 Configure folder access for different user groups Run an application with administrator privileges Attach Amazon S3 bucket to cloud computer How To Install RDS CALs on Windows Server How To Optimize Video Performance on RDP

End User

How to Use V2 Cloud Using the Desktop App [Recommended] How to use V2 Cloud Using the Web Browser How to use Auto Login

RDP

How to create, open and configure RDP file How To Open a Remote Desktop Session With Admin Rights How To Optimize Video Performance on RDP

In this tutorial, you will learn how to disable drive redirection in Group Policy. This will restrain your users from accessing their local drives [C: for example]. In a Virtual Machine environment, your users won’t see their local machine while using V2 Cloud.

Using Microsoft Group Policy

In order to prevent local drives to be mapped from your Cloud Computer please follow the below steps.

STEP 1

Connect to Cloud Computer as Administrator and in the Windows start menu type run, then click Run below Apps category.

STEP 2

In the run window type gpedit.msc and hit enter in order to access the Local Group Policy Editor.

STEP 3

In the Local Group Policy Editor expand Administrative Templates, then Windows Components.

STEP 4

Expand Remote Desktop Services -> Remote Desktop Session Host -> Device and Resource Redirection.

STEP 5

In the right pane, double click “Do not allow drive redirection” policy, select Enabled and click Apply and OK to save the policy.

STEP 6

Finally, in the top left corner, click File and Exit.

Notes

– This policy will take effect for new sessions and it will be applied to everyone who accesses this server with RDP and V2 Cloud clients, to make sure policy applies please reboot your server, or open a command prompt and run gpudapte /force.

– This policy will block access to redirected USB and network drives.

– If you are required to apply this policy for non-administrators or specific users, it can be achieved only if the Cloud Computer is joined in Active Directory.

Back To Tutorials Menu

Video liên quan

Chủ Đề