Using RDP the remote session does not see all ports but using Chrome Remote Access the remote session sees all ports

D BEAR 0 Reputation points
2024-08-26T19:28:23.27+00:00

I have a program on the remote (Windows 11 Pro (10.0.22631 Build 22631) that scans for MIDI ports.

Besides the general Microsoft GS Wavetable Synth MIDI, there is another MIDI driver that supplies an IN and an OUT MIDI port. The device manager sees this even using RDP.

The program uses WinMM midi[In/Out]GetNumDevs() and midi[In/Out]GetDevCaps() to scan for MIDI ports. When run using RDP, Only the Microsoft GS Out port is seen. When using Chrome Remote,
the Microsoft GS Out port is seen as well as the other driver's IN and OUT MIDI ports. (The ports are seen when directly logged on to the remote computer as well, so it's clearly a RDP related issue.)I also have a 3rd party program that looks for MIDI IN ports. When run via RDP, it also does not find
the MIDI port, but when run directly on the remote computer, or using Chrome Remote, it does see the MIDI port.

Since the programs are running on the remote computer where the port in question is located, I don't see why starting the program via an RDP connection should have any bearing on the issue.

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

1 answer

Sort by: Most helpful
  1. Karlie Weng 18,581 Reputation points Microsoft Vendor
    2024-08-28T06:57:00.7033333+00:00

    Hello,

    When you are using mstsc, you can expand "show options" -> "local resources" , and try to configure your device redirection and confirm if it will help.


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

    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.