Forum Discussion
Matt_OCC
Apr 02, 2020Copper Contributor
Cameras To Redirect Custom RDP Property Does not Work
In mstsc.exe, under Local Resources > More.. there is an option for Video capture devices. Which lists my webcam and Devices that I plug in later. I have determined that this option the an RDP file...
Matt_OCC
May 19, 2020Copper Contributor
I was able to run this powershell command on each connection broker and it was able to work. I would also still run the Set-RDSessionCollectionConfiguration command for the custom value as well.
<collection alias> would be the value of CollectionAlias from Get-RDSessionCollection
$alias = <collection Alias>
$RDPFileContents = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\CentralPublishedResources\PublishedFarms\$alias\RemoteDesktops\$alias\").RDPFileContents
$RDPFileContents += "camerastoredirect:s:*`n"
Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\CentralPublishedResources\PublishedFarms\$alias\RemoteDesktops\$alias\" -Name RDPFileContents -Value $RDPFileContents
Techie4Life83
Nov 12, 2020Copper Contributor
Matt_OCC
I just want to say that the PS code is brilliant and worked flawlessly for me. This is such an aggravating issue that I don't know why it is not in the GUI settings to begin with.