none
Only redirect local drives not network drives RRS feed

  • Question

  • We have a new RDS 2012 R2 implementation and would like to know if there is a way to only redirect clients local drives and not their network drives. We have logon scripts to take care of the network drives and the redundancy causes confusion and performance issues. On the performance issue's if they chose the redirected network drive it takes 5 minutes or longer to view the contents of a directory versus instantaneously if they use the drive from the logon script. On our W2k003/Citrix implementation that seemed to be the default behavior and we would like that in RDS 2012 R2

    Thanks.

    Wednesday, August 5, 2015 3:16 PM

Answers

  • Hi,

    Adding to the information Amy has already provided.

    You cannot configure it to only redirect a certain drive type (e.g. only local), but you can specify which letters to allow.  For example, say you know that network drive mappings start at F: or higher.  With that in mind you could set a custom property on your session collection so that only drives C:,D:, and E: will be redirected if they exist.

    To do this you would run the below command in an administrator PowerShell prompt on your RD Connection Broker server:

     
    Set-RDSessionCollectionConfiguration -CollectionName "YourCollectionName" -CustomRdpProperty "drivestoredirect:s:C:\;D:\;E:\;"
     

    The above is the equivalent of selecting C, D, and E in the GUI screen shown in Amy's screenshot.

    -TP

    Friday, August 7, 2015 2:58 PM
    Moderator

All replies

  • Hi Jimmy,

    if there is a way to only redirect clients local drives and not their network drives.

    We can specify which drives to be redirected from Remote Desktop Connection.

    Best Regards,

    Amy


    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, August 7, 2015 12:01 PM
    Moderator
  • Hi,

    Adding to the information Amy has already provided.

    You cannot configure it to only redirect a certain drive type (e.g. only local), but you can specify which letters to allow.  For example, say you know that network drive mappings start at F: or higher.  With that in mind you could set a custom property on your session collection so that only drives C:,D:, and E: will be redirected if they exist.

    To do this you would run the below command in an administrator PowerShell prompt on your RD Connection Broker server:

     
    Set-RDSessionCollectionConfiguration -CollectionName "YourCollectionName" -CustomRdpProperty "drivestoredirect:s:C:\;D:\;E:\;"
     

    The above is the equivalent of selecting C, D, and E in the GUI screen shown in Amy's screenshot.

    -TP

    Friday, August 7, 2015 2:58 PM
    Moderator
  • This is what I ended up doing. I read some places that this was not possible, but it is.

    Thanks!

    Monday, August 10, 2015 11:29 AM
  • Hi all, hi TP[], hi Microsoft-Team,

    I have the same issue with 20012R2 and "On the performance issue's if they chose the redirected network drive it takes 5 minutes or longer to ..."

    However I tried this to check only the redirected c drive but it took again 5 min.
    (In 2008R2 it is much faster!!! About 10 sec instead of 5min/300 sec!)

    Thank you in advance you for a hint or answer,
     Thomas


    ___Thomas___



    Friday, August 14, 2015 7:08 PM