Free Rdp Serial Port Redirection
Pulling my hair out with this one. I have a Server 2012 R2 box with Remote Desktop Services running on it. I've also configured a RemoteApp program which needs COM ports redirected (a RS232 Scale for weighing trucks). I can't for the life of me get COM ports, USB or other PnP devices redirected through the session. I don't even get an error about the COM port redirection in the event logs but I do get an error for the USB/PnP devices. Here is the error: TRUXSERVER 36 Warning Microsoft-Windows-TerminalServices-ServerUSBDevices Microsoft-Windows-TerminalServices-ServerUSBDevices/Admin 4/26/2016 10:30:41 AM Redirection of additional supported devices is disabled by policy. I did some research on the issue and found that the only two things that could be blocking the redirection are a group policy explicitly denying it (none configured on the DC or RDS box) or the settings in the Session Manager.
Here is a screencap of the settings for my RDS Session Host: I've tried to connect using the regular mstsc.exe method and triple checked that 'Ports' and Other supported PnP devices.' Were checked under the 'More.' Section of the RDP client. I did install the RDS Gateway service which probably doesn't have to be on the box. The clients are all connecting first through a Meraki VPN and authenticating to Active Directory and then using a local RemoteApp feed. Could the RDS Gateway (and NPS service) be blocking the redirection?
How to redirect Serial Ports in Windows Server 2012. Now the Remote Desktop Client will redirect. We’d like to be able to pass through the com port. Popular Topics in Microsoft Remote Desktop Services. To enable Serial port redirection on server. That PS command turns on com port redirection globally on the.
I checked the policy on NPS and it is allowing all devices (TSG-Redirection). Plus, when a client connects to the RDS box the NPS doesn't even log the connection so I would think the policies aren't even being checked. Anyway, this might be something dead simple but I just can't see the solution. Hopefully a couple thousand sets of extra eyes can help me out:) Edit: I've also ran this command in Powershell (elevated as Admin): Set-RDSessionCollectionConfiguration –CollectionName 'QuickSessionCollection' –CustomRdpProperty “redirectcomports:i:1” It didn't return any errors so my guess is that in applied correctly.
Firewall Ports For Rdp
I read on a forum that this command is supposed to 'Enable Serial port redirection Server 2012 R2 globally'. Didn't do a thing.. Try 'PS change port /query' on the TS.
You should get something like this. AUX = DosDevices COM1 COM1 = Device Serial0 COM2 = Device Serial1 COM3 = Device RdpDrPort;COM3:127 tsclient COM3 COM4 = Device RdpDrPort;COM4:127 tsclient COM4 COM5 = Device RdpDrPort;COM5:127 tsclient COM5 COM6 = Device RdpDrPort;COM6:127 tsclient COM6. If the redirection worked. Im using a PCIeTo4x RS232 adapter. The only setting on the server side was as you mentioned (besides the GP disable and TS Session Manager setting check). PS (Get-RDSessionCollectionConfiguration -CollectionName 'QuickSessionCollection').CustomRdpProperty redirectcomports:i:1 use redirection server name:i:1 I had problems with local COM port mapings.
Remote Desktop Usb Redirection
PS Get-pnpdevice where class -like ports ft -a Status Class FriendlyName InstanceId - - - - OK Ports PCI Express UART Port (COM4) OXPCIEMF PNP050 OK Ports PCI Express UART Port (COM6) OXPCIEMF PNP051 OK Ports PCI Express UART Port (COM3) OXPCIEMF PNP052 OK Ports PCI Express UART Port (COM5) OXPCIEMF PNP053 There is no real logic. COM4 is the first cabel, COM6 second and so on. Hope this helps somewhat.