How can I add a new RDP listening port to Windows 2000/2003 Terminal Server?

Author:

Yuval Sinay MVP

COMMUNITY SOLUTIONS CONTENT DISCLAIMER

MICROSOFT CORPORATION AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY, RELIABILITY, OR ACCURACY OF THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN. ALL SUCH INFORMATION AND RELATED GRAPHICS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION AND RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, WORKMANLIKE EFFORT, TITLE AND NON-INFRINGEMENT. YOU SPECIFICALLY AGREE THAT IN NO EVENT SHALL MICROSOFT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE, DATA OR PROFITS, ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OF OR INABILITY TO USE THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN, WHETHER BASED ON CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY OR OTHERWISE, EVEN IF MICROSOFT OR ANY OF ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES.

RESOLUTION

In order to add the new listening port:
 
1) Run REGEDIT on your Server.
 
2) Export the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp 
 
3) Edit the REG file and change the name of the key to something like:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp-New
 
4) In the REG file find
PortNumber
and change it to whatever port you want.
 
5) Import the REG file back to the registry.
 
You can now connect to the new port by using the "old" Windows 2000 Terminal Server client. A better option is to use the XP RDP 5.1 or the newer Windows Server 2003 RDP 5.2 client.
 
To Alter the Port on the client side:
 
1) Go to the Start menu and click on Run.
 
2) On the Run menu type MSTSC and click Enter.
 
Note: To use RDP on computers with operating systems other than Windows XP/2003 you will first need to install the RDP client.
 
3) In the RDP window, in the Computer box, scroll to the computer name or IP to which you wish to connect.
 
4) Add a ":Port" (without the quotes) where "Port" is the decimal value of the destination port.
 
5) Press Connect.
 
Another method of connecting to a different port that default is to run the MSTSC command with the required command line parameters:
/v:ServerName[:Port]
 
For example: MSTSC /v:192.168.0.150:3390

MORE INFORMATION

This tip was written and submitted by Daniel Petri -
गुण

आलेख ID: 555031 - पिछली समीक्षा: 14/02/2017 - संशोधन: 1

Microsoft Windows Server 2003, Standard Edition (32-bit x86), Microsoft Windows Server 2003, Enterprise Edition (32-bit x86), Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)

प्रतिक्रिया