.      How to articles       Windows Services       Group Policy             Donate        
Computer step by step

Windows Firewall: Allow inbound Remote Desktop exceptions

Description:

Allows this computer to receive inbound Remote Desktop requests. To do this, Windows Firewall opens TCP port 3389.

If you enable this policy setting, Windows Firewall opens this port so that this computer can receive Remote Desktop requests. You must specify the IP addresses or subnets from which these incoming messages are allowed. In the Windows Firewall component of Control Panel, the "Remote Desktop" check box is selected and administrators cannot clear it.

If you disable this policy setting, Windows Firewall blocks this port, which prevents this computer from receiving Remote Desktop requests. If an administrator attempts to open this port by adding it to a local port exceptions list, Windows Firewall does not open the port. In the Windows Firewall component of Control Panel, the "Remote Desktop" check box is cleared and administrators cannot select it.

If you do not configure this policy setting, Windows Firewall does not open this port. Therefore, the computer cannot receive Remote Desktop requests unless an administrator uses other policy settings to open the port. In the Windows Firewall component of Control Panel, the "Remote Desktop" check box is cleared. Administrators can change this check box."




Supported on:

At least Windows XP Professional with SP2

GPO PowerShell Regedit CMD

In Registry Editor we can see the following changes:


For Enabled we get:


FullKeyPath : HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\WindowsFirewall\DomainProfile\Services\RemoteDesktop

ValueName   : Enabled

Value       : 1


FullKeyPath : HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\WindowsFirewall\DomainProfile\Services\RemoteDesktop

ValueName   : RemoteAddresses

Value       : 1



For Disabled we get:


FullKeyPath : HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\WindowsFirewall\DomainProfile\Services\RemoteDesktop

ValueName   : Enabled

Value       : 0