Announcement

Collapse
No announcement yet.

How To Change Default Remote Desktop Protocol (RDP) port 3389 in Windows Server 2008?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How To Change Default Remote Desktop Protocol (RDP) port 3389 in Windows Server 2008?

    Hi

    Sometimes you need to change the Remote Desktop Protocol (RDP) from default 3389 to something else for better security.

    To change the default port , there are two parts to be followed :-

    A) First Open port in windows Firewall

    B) Change the port



    **If firewall is not enabled, just skip Part A
    ========================


    A) First Open port in windows Firewall


    1) Open Windows Exprloer, go to Control Panel\windows firewall, click Allow a programe through Windows Firewall.
    Click image for larger version

Name:	Untitled1.jpg
Views:	1
Size:	46.6 KB
ID:	160267

    2) Click Add port..., choose TCP, input Name and Port Number, click OK
    Click image for larger version

Name:	Untitled2.jpg
Views:	1
Size:	42.2 KB
ID:	160268

    3) Click OK in Windows Firewall Settings window.




    B) Change the port



    1) Start Registry Editor.
    On desktop select menu: Start > Run, input 'regedit' and click OK
    Click image for larger version

Name:	Untitled3.jpg
Views:	1
Size:	15.7 KB
ID:	160269



    2) Locate the registry subkey for RDP port:
    In Registry Editor find HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\TerminalServer\WinStations\RDP-Tcp\PortNumber


    3) On the Edit menu, click Modify, and then click Decimal.

    4) Type the new port number, and then click OK.
    Click image for larger version

Name:	Untitled4.jpg
Views:	1
Size:	39.4 KB
ID:	160270

    5) Quit Registry Editor.

    6) At-last Restart the server and you are done !!

    ================================================== =====================
    **Note :
    If firewall is enabled , Please follow the part A first i.e
    Open the port in the windows firewall or if any other firewall enabled other than windows, before changing the default port.
    or your server will be inaccessible if you follow the part B first!
    ================================================== =====================

    Best Regards,

    Chris

    Windows support Team
    eUKhost
    UK Web Hosting Services by eUKhost

    Chris White
    (Former eUK Employee)


    UK's premier web hosting company.
Working...
X