Problem redirect port com on windows 2012

daweagle 21 Reputation points
2020-09-20T10:40:57.63+00:00

Hi,
I have problem witch port com on redirect RDP services windows 2012
Port show on command change port /query
COM2 = \Device\RdpDrPort\;COM2:6\tsclient\COM2
but not show in management hardware and this is problem because
net use com2 is ok. but not communicate hardware on com2 in laptop.

I try net use com2 delete but letter i have problem add again.

net use com2 \tsclient\com2 error 1200 no find path hardware.

any have this same problem ?
Thanks for answers.
Daw

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,596 questions
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Jenny Yan-MSFT 9,336 Reputation points
    2020-09-21T02:53:09.967+00:00

    Hi,
    1.How did you start the remote connection from the client to server 2012? What is the OS of client you are using?
    For normal remote connection starting via mstsc command on Windows 10 client, the port redirection is accomplished by enabling port redirection policy on target server and then check the port redirection option in mstsc.

    Windows Components\Terminal Services\Terminal Server\Device and Resource Redirection
    "Do not allow COM port redirection"
    "Do not allow drive redirection"

    2.Per further checking, one user confirmed that you can not delete the ports prior to redirecting them.
    https://social.technet.microsoft.com/Forums/en-US/9debb32c-f8d7-43d9-9892-9ce6ec8f7f51/communication-port-redirection?forum=winserverTS

    3.Not sure if you are using citrix servers, but kindly check if the guidance below could assist.
    COM Port Redirection: How to map a client COM port to a server COM port
    https://support.citrix.com/article/CTX232422
    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

    Hope this helps and please help to accept as Answer if the response is useful.

    Thanks,
    Jenny

    0 comments No comments

  2. daweagle 21 Reputation points
    2020-09-21T06:21:22.78+00:00

    Jenny thanks for answers,

    1. Client windows 10 is set port on mstc redirected.
      On server this policy is setting disable (then not block)
    2. not use citrix servers.

    How used redirect port if is no show on management hardware ?

    Dawid

    0 comments No comments

  3. Jenny Yan-MSFT 9,336 Reputation points
    2020-09-22T03:03:32.77+00:00

    Hi Dawid,

    Thanks for the update and details.
    1.On server this policy is setting disable (then not block)
    If possible, kindly test by change setting to disable and run gpupdate/ force to apply the policy.

    2.if is no show on management hardware.
    Could you please capture a screenshot for me to better understand "management hardware" you are referring to?

    Looking forward to you update.

    Thanks,
    Jenny

    0 comments No comments

  4. daweagle 21 Reputation points
    2020-09-22T03:46:39.54+00:00
    1. Yes of course 100% policy is loaded.

    26316-image.png

    Thanks your help in this topic, because i can't handle it. Daw

    0 comments No comments

  5. Jenny Yan-MSFT 9,336 Reputation points
    2020-09-23T07:13:23.45+00:00

    Hi,
    Thanks for the screenshot.

    Have you tested by disabling the COM port under device manager on target server and then remoting from client with COM port redirection?

    Moreover, here is a powershell command to redirect Serial Ports in Windows Server 2012 RDS/VDI.
    https://learn.microsoft.com/zh-cn/archive/blogs/jeff_stokes/how-to-redirect-serial-ports-in-windows-server-2012-rdsvdi

    Please feel free to let me know if above methods would work or not.

    Hope this helps and please help to accept as Answer if the response is useful.

    Thanks,
    Jenny

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.