question

ManavJain-2977 avatar image
0 Votes"
ManavJain-2977 asked AliEshraghiIvari-0199 commented

Integrated Webcam over remote desktop connection

I am unable to use my integrated webcam over remote desktop connection. In remote desktop connection, show options , i enabled the local resources .But still, not able to connect . What am i missing here . Please help!

remote-desktop-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

APoblacion avatar image
0 Votes"
APoblacion answered ManavJain-2977 commented

There's an article here that shows where to enable the camera:

https://www.nextofwindows.com/how-to-allow-usb-webcam-passthrough-rdp-session

But note that this only works with mstsc.exe client, which implies that you are running on Windows. It is not supported from a Mac or from a different RDP client.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

That's what I am saying ,I have done the same things as mentioned in the above link but I am unable to use my integrated inbuilt webcam over remote desktop. Can u pls guide me through it .

0 Votes 0 ·
Jingruihan-MSFT avatar image
1 Vote"
Jingruihan-MSFT answered AliEshraghiIvari-0199 edited

Hi,

First of all, you need the group policy settings if you have clients that need RemoteFX capability. Refer to this link:
https://techcommunity.microsoft.com/t5/security-compliance-identity/introducing-microsoft-remotefx-usb-redirection-part-1/ba-p/247035

Second, for troubleshooting, please test to see if you can redirect your webcam manually. For example:

On client PC on LAN, open Remote Desktop Connection, "Local Resources" -- "More" tab. Does the Webcam show up under Other supported RemoteFX USB devices so that you can select it? If yes, select the Webcam and continue.

If no, that is a red flag that RemoteFX isn't enabled on the workstation or the USB device isn't being detected.
Let’s enable RemoteFX USB redirection on the clients
In order to redirect USB devices from a given machine, the RemoteFX USB redirection feature must be enabled.
In Group Policy, navigate to Computer Configuration/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Connection Client/RemoteFX USB Device Redirection, and edit “Allow RDP redirection of other supported RemoteFX USB devices from this computer.”

95242-image.png
Enable the policy, and specify whether you wish to allow all users or only admins to redirect devices.
On the client machines, run “gpupdate /force” (without quotes) from an Administrator command prompt to enable/disable the feature, and then restart the computer for the changes to take effect. The feature will not work until you restart.
95168-image.png

If you deploy an RDS environment, enter the FQDN of one of the RDSH servers for the collection you want to test with and Connect, fullscreen mode.
You will likely receive cert warning and may be redirected to another RDSH, both are expected during this test.
Once connected, does the Webcam show up in Device Manager in the session?
On the Remote Desktop Connection bar at the top please check if Devices (computer) icon shows up.
When you click the icon you should see the Webcam listed with the word (redirected) next to it.

Please reply back with your results.

If the answer is helpful, please click "Accept Answer" and upvote it.

Best regards





image.png (156.2 KiB)
image.png (31.8 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Great! Very good note. I succeeded with your guide here and using below guide together.
Regards.

0 Votes 0 ·
ManavJain-2977 avatar image
0 Votes"
ManavJain-2977 answered

Hey , I did the same as you said . Changes done in the local group policy successfully .95267-rdp.png


But still I am not able to get my integrated webcam over remote desktop connection .
Below image is the device manager of the session. 95281-device-manager.png



rdp.png (58.4 KiB)
device-manager.png (92.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Jingruihan-MSFT avatar image
1 Vote"
Jingruihan-MSFT answered

Hi,

Can you check your local and remote computer windows version? You can get it by winver.exe.

95303-image.png
95304-image.png

Looking forward your reply.

Best Regards


image.png (9.9 KiB)
image.png (30.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ManavJain-2977 avatar image
0 Votes"
ManavJain-2977 answered

local computer windows version95596-windows-ver-client.png


remote computer windows version 95621-server-windows-version.png



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Jingruihan-MSFT avatar image
2 Votes"
Jingruihan-MSFT answered AliEshraghiIvari-0199 commented

Hi,

Client Configuration

The following GPOs needs to be applied on a client PC:
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Connection Client > RemoteFX USB Device Redirection - set "Allow RDP redirection of other supported RemoteFX USB devices from this computer" option to Enabled. Please ensure that the RemoteFX USB Redirection Access Rights are set to "Administrators and Users" for this GPO.
95590-image.png
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection - set "Allow audio and video playback redirection" to Enabled
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection - set "Do not allow supported Plug and Play device redirection" to Disabled
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection > set "Do not allow video capture redirection" to Disabled
95490-annotation-2021-05-11-224917.png

Server Configuration

The following GPOs needs to be applied on RD Session Host:
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services> Remote Desktop Session Host > Remote Session Environment > RemoteFX for Windows Server 2008 R2 -set "Configure RemoteFX" to Enabled
95652-annotation-2021-05-11-225558.png
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host - set "Do not allow supported Plug and Play device redirection" to Disabled
95636-annotation-2021-05-11-230057.png

The GPOs above are the required for the web camera's redirection. Please first make sure that web camera redirection works over the native mstsc.exe client.

If the answer is helpful, please click "Accept Answer" and upvote it.

Best regards











· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I did the configurations you said on the client as well as server but no success in getting the webcam over server!!!.

0 Votes 0 ·

Hello. Thanks. These works for me, trully.

0 Votes 0 ·
Jingruihan-MSFT avatar image
1 Vote"
Jingruihan-MSFT answered JingruiH-5999 commented

Hi,

Please check that service is running. At a command prompt, enter services.msc

95735-image.png

Best regards


image.png (45.5 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yes it is running.

0 Votes 0 ·
Jingruihan-MSFT avatar image
1 Vote"
Jingruihan-MSFT answered Fridgeir-3128 commented

Hi,

Let's stat over, we need to make sure that no other applications on Windows 10 and Windows Server 2019 use this integrated camera. Because this integrated camera can only be used by one client or one application on the server.

Please make sure to enable the following settings on the Windows Server 2019 which running RD Session Host server.
Navigate to Start -> Setting -> Privacy -> Camera “Allow apps to access your camera” is turning on.
97471-image.png

Please run the following commands on the client and server to check whether these group policies are implemented and deployed.
gpresult /h c:\rds.html

Client side policy:
set "Allow RDP redirection of other supported RemoteFX USB devices from this computer" option to Enabled
set "Allow audio and video playback redirection" to Enabled
set "Do not allow supported Plug and Play device redirection" to Disabled
Do not allow video capture redirection" to Disabled
Server side policy:
set "Configure RemoteFX" to Enabled
set "Do not allow supported Plug and Play device redirection" to Disabled

If you deployed the RD Gateway or RD Connection Broker roles in RDS, please check these server settings?
On the RD Connection Broker server
97416-image.png
On the RD Gateway server
97375-image.png

I hope you find this helpful.

Best Regards.



image.png (100.0 KiB)
image.png (49.4 KiB)
image.png (174.8 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Jingruihan-MSFT

I did everything you described above. My problem is, I get either an audio connection only or a video connection enabled. Both together not. I'm going crazy and it's not understandable either.

I would be very happy about another support. As client I use: Windows 10 Pro 20H2 with Logitech Brio webcam, host is Windows Server 2016. As I said, I have already implemented your suggestions from above and now I am at a loss.

Regards

0 Votes 0 ·
Jingruihan-MSFT avatar image
0 Votes"
Jingruihan-MSFT answered Jingruihan-MSFT commented

Hi,

Haven't received your message in a few days, was your issue resolved?

I am proposing previous helpful replies as "Answered". Please feel free to try it and let me know the result. If the reply is helpful, please remember to mark it as an answer which can help other community members who have the same questions and find the helpful reply quickly.

Best Regards.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hey, sorry I was busy and couldn't reply you. Actually, the deadline of the project was near and also the cost of the server was getting added each day ,so we went on with the third party software to access webcam over remote desktop. I tried your solutions but it didn't help in my case . I appreciate you for your help!

0 Votes 0 ·

Ok, I see. No problem. Either way, if the previous replies is helpful, please remember to mark it as an answer which can help other community members who have the same questions and find the helpful reply quickly. If you have any questions at all, please feel free to ask~ Best Regards

0 Votes 0 ·