Hi All,
Just want to share that I managed to resolve this scanner re-direction issue by applying below work around. But after applying these setting Reboot is mandatory and it will work for both either for direct RDP or access session host through Remoteapp.
Please install the Scanner drivers into the system from where you will be taking direct RDP of VM or accessing the session host from RemoteApp.
Note: Please note in my environment we have enabled Bastion authentication not the RDP. But below solution worked for both.
Then follow the below steps.
- Please open gpedit.msc as administrator, and enable the below local GPO settings on the system from where you will do the RDP of below mentioned VM.
- Under Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Connection Client > RemoteFX USB Device Redirection
- Enable the policy Allow RDP Redirection of other supported RemoteFX USB devices from this computer
- Under Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection
- Disable the policy item Do not allow supported Plug and Play device redirection
- After applied above mentioned local GPO please run gpupdate /force in CMD by running it as admin and restart the system.
- Once system is back after reboot.
- Plugin the Scanner into one of the USB port in the system from where you will take the RDP of below mentioned VM.
- Before login into the VM through mstsc or accessing it from RemoteApp, Click on "Show Option" >> Chose "Local Resources" >> Click on "More">> expend the "other supported plug and play (PnP) devices" and select all the devices shown here, most probably the scanner will be showing here.
- Once you have connected check if a new icon on the Remote Desktop bar appears. This icon allows you to select which local USB devices are in use within the session. 7- Simply click the icon. Then select the USB devices you wish to pass through, click OK.