SOLVED

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%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%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%3CLINGO-SUB%20id%3D%22lingo-sub-1208123%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-1208123%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20the%20same%20issue%20as%20this.%20I%20have%20a%20biometric%20device%2C%20and%20I%20installed%20all%20the%20necessary%20required%20Softwares%20and%20drivers.%20But%20the%20device%20is%20not%20showing%20up%20in%20the%20device%20manager%20in%20the%20WVD%20environment.%20I%20have%20checked%20the%20screenshot%20which%20you%20have%20shared%20below%2C%20not%20able%20to%20view%20the%20drivers%20in%20RDP%20connection%20local%20resource%20settings.%20Any%20help%20or%20suggestion%20is%20much%20appreciated%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%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1259174%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-1259174%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F557804%22%20target%3D%22_blank%22%3E%40gadmin285%3C%2FA%3E%26nbsp%3BI%20also%20would%20like%20to%20have%20this%20functionality%20working.%20The%20interesting%20thing%20is%20it%20does%20work%20if%20you%20use%20a%20direct%20RDP%20to%20the%20WVD%20pool%20member%20with%20the%20flags%20included%20above.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20article%20on%20customrdpproperty%20does%20offer%20the%20same%20functionality%20as%20Azure%20RemoteApp%20did%20back%20in%20the%20old%20days.%20%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%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcustomize-rdp-properties%3C%2FA%3E%3C%2FP%3E%3CP%3EAs%20well%2C%20from%20looking%20at%20the%20roadmap%20documentation%20this%20will%20be%20a%20more%20Horizon%2FCitrixesque%20flow%20later%20with%20the%20new%20Azure.Virtualization%20cmdlets.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EBut%20for%20the%20time%20being%2C%20is%20there%20some%20way%20we%20can%20redirect%20scanners%20and%20USB%20peripherals%20to%20the%20service%20through%20the%20desktop%20client%3F%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
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. 

6 Replies
Highlighted

@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

Highlighted

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

Highlighted
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.

 

Highlighted

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.

Highlighted

I have the same issue as this. I have a biometric device, and I installed all the necessary required Softwares and drivers. But the device is not showing up in the device manager in the WVD environment. I have checked the screenshot which you have shared below, not able to view the drivers in RDP connection local resource settings. Any help or suggestion is much appreciated@Chris Jones 

Highlighted

@gadmin285 I also would like to have this functionality working. The interesting thing is it does work if you use a direct RDP to the WVD pool member with the flags included above.

 

The article on customrdpproperty does offer the same functionality as Azure RemoteApp did back in the old days. https://docs.microsoft.com/en-us/azure/virtual-desktop/customize-rdp-properties

As well, from looking at the roadmap documentation this will be a more Horizon/Citrixesque flow later with the new Azure.Virtualization cmdlets.

 

But for the time being, is there some way we can redirect scanners and USB peripherals to the service through the desktop client?