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


Sometime you need to change the Remote Desktop Protocol (RDP) from default 3389 to something else for better security. Please follow these steps to change it to 2008 in Windows Server 2008. Windows Server 2003 should be the same.

Step by Step Guide

1) Open the port that you want to use for RDP in firewall

If firewall is not enabled, just skip this step.
a) Open Windows Exprloer, go to Control Panel\Network and Internet, click Allow a programe through Windows Firewall.

b) Click Add port..., choose TCP, input Name and Port Number, click OK

c) Click OK in Windows Firewall Settings window.

2) Start Registry Editor.

On desktop select menu: Start > Run, input 'regedit' and click OK

3) Locate the registry subkey for RDP port:

In Registry Editor find HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber

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

5) Type the new port number, and then click OK.

6) Quit Registry Editor.

7) Restart server.

Related Resources

  1. Remote Desktop Protocol(Wikipedia)
  2. Terminal Services


Other Knowledgebase Articles

Basic Windows Hosting

# of Domains: 4
# of SQL Server Databases: 4
Disk Space: 50GB
Bandwidth: Unmetered
SQL Server 2016
Monthly: $4.99
More Information About Free Shared Windows Hosting Plan

Express Hyper-V Hosting

Dedicated Memory:2GB
Disk Space: 120GB
Bandwidth: Unmetered
Windows 2016/2012: Free
Monthly: $11.99
More Information About Express Windows Hyper-V Server

Dedicated Windows Server

CPU: Quad-Core X3440 CPU
Disk: 2x120GB SSD + 300GB SATA
Bandwidth: Unmetered
Windows 2016/2012: Free
Monthly: $79.00
More Information About Dedicated Windows Server with SSD
Kubernetes Hosting | Windows VPS Hosting | SQL Server Hosting | ASP.NET Hosting | Windows Hyper-V Hosting | Dedicated SQL Server Hosting | Dedicated Windows Hosting | DNN Hosting
Cloud Application Hosting | MongoDB Hosting | CockroachDB Hosting | MySQL Hosting | MariaDB Hosting | Wordpress Hosting | Magento Hosting | Drupal Hosting | PostgreSQL Hosting | OpenCart Hosting | Redis Hosting | SQL Server Cloud Hosting