Change the port of Windows Terminal Services

Sometime you can increase security of Windows Terminal Services/server by changing the port that Terminal Services is running on. The default port is 3389.

a) Login as admin user

b) Start registry editor: Start > Run > Type the command (i.e. run Regedt32 i.e. registry editor (regedit.exe):




c) Now navigate as follows:


d) Now locate PortNumber key.

e) You will see hexadecimal value 00000D3D (decimal equivalent is 3389). Either modify the port number in hexadecimal or select decimal in regedit and type in the port in decimal digits (for example if you want port 4500, type 4500 as a value). Finally save the new value.

Author: admin

I like chocolate, gadgets, open source software, photography, traveling and all shades of green colors. I love spending time with fun loving friends and family members. This is my own online journal.

Leave a Reply

Your email address will not be published. Required fields are marked *