Solved

RemoteFX device redirection is very slow

Posted on 2013-05-20
10
1,635 Views
Last Modified: 2013-05-24
I have been successful at redirecting USB devices (DVD-ROM, flash drive and card readers) with the help of but the access to those devices are extremely slow. So slow, in fact, that they would not be usable in production.

I added the following to the GPO of the client:
Allow RDP redirection of other supported RemoteFX USB devices from this computer - Administrators and Users
Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Connection Client\RemoteFX USB Device Redirection

I also followed http://support.microsoft.com/kb/2653326 and added the registry entries to allow certain devices to be redirected.
All of this works just fine it's just that all of the devices are very slow.

The clients are Windows 7 SP1 and are using RDP to connect to a VM that is also Windows 7 SP1 running in Hyper-V on a Windows Server 2008 R2 SP1 server. I am on a local LAN and all devices have a 1GB connection. Any ideas on the slow performnace of redirected USB devices?
0
Comment
Question by:KLitman01
  • 6
  • 4
10 Comments
 
LVL 2

Author Comment

by:KLitman01
ID: 39181496
I also just tested this with VM's running Windows 7 and Windows 8 both on Windows Server 2012 and I received the same result of slow redirected devicves.
0
 
LVL 38

Expert Comment

by:Aaron Tomosky
ID: 39183132
How slow? Any faster copying from a non USB drive?
0
 
LVL 2

Author Comment

by:KLitman01
ID: 39183150
If I copy from the client VM to or from the network, I get expected speeds but from a USB flash drive for instance, it takes about 15-20 seconds to open a 3-4mb picture.
0
 
LVL 38

Expert Comment

by:Aaron Tomosky
ID: 39183170
What we need here are read/write speeds. Copy something from the USB over rdp then back.
Then copy from the desktop in the vm to the client and back.
0
 
LVL 2

Author Comment

by:KLitman01
ID: 39183175
I'll do that and post the results tomorrow.
0
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 
LVL 2

Author Comment

by:KLitman01
ID: 39184106
USB over RDP speeds are: 600KB/sec read and 500KB/sec write. The same USB flash drive not over RDP is 60MB/sec read and 8MB/sec write. From the vm to the client I get network speeds of 120MB/sec read and write.

The USB redirection over RDP is the issue. We have been VDI for a while now with Cirtix and when we redirect USB over the Citrix ICA connection we maintain expected speeds with USB devices. But since we need RemoteFX, we cannot use the Citrix ICA but need to use RDP. Also, before anyone asks, no it's not a Citrix issue as I have completed taken Citrix out of the senario for testing.
0
 
LVL 38

Accepted Solution

by:
Aaron Tomosky earned 500 total points
ID: 39184764
According to Microsoft, USB drives don't even use USB redirection, they use drive redirection (http://blogs.msdn.com/b/rds/archive/2010/06/10/introducing-microsoft-remotefx-usb-redirection-part-3.aspx)
"
Mass storage devices (hard drives, CD/DVD drives, memory card readers, USB flash drives)

Mass storage devices are redirected via drive redirection, which provides file system level access to the device. These devices are not redirected via RemoteFX USB redirection. Exception: When an all-in-one printer is redirected, the memory card reader in the device will be redirected via RemoteFX USB redirection.
Drive redirection does not provide low-level access to the redirected drive. As such, the following are not supported in the remote session:
CD Burning (However, drive-letter access (DLA) using an appropriate DLA application installed on the client will function in the remote session.)
Audio extraction/CD “ripping”
Playback of encrypted DVDs
Copy-protected games
Managing BitLocker-encrypted USB storage
"
So lets add to the information you have already gathered about the flash drive and the environment. Now I want to compare drive redirection using a USB drive and drive redirection using a local sata hard drive (without any USB flash drives plugged in). If this is still slow, we can toss the whole USB thing and focus on file transfer settings, speeds, jitter and latency. If the local sata drive is faster, then we can focus on the USB aspect of it.
0
 
LVL 2

Author Comment

by:KLitman01
ID: 39184830
What's the difference between USB & drive redirection? When I plug in a USB CD-RW for instance, the VM I am RDP'd into sees it as an actual drive letter (E: not "E on Client"). I can even burn a CD this way in the VM but as with the flash drives, it is extremely slow on reads and writes.
0
 
LVL 38

Expert Comment

by:Aaron Tomosky
ID: 39185092
you can burn a cd? thats interesting considering ms specifically states it doesn't do that. I'm in over my head at this point as I'm a VMware and have minimal experience with hyperv. All your basic network at stats look good and at this point it's likely to be some obscure setting or patch. I noticed you have also posted on the ms forums, that may go better for you. I suggest you add the information you have given me over there.
0
 
LVL 2

Author Comment

by:KLitman01
ID: 39195503
This is being used in a Citrix environment and we wanted RemoteFX enabled so we could offload video to a server with the proper graphics card. Since RDP wasn't working so well with the USB redirection part of things, we decided to install Citrix XenApp on the physical servers with the graphics cards and then offload the graphics to hosted applications on the XenApp servers. This seems to have solved our issue by avoiding RDP and RemoteFX.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now