Modify window Server2012 Remote Desktop port

Source: Internet
Author: User
Tags windows remote desktop

The general Windows Remote Desktop port is 3389, the default port must be modified in consideration of security risks, the following is the method of modification:

1, remote login server Select "Windows PowerShell" in the system desktop, in the System run box that appears, enter the command "regedit", press "enter" to confirm, bring up the Registry Editor.

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/99/29/wKiom1lEstTjst6WAADCtaJEZlk386.png-wh_500x0-wm_ 3-wmp_4-s_185357532.png "title=" 1.png "alt=" Wkiom1lesttjst6waadctajezlk386.png-wh_50 "/>

2 . In the open registry editing interface, expand the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal server\wds\rdpwd\tds\tcp subkey.

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/99/28/wKioL1lEsvvz-OpgAAGJ1zKjCks734.png-wh_500x0-wm_ 3-wmp_4-s_385321219.png "title=" 2.png "alt=" Wkiol1lesvvz-opgaagj1zkjcks734.png-wh_50 "/>

3 . Double-click on "PortNumber" on the right, select "Decimal", modify the value data to "13579", then click OK.

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/99/29/wKiom1lEs1GRv8dIAAHLVqtywEA796.png-wh_500x0-wm_ 3-wmp_4-s_3698828779.png "title=" 3.png "alt=" Wkiom1les1grv8diaahlvqtywea796.png-wh_50 "/>


4, after modifying the remote port, you also need to release the modified port in the firewall, click "Server Manager" on the desktop, click "Tools" in the open window to select "Windows Firewall with Advanced Security".

650) this.width=650; "Src=" Https://s1.51cto.com/wyfs02/M02/99/28/wKioL1lEs4-yFUI_AAGDuOsS1k0067.png-wh_500x0-wm _3-wmp_4-s_2779582375.png "title=" 4.png "alt=" wkiol1les4-yfui_aagduoss1k0067.png-wh_50 "/>


5,

650) this.width=650; "Src=" Https://s2.51cto.com/wyfs02/M00/99/28/wKioL1lEs7STNShpAADj8f0rFfQ851.png-wh_500x0-wm _3-wmp_4-s_810213844.png "title=" 5.png "alt=" wkiol1les7stnshpaadj8f0rffq851.png-wh_50 "/>


6, Enter the modified remote port 13579 after "specific local port", and then click "Next".

650) this.width=650; "Src=" Https://s3.51cto.com/wyfs02/M00/99/29/wKiom1lEs83D18iyAADYKmbt0Zw237.png-wh_500x0-wm _3-wmp_4-s_3872055526.png "title=" 6.png "alt=" wkiom1les83d18iyaadykmbt0zw237.png-wh_50 "/>


7, The final step is to fill in the rule name and comment, which is easy to view later and click Done.

650) this.width=650; "Src=" Https://s3.51cto.com/wyfs02/M00/99/28/wKioL1lEs-izWT5LAADFlvk1ukw713.png-wh_500x0-wm _3-wmp_4-s_1274077377.png "title=" 7.png "alt=" wkiol1les-izwt5laadflvk1ukw713.png-wh_50 "/>

8 . After you modify the remote port and release it in the firewall, you also need to restart Remote Desktop services for Remote Desktop services to use the new port. In Server Manager, tap Tools and select Services.

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/99/29/wKiom1lEtBqhiR1cAAFKMKrdeWY895.png-wh_500x0-wm_ 3-wmp_4-s_2464022805.png "title=" 8.png "alt=" Wkiom1letbqhir1caafkmkrdewy895.png-wh_50 "/>


9. On the Service Management page, locate the Remote Desktop Service service, and then click Restart on the left to restart the Terminal Services.

650) this.width=650; "Src=" Https://s5.51cto.com/wyfs02/M01/99/29/wKiom1lEtCWCf83AAAGDN6LQlqU162.png-wh_500x0-wm _3-wmp_4-s_1952901133.png "title=" 9.png "alt=" wkiom1letcwcf83aaagdn6lqlqu162.png-wh_50 "/>


10, When you click Restart, Remote Desktop will be disconnected and you can telnet to the server using the modified port.

650) this.width=650; "Src=" Https://s1.51cto.com/wyfs02/M01/99/28/wKioL1lEtD_hVTp_AACu_tTfHcY183.png-wh_500x0-wm _3-wmp_4-s_3185624478.png "title=" 10.png "alt=" wkiol1letd_hvtp_aacu_ttfhcy183.png-wh_50 "/>


This article is from the "Concise Linux" blog, so be sure to keep this source http://easylinux.blog.51cto.com/9732761/1939296

Modify window Server2012 Remote Desktop port

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.