Methods/steps:
1. First, click the start button of win7 system to open the running window, enter "Regedit" and press enter;
2. Find the registry subkey in the pop-up registry editor: HKEY _ local _ machine \ system \ current control set \ control \ terminal server \ winstates \ rdptcp \ port number;
3. Modify the input box in the pop-up dialog box, and click Decimal, as shown below:
Finally, type the new port number, and then click OK to exit Registry Editor and restart the computer. The method of modifying remote desktop port 3389 in Win7 system registry is shared here.