Hello all,

I assume that most of Windows administrators is once in a life tried to configure and use Remote App. That is not a “big deal” for installing and configuring, but some (most) of parameters can be configured only with PowerShell. One of that parameters is changing default RDP port from 3389 to any other port. Changing default RDP port is a security feature, and many administrators like to do that on Windows Servers, but that registry change will NOT apply automatically to Remote App implementation. And then, you are in a trouble . . . Server not listen on 3389, because you changed default RDP port, but Remote App configuration is not aware of new RDP port.

Fortunately, just one PowerShell command will resolve that problem and “inform” Remote App configuration about new RDP port.You need to new name of your collection and RDP port. For example, my parameters are Test Collection and port 45689.

Set-RDSessionCollectionConfiguration –CollectionName "Test Collection" –CustomRdpProperty "server port:i:45689"

Simple, is not it?

Please follow and like us:

One thought on “How to change default RemoteApp port”

  1. YOU ARE A LEGEND SIR!!!!!!!!!!!
    Thank you so much!!!!
    I just wanted to add a comment for those who are not very good with powershell.
    In my case I knew my collection name but it didnt work. So, what I did to ensure my collection name for RDSession is correct, I ran
    Get-RDSessionCollection >> c:\temp\output.txt
    then copied your code on a text file and replaced the Test Collection with the collection name that I copied from that output.txt.
    and the everything worked like a charm!
    thank you so much again.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.