260 likes | 992 Views
SESSION CODE: WSV309. Microsoft RemoteFX : USB and Device Support . Nelly Porter Group Program Manager Remote Desktop Virtualization Microsoft Corporation. Experience RemoteFX Devices. Why RemoteFX USB Devices? High Level vs. Low Level Redirection Core components
E N D
SESSION CODE: WSV309 Microsoft RemoteFX: USB and Device Support Nelly Porter Group Program Manager Remote Desktop Virtualization Microsoft Corporation
Experience RemoteFX Devices • Why RemoteFXUSB Devices? • High Level vs. Low Level Redirection • Core components • What do you need to know to allow USB devices to be redirected • Demos!
RemoteFX meets RDP Goals • Close the experience gap between Local and Remote
Why RemoteFX USB Devices? • I want to be able to use devices I want, and have it just work
Where would you use RemoteFX USB Devices? • Advantages • No client drivers necessary • Works with any device • Disadvantages • Only one session can use a USB device at a time • Best of the Two Worlds • Use Both!
RemoteFXAudio DevicesE.g. USB speakers, USB headset, USB Microphone, USB Phone
RemoteFX HID DevicesE.g. Tablets, Media remotes, Joysticks, and many more
Printers and Scanners • Printers only • EasyPrint or legacy redirections • Printers as multi-function device • RemoteFX USB • Scanners only • RemoteFX USB
Most Wanted RemoteFX Devices Place #2 and #3
Other Devices (isochronous and bulk transfer)E.g Office warfare ( Rocket Launcher with WebCam Combo) It sees you when you are working, it knows when you come late... Fire over six meters, giving you coverage for over 113 square meters
RemoteFX USB Devices Design Goals • Stability • Driver failures should NOT bring down the system • Driver failures are isolated to the VM • Applications are transparent to redirected devices • Isochronous, layered drivers, with services or without • Integrate with PnP subsystem for device installs, driver load/unload • Security • Driver failures should NOT compromise the system • Driver failures are isolated to the VM • Driver interfaces should be validated • Obey all USB “restriction” policies • Work for both KMDF and UMDF drivers
Provided by: Microsoft IHV/ISV Architectural Block Diagram RDP7.1 Client Sessions Notifications RemoteFX Devices Enumeration User Kernel USB Device Driver RemoteFX Generic USB Driver RemoteFX USB HUB Filter RemoteFX Redirected Device Proxy USB HUB RemoteFX USB Hub Client Server
Provided by: Microsoft IHV/ISV Local USB Device Arrival Application USB Device Driver 4 Win32 I/O API User Kernel Windows Kernel (I/O Mgr, PnP) 3 2 USB HUB 1
3 Provided by: Microsoft IHV/ISV USB Device Claimed by RDP Client VM RDP Server RDP Client RDP USB Device Driver 6 User 4 Kernel Windows Kernel (I/O Mgr, PnP) Remote FX Generic USB Driver 5 2 RemoteFX USB Hub Filter 1 USB HUB
Provided by: Microsoft IHV/ISV Device Claiming, VM side VM RDP Server Application USB Device Driver 11 Win32 I/O API User Kernel Windows Kernel (I/O Mgr, PnP) 10 7 RemoteFX Device Proxy 8 9 RemoteFX USB HUB
Provided by: Microsoft IHV/ISV Device Removal and Cleanup RemoteFX USB Hub USB Device Driver VM RDP Server Device Removal • Data Flow path similar to “claim device” • In reverse order • Auto-reconnect • No changes until all attempts to restore connectionexhausted • Disconnect • All devices removed
Security Data Flow • Server has to authenticate itself • Even when client and server both authenticated • Data returned from the device on the client or server is considered “not trusted” • Additional validation is provided for subset of IOCTLs and URB interfaces, e.g. • All IDs returned from the device prior to be used on server • Every URB packet request • Should meet USB 2.0 specification
Most Wanted RemoteFXDevice Place #1
Additional Resources • Email rfxusb@microsoft.com • Read more on RDV Blog
Required Slide Resources Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers • http://microsoft.com/technet • http://microsoft.com/msdn
Required Slide Complete an evaluation on CommNet and enter to win!
Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registrationJoin us in Atlanta next year
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.