Changing the RDP port in Windows Server 2012

Changing the RDP port in Windows Server 2012

Start

This manual covers the procedure for changing the RDP port in Windows Server 2012. Please note that all foster procedures are designed to change the RDP port, which will lead to the gulf of the current server connection ; therefore we recommend using other options for connecting to the waiter ( e.g. through the Web console in your hosting account ). In decree to accomplish this undertaking, you need to edit the register of the operate system. The register may be edited using the relevant broadcast editor .
Click Start and type cmd in the Search field .
windows server 2012 comand prompt
In the black comfort window that appears, character in and execute the regedit control.

windows server regedit
In the register editor, it is necessity to find the RDP-Tcp partition, which can be done using following this path
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp:
windows server regedit port number
It is then necessity to find and open the PortNumber element ( as on the digit above ) in it .
future, switch to the Decimal input signal format and specify a new port for the RDP connection :
windows server edit port number
When selecting a new port for connection, remember that there are several port categories broken down by their numbers :

  • Numbers from 0 to 10213 are known ports that are assigned and controlled by Internet Assigned Numbers Authority (IANA).

    They are normally used by various OS system applications.

  • Ports from 1024 to 49151 are registered ports designated by IANA. They can be used to solve particular tasks.

  • Port numbers from 49152 to 65535 are dynamic (private) ports that may be used by any applications or processes to solve work tasks.

Port rule

After changing a port for distant connection, it is necessity to open it in the firewall settings, otherwise all attempts of external connection will be blocked. To do this, it is necessary to use the Windows Firewall with Advanced Security snap-in. You can open it by going to the menu : Server manager — > Tools:
windows server  manager tools
It is necessity to select “ Inbound Rules “, correct snap on this item and select “ New rule “ :
windows server  firewall inband rules add new
We will create a dominion for the port :
windows server  firewall inband rules type
It is necessity to select protocol type ( TCP or UDP ) and specify the port that we set when editing the register ( in our example : TCP protocol, 60000 port number ) :
windows server new port input
The future step is to select the type of legal action that describes the rule. In our case, it is necessary to enable the connection using the specified port .
windows server  allow connection
The adjacent tone is to specify the setting of the rule – it depends on where the server is running ( in a workgroup, world or private access ) :
windows server  firewall rule profile
then it is necessary to select a appoint for the rule ( it is recommended to select the appoint in such a means that the rule can then be easily recognized among others ) :

windows server  firewall naming and finish
After that the server has to be rebooted .
now the fresh newfangled larboard needs to be used to connect to the waiter via RDP .

beginning : https://thefartiste.com
Category : Tech

About admin

I am the owner of the website thefartiste.com, my purpose is to bring all the most useful information to users.

Check Also

articlewriting1

Manage participants in a zoom meeting webinar

Call the people who attend the meet as follows Alternate host host Who scheduled the …

Leave a Reply

Your email address will not be published.