SOLVED
Home

Can i access my USB devices from Windows Virtual Desktop?

%3CLINGO-SUB%20id%3D%22lingo-sub-733628%22%20slang%3D%22en-US%22%3ECan%20i%20access%20my%20USB%20devices%20from%20Windows%20Virtual%20Desktop%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-733628%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everybody.%20Is%20it%20possible%20if%20WVD%20accesses%20remote%20USB%20device%20like%20remote%20mouse%20or%20keyboard%3F%20Please%20give%20me%20some%20guide%20for%20it.%20Thanks%20for%20your%20help.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-734669%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20i%20access%20my%20USB%20devices%20from%20Windows%20Virtual%20Desktop%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-734669%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F369761%22%20target%3D%22_blank%22%3E%40Hau_Le%3C%2FA%3E%26nbsp%3B-%20yes%20you%20can.%20It's%20supported%20through%20the%20standard%20RDP%20connection.%20You'll%20need%20to%20enable%20the%20function%20if%20you%20haven't%20already.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F121934iD57326D4AC685ED2%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22usb.PNG%22%20title%3D%22usb.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-735496%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20i%20access%20my%20USB%20devices%20from%20Windows%20Virtual%20Desktop%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-735496%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F111421%22%20target%3D%22_blank%22%3E%40Chris%20Jones%3C%2FA%3E%26nbsp%3B-%20thanks%20for%20reply%2C%20but%20i%20wanna%20use%20usb%20remote%20in%20WVD%20client%20and%20Remote%20Desktop%20Connection%20probably%20not%20supported.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F122007i636B137F9941450C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture.PNG%22%20title%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-736059%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20i%20access%20my%20USB%20devices%20from%20Windows%20Virtual%20Desktop%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-736059%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F369761%22%20target%3D%22_blank%22%3E%40Hau_Le%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20still%20can%20manipulate%20these%20settings%2C%20using%20the%26nbsp%3B%3CSTRONG%3ESet-RdsHostPool%3C%2FSTRONG%3E%20cmdlet%20with%20the%26nbsp%3B%3CSTRONG%3E-CustomRdpProperty%3C%2FSTRONG%3E%20parameter.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcustomize-rdp-properties%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcustomize-rdp-properties%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20look%20at%20the%20supported%20settings%2C%20you%20will%20find%20the%26nbsp%3B%3CSTRONG%3Edrivestoredirect%3C%2FSTRONG%3E%20setting%2C%20controlling%20the%20drive%20mappings.%20If%20you%20set%20this%20CustomRdpProperty%20to%26nbsp%3B%3CSTRONG%3Edrivestoredirect%3As%3A*%3C%2FSTRONG%3E%2C%20all%20new%20devices%20should%20be%20available%20as%20well%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-gb%2Fwindows-server%2Fremote%2Fremote-desktop-services%2Fclients%2Frdp-files%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-gb%2Fwindows-server%2Fremote%2Fremote-desktop-services%2Fclients%2Frdp-files%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20did%20the%20test%20with%20a%20USB%20Drive%20and%20a%20USB%20Keyboard%2C%20both%20became%20available%20during%20an%20active%20session.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-739002%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20i%20access%20my%20USB%20devices%20from%20Windows%20Virtual%20Desktop%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-739002%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F298270%22%20target%3D%22_blank%22%3E%40michawets%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20reply%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20to%20use%20the%26nbsp%3B%3CSTRONG%3ECustomRdpProperty%26nbsp%3B%3C%2FSTRONG%3Ewith%26nbsp%3B%3CSTRONG%3Edrivestoredirect%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3Bsetting%20and%20it%20was%20detect%20C%2C%20D%20drives%20in%20my%20desktop.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EBut%2C%20i'm%20expecting%20that%20WVD%20can%20detect%20some%20USB%20device%20like%20Phone%20or%20peripheral%20but%20it%20don't.%20I%20try%20to%20find%20RDP%20setting%20parameter%20to%20redirect%20USB%20device%20but%20i%20don't%20have%20any%20result.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Hau_Le
New Contributor

Hi everybody. Is it possible if WVD accesses remote USB device like remote mouse or keyboard? Please give me some guide for it. Thanks for your help. 

4 Replies

@Hau_Le - yes you can. It's supported through the standard RDP connection. You'll need to enable the function if you haven't already.

 

usb.PNG

@Chris Jones - thanks for reply, but i wanna use usb remote in WVD client and Remote Desktop Connection probably not supported.Capture.PNG

Solution

Hi @Hau_Le ,

 

You still can manipulate these settings, using the Set-RdsHostPool cmdlet with the -CustomRdpProperty parameter.

https://docs.microsoft.com/en-us/azure/virtual-desktop/customize-rdp-properties

 

If you look at the supported settings, you will find the drivestoredirect setting, controlling the drive mappings. If you set this CustomRdpProperty to drivestoredirect:s:*, all new devices should be available as well

https://docs.microsoft.com/en-gb/windows-server/remote/remote-desktop-services/clients/rdp-files

 

I did the test with a USB Drive and a USB Keyboard, both became available during an active session.

 

Hi @michawets ,

Thank you for your reply,

 

I tried to use the CustomRdpProperty with drivestoredirect setting and it was detect C, D drives in my desktop.

But, i'm expecting that WVD can detect some USB device like Phone or peripheral but it don't. I try to find RDP setting parameter to redirect USB device but i don't have any result.

Related Conversations
Extentions Synchronization
Deleted in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
36 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies