How to Change the RDP Port for a Windows Server?

When you’re installing a new Windows Server, it’s important to know which port is used for Remote Desktop Port (RDP). […]

Voiced by Amazon Polly

When you’re installing a new Windows Server, it’s important to know which port is used for Remote Desktop Port (RDP). If you use RDP with any other machine, the port that your server uses will be different. Find out how to change the default RDP port and what tools you’ll need in this article.

There are many steps involved in setting up a Windows server. From installing the operating system and software to setting up your network, there are many tasks to accomplish before you can run your server. One task that a lot of people have trouble with is changing the Remote Desktop Protocol port. By default, the RDP port on a Windows Server is 3389 and so if you want to change it to something else, you’ll need to use the command line tool called netcfg.

Save Time, Reduce Errors, and Improve Accuracy

Dancing Numbers helps small businesses, entrepreneurs, and CPAs to do smart transferring of data to and from QuickBooks Desktop. Utilize import, export, and delete services of Dancing Numbers software.

*No credit card required

What are the Different Options for Changing the RDP Port on a Windows Server?

The following sections describe the various methods for changing the RDP port of a Windows server 🖥️.

regedit

Method 1: Changing the RDP Port in the Registry

It is possible to alter the RDP port on the registry using one of two techniques. Continue with the steps outlined below to successfully finish the process of changing the RDP port on the registry for your computer.

Step 1: Manually Modify the RDP Port in the Registry to Suit Your Needs.

  • To access the Windows Run dialogue box on the operating system, use the “Windows + R” keyboard shortcut.
  • To access the Windows Registry Editor, type “regedit” in the Run box and hit Enter to launch it.
  • Now, browse to the following registry subkey by clicking on it:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber
  • After the user has entered the subkey, he or she should choose the Edit option.
  • Following that, the user will be required to choose the Modify option.
  • After you have pressed the Modify key, choose the Decimal option from the drop-down menu.
  • You must write in the new Port Number here, and then press the OK button to complete the process.
Port Number

Please Keep in Mind: The recommended range for RDP ports is 1024-65535 (inclusive). It is recommended that the user take careful notes in order to prevent any difficulties throughout the procedure.

Step 2: Using the PowerShell Command, You may make Changes to the Registry.

  • Users will first need to access the Windows PowerShell command-line interface in their operating system. In order to do so, Type PowerShell into the search bar and look for the option to click 🖱️on it.
  • Users will now be needed to perform the following commands in the Administrator Windows PowerShell environment to complete the process. It is important that you take notice of the following command:

Set-ItemProperty -Path ‘HKLM:SYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp’ -Name ‘port number’ -Value 33899.

Method 2: Configure the Windows Firewall to allow the New RDP port to be used.

  • Before RDP can be utilized, the firewall must be configured to allow access to the newly configured RDP port. It is advised that users check How to Open📂 a Port in Windows.
  • Firewall document for information on how to open📂 a port in Windows Firewall.
    Note: If this option does not give satisfactory solutions, continue on to the following procedure in order to complete the process effectively and efficiently.

Method 3: Restart the Remote Desktop Protocol (RDP) Service.

Step 1: Users are needed to put “services” into the Search box in order to access the service. In your operating system’s screen, this will now bring up the Services box to be used.

Step 2: It is advised that users restart the remote desktop services by right-clicking on the option “Restart” and selecting “Restart”. Users will have to wait for the restart procedure to be completed successfully before continuing.

Method 4: Carry out a Trial to See How it Works.

  • It is advised that users test the connection to the server🖥️ by selecting a different RDP port from the drop-down menu.
  • Following the selection of the connect option, the user will be presented with the screen named “Window Security“.
  • Fill in the blanks with your username and password, and don’t forget to click🖱️ on the “Remember me” checkbox.
  • Last but not least, pick the OK option.

What is the Reason for Changing the RDP Port Number for a Windows Server?

All remote connections made by Microsoft are routed over the standard port 3389 – this is not a secret. In many cases, hackers connect to distant systems through the 3389 listening port, and they acquire access to such systems via the use of an automated password guessing system. Such issues, such as the one recently discovered by Microsoft, are referred to as brute force and password spraying attacks. Without a question, this is a significant security weakness that has the potential to put your remote system in danger.

Many administrators opt to change the RDP port number from 3389 to any other available free port in order to mitigate this vulnerability, making it more difficult for hackers to identify the listening port in question. Administrators may also adjust the RDP port number to avoid being blocked by firewalls, in addition to protecting themselves from hackers.

Several systems’ firewalls have been set to restrict both incoming and outgoing communications to and from port 3389, for concerns of security. This approach is intended to deter hackers from logging in using the port rather than to prevent remote access from being blocked. The solution for this is to just change the port number once again.

This article on How to Change the RDP Port for a Windows Server 🖥️ should be able to provide you with the information you are looking for if you are fortunate enough to stumble onto it. If you aren’t, you should have taken a different way when you looked up. If you have any queries or encounter any issues while following the instructions, please contact the Dancing Numbers team for as soon as possible to get prompt assistance. Whenever you need assistance🕵️‍♀️, a member of our staff is accessible to help you with any difficulties or concerns that you may be experiencing at any given time. Your issue will be solved very soon.

Accounting Professionals, CPA, Enterprises, Owners
Accounting Professionals

Looking for a professional expert to get the right assistance for your problems? Here, we have a team of professional and experienced team members to fix your technical, functional, data transfer, installation, update, upgrade, or data migrations errors. We are here at Dancing Numbers available to assist you with all your queries. To fix these queries you can get in touch with us via a toll-free number
+1-800-596-0806 or chat with experts.


When it comes to a Windows Server🖥️, What are the Advantages of Modifying the RDP Port Number for a Windows Server?

The following are some of the advantages of modifying the RDP port number on a Windows server:

Since a non-default port is being used, there is more security.
The system is protected against Brute Force assaults, which may otherwise result in the theft of the administrator password.

When it comes to a Windows Server, What are the Requirements for the RDP Port for a Windows Server?

The following are the specifications for the RDP port.

IP address.
Internet connection server🖥️.
A server-id and password.

How to Change the Default RDP Port Number?

If you need to change the default RDP port number for a Windows Server, there are a few ways to do this. The most common way is to use the RDP Parameter Manager tool. Another option is to use the netsh command-line interface.

How to Change the Default RDP Port on a Windows Server?

If you are using remote desktop services (RDS) on a Windows Server, be sure to change the default port. By default, RDS uses port 3389. This can be problematic if your primary firewall is blocking access to this port.

How to Configure a Firewall for Direct RDP Access?

In order to allow direct RDP access to your Windows server, you will need to configure a firewall. By default, RDP is allowed through the Windows firewall. However, if you want to restrict access to certain users or devices, you can configure a firewall rule to allow or deny RDP traffic.

Call Now+1-800-596-0806
Top