Forum Discussion

Matt_OCC's avatar
Matt_OCC
Copper Contributor
Apr 03, 2020

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 is the string camerastoredirect:s:*  So what I have done is ran the following command on my Connection Broker so that this line will be added to rdp file generated by the feed.

Set-RDSessionCollectionConfiguration -CollectionName $CollectionName -CustomRdpProperty "camerastoredirect:s:*"

When I run Get-RDSessionCollectionConfiguration I see the value has been added to CustomRdpProperty along with "use redirection server name:i:1" which seems to be a default on all collections.
What I am trying to solve is, why does my custom RDP property not apply to the RDP files that are downloaded.

  • Ryan_Janssen's avatar
    Ryan_Janssen
    Copper Contributor

    We have exactly the same issue, is there already a solution for this?

    • Ryan_Janssen's avatar
      Ryan_Janssen
      Copper Contributor

      I have found a solution for this:

      Go to the following location
      Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\CentralPublishedResources\PublishedFarms<Farm Name>\RemoteDesktops<Resource Name>\RDPFileContents
      
      Export the registry file with the program O&O Regeditor.
      Make a copy of your backup and edit the copy.
      Add the following line to the config: camerastoredirect:s:* with notepad plus plus
      Save the file
      Import the reg file with O&O Regeditor  

       

Resources