Using different port number in RDP Client

remote desktop

I was successfully able to change the RDP port for my windows server 2012 R2 following this: http://support2.microsoft.com/kb/306759

I am also able to RDP to from windows (XP, Windows , etc) default RDP client by providing ipAddress:portNumber.

My issue is when I open my clients in front of others they can easily see the port number I am using for RDP. How can I change the settings in my RDP client so that I don't have to provide port number and it knows that it has to connect to this different port to RDP?

Best Answer

Answer to your question

In order to RDP to a server without showing the port to which you connect can be done by making an RDP icon that will log you in by doubleclicking on it. It will not show the server and port because it just goes too fast.

Open your RDP client, fill in the details (ip:port), then press the Show Options button on the bottom left.

Below in the Connection settings section, you can save your RDP file as a new one. Next time you doubleclick this icon, it will connect to your server.

If you use a LAN Ip or servername, and not fill in the gateway settings in the advanced tab, this RDP will only work when the client is in the same network as the server, unless a VPN connection is used as well.

NOTE: A user can edit your RDP file to find out the port.

Alternative solution

Alternatively, you could make sure your server is only accessible from within your network by blocking the port on your router, and if your clients don't use VPN to your network, you could require establishing a VPN first before RDPing to your server.

Alternative solution 2

Create a special user for RDP sessions and limit who can RDP to the server. Even if your clients know the port, they still need a valid username and password to connect. You can even save the credentials in your RDP file, but this poses a security risk because anyone who can copy your RDP file will copy the username and password as well.

Related Question