[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 937
  • Last Modified:

Can I restrict the drive letters redirected in rdp?

I am using Windows server 2003R2 or 2008R2 as a Terminal server\Remote Desktop.

RDP session drive redirection can be allowed or disallowed using several methods, including Group Policies.

A GPO can be used to allow drive redirection, which then allows the RDP clients to redirect all local and mapped drives to the RDP host.

What I am looking for is a way to only redirect one specific drive, (example X:) but no other drives either local or network such as C; D: etc.

I'm looking for some way to 'filter' the drives redirected instead of just the enable or disable available in Group Policy.

Thanks
0
fncexperts
Asked:
fncexperts
  • 4
  • 4
1 Solution
 
Justin OwensITIL Problem ManagerCommented:
I think a better solution for you would be to have a login script on your RDP machine which runs on connection.  Seems a lot easier.  I am not sure what you are asking is even possible in GPO.  I would turn off drive redirection and then just map your X drive from the server.  Of course, this is assuming your X drive is not local to the client machine.....

DrUltima
0
 
fncexpertsAuthor Commented:
Thanks, Fast response..
Drive X in this case is a drive redirected from the local machine using MSTSC, the Terminal server will be in a DMZ preventing all but RDP accesss.

0
 
Justin OwensITIL Problem ManagerCommented:
So, you want it to where only drive X is mapped, and no others via  RDP initiation?
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
fncexpertsAuthor Commented:
Yes..So an RDP session has only a specific local drive, not all the local drives available.
Thanks

0
 
Justin OwensITIL Problem ManagerCommented:
Is the specific local drive you want to retained as mapped universally applied (is it the same for all users)?
0
 
fncexpertsAuthor Commented:
Yes, I intend for the RDP redirect to be consistently the same drive.

Thanks
0
 
Justin OwensITIL Problem ManagerCommented:
Then your logon script for the TS server can wait a few seconds (For the RDP to actually establish the share) and then unmap any mapped drives you don't want to retain.  There really isn't another way around that.
0
 
fncexpertsAuthor Commented:
OK, we'll go with that.

Thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now