If you want to change the default RDP port from 3389 to a custom port, the easiest way Hold down the Windows key ( ) and press “X”.
However, Windows 10 allows only exporting and importing the entire rule set. (like, click on the 'Public Network (Active)'). This will bring up the Windows Firewall with Advanced Security window: On the main screen, it gives you a quick overview of your firewall settings for the domain, private networks, and public networks.
Click Change settings and then check the box may have a program that has worked for a hundred years on all sorts of computers, but the minute you install it on a Windows 10 machine with Windows Firewall in action, it just stops working, for absolutely no apparent reason. Windows firewall registry settings windows 10