{"id":37344,"date":"2010-09-13T12:26:10","date_gmt":"2010-09-13T16:26:10","guid":{"rendered":"http:\/\/www.bu.edu\/tech\/?page_id=37344"},"modified":"2023-04-04T13:30:18","modified_gmt":"2023-04-04T17:30:18","slug":"terminal-services","status":"publish","type":"page","link":"https:\/\/www.bu.edu\/tech\/services\/security\/iam\/directory\/ad\/intro\/terminal-services\/","title":{"rendered":"AD FAQs &#8211; Terminal Services"},"content":{"rendered":"<ul>\n<li><a href=\"#change\">How can I change the default port that Terminal Services listens on?<\/a><\/li>\n<li><a href=\"#connect\">How can I connect to a Terminal Server that is running on a non-standard port?<\/a><\/li>\n<\/ul>\n<h3><a name=\"change\"><\/a>How can I change the default port that Terminal Services listens on?<\/h3>\n<p>By default, Terminal Services\/Remote Desktop Protocol (RDP) uses TCP port 3389 for client connections. You can use the following instructions to improve security by changing the port to 513, which is blocked by the campus firewall, and should not conflict with any other services running on a Windows machine.<\/p>\n<ol>\n<li>Change the port for any new RDP listeners created in the Terminal Server Manager:\n<ol style=\"list-style-type: lower-alpha;\">\n<li>Run regedit.exe and go to this key: HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp<\/li>\n<li>Find the &#8220;PortNumber&#8221; subkey and notice the value of 00000D3D, hex for (3389). Modify the port number in decimal to 513<\/li>\n<\/ol>\n<\/li>\n<li>Change any existing RDP listeners (only one is created with a default installation).\n<ol style=\"list-style-type: lower-alpha;\">\n<li>Run regedit.exe and go to this key: HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\Wds\\rdpwd\\Tds\\tcp<\/li>\n<li>Find the &#8220;PortNumber&#8221; subkey and notice the value of 00000D3D, hex for (3389). Modify the port number in decimal to 513.<\/li>\n<\/ol>\n<\/li>\n<li>On the next reboot, the Terminal Server will be listening on port 513.<\/li>\n<li>To connect to the new port, connect using the syntax\u00a0<strong>computername:513<\/strong><\/li>\n<\/ol>\n<p><strong>Note:<\/strong> To connect to the Terminal Server from off campus, you will now need to use the VPN to connect into the Campus Network, first. On-campus access will not require use of the VPN.<\/p>\n<h3><a name=\"connect\"><\/a>How can I connect to a Terminal Server that is running on a non-standard port?<\/h3>\n<ol>\n<li>If your client machine is running search the start menu for &#8220;Remote Desktop Connection&#8221;<a href=\"https:\/\/www.bu.edu\/tech\/services\/security\/iam\/directory\/ad\/intro\/terminal-services\/rdp-startmenu\/\" rel=\"attachment wp-att-140080\"><img loading=\"lazy\" src=\"\/tech\/files\/2022\/05\/RDP-startmenu-636x229.png\" alt=\"Start menu for Remote Desktop\" aria-labelledby=\"start menu for remote desktop\" width=\"636\" height=\"229\" class=\"size-medium wp-image-140080\" srcset=\"https:\/\/www.bu.edu\/tech\/files\/2022\/05\/RDP-startmenu-636x229.png 636w, https:\/\/www.bu.edu\/tech\/files\/2022\/05\/RDP-startmenu-768x277.png 768w, https:\/\/www.bu.edu\/tech\/files\/2022\/05\/RDP-startmenu.png 790w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/a><\/li>\n<li>Type in <strong>MyComputerName:portnumber<\/strong> and click &#8220;Connect&#8221;.<br \/>\n<a href=\"https:\/\/www.bu.edu\/tech\/services\/security\/iam\/directory\/ad\/intro\/terminal-services\/rdp-client-windows\/\" rel=\"attachment wp-att-140081\"><img loading=\"lazy\" src=\"\/tech\/files\/2022\/05\/RDP-Client-Windows.png\" alt=\"Connection screen for Remote Desktop\" aria-labelledby=\"connection screen for remote desktop\" width=\"407\" height=\"253\" class=\"alignnone size-full wp-image-140081\" \/><\/a><\/p>\n<ul>\n<li>On macOS computer, install &#8220;<a href=\"https:\/\/apps.apple.com\/us\/app\/microsoft-remote-desktop\/id1295203466?mt=12\">Microsoft Remote Desktop<\/a>&#8221; from the Apple App Store\u00a0 &#8220;Add PC&#8221; and enter it in &#8220;PC Name&#8221; box\u00a0 as <strong>MyComputerName:portnumber<\/strong> and click &#8220;Add&#8221;\n<ul>\n<li><a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.microsoft.rdc.androidx\" data-linktype=\"external\">Android client in Google Play<\/a><\/li>\n<li><a href=\"https:\/\/apps.apple.com\/app\/microsoft-remote-desktop\/id714464092\" data-linktype=\"external\">iOS client in the App Store<\/a>\n<p><a href=\"https:\/\/www.bu.edu\/tech\/services\/security\/iam\/directory\/ad\/intro\/terminal-services\/microsoft-remote-desktop-mac-serveradd\/\" rel=\"attachment wp-att-140110\"><img loading=\"lazy\" src=\"\/tech\/files\/2022\/05\/Microsoft-Remote-Desktop-Mac-ServerAdd-636x388.png\" alt=\"Microsoft Remote Desktop Add PC\" aria-labelledby=\"remote desktop add\" width=\"636\" height=\"388\" class=\"alignnone size-medium wp-image-140110\" srcset=\"https:\/\/www.bu.edu\/tech\/files\/2022\/05\/Microsoft-Remote-Desktop-Mac-ServerAdd-636x388.png 636w, https:\/\/www.bu.edu\/tech\/files\/2022\/05\/Microsoft-Remote-Desktop-Mac-ServerAdd-1024x625.png 1024w, https:\/\/www.bu.edu\/tech\/files\/2022\/05\/Microsoft-Remote-Desktop-Mac-ServerAdd-768x469.png 768w, https:\/\/www.bu.edu\/tech\/files\/2022\/05\/Microsoft-Remote-Desktop-Mac-ServerAdd-1536x938.png 1536w, https:\/\/www.bu.edu\/tech\/files\/2022\/05\/Microsoft-Remote-Desktop-Mac-ServerAdd-2048x1251.png 2048w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>How can I change the default port that Terminal Services listens on? How can I connect to a Terminal Server that is running on a non-standard port? How can I change the default port that Terminal Services listens on? By default, Terminal Services\/Remote Desktop Protocol (RDP) uses TCP port 3389 for client connections. You can&#8230;<\/p>\n","protected":false},"author":3321,"featured_media":0,"parent":10836,"menu_order":6,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/37344"}],"collection":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/users\/3321"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/comments?post=37344"}],"version-history":[{"count":19,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/37344\/revisions"}],"predecessor-version":[{"id":144762,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/37344\/revisions\/144762"}],"up":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/10836"}],"wp:attachment":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/media?parent=37344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}