Avatar of onlinerack
Flag for United States of America asked on

remote desktop services

I have installed RDP gateway on windows server 2019 and went through the configuration. I was unable to disable UDP 3391 transport in RDP Gateway windows server 2019

I tried it on 2 separate windows 2019 servers that used the normal install and no GPOs.

Any idea how to get it to turn off. We do not want to use UDP 3391 due to the port being blocked throughout the enterprise.

It is disabled In windows server 2016 by default. I actually would get the same error if I tried to enable it in windows server 2016. But for the scope of the question, We are trying to disable it in 2019.
Windows Server 2019* remote desktop previewWindows OS* RDP* RDP Failed Connections

Avatar of undefined
Last Comment

8/22/2022 - Mon

Sounds silly, can you launch that with administrative rights, I.E right click, run as admin.

Dirk Kotte

why you need to disable the UDP port?
if UDP connection is not possible, server & client should use TCP.
(without user/admin interaction)

So if UDP is on but the user had the port blocked for that port, it would use only the TCP port?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Dirk Kotte

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Thanks guys. It makes sense. That is reassuring.

In this case specifically, I had to disable UDP as it is not allowed through the firewalls from the client side. I did that eventually through the registry. But knowing that it would fail back to TCP is good to know.

@alex, good thought, Running as administrator these days with windows is the same as let's reboot to see if that clears it. MS picked that as a new trend.   I tried it, it did not work. I had some hope...

Thank you all for your contributions.

Me too, but unfortunately that's the only thing I can offer since I've never set one of these up.

I'll step down so the other experts can have another look :D

You did good Alex... It really could have been that simple. This seems to be an issue with all windows 2019 out of the box as I ran three different installs.
The issue is now marked as resolved as I did the change through the registry.  Dirk, however, did provide valid info that if UDP is blocked, then it would use the TCP only anyways.

Thank you. :)
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.