Windows Firewall: Define inbound port exceptions

Allows you to view and change the inbound port exceptions list defined by Group Policy. Windows Firewall uses two port exception lists: one is defined by Group Policy settings and the other is defined by the Windows Firewall component in Control Panel. If you enable this policy setting you can view and change the inbound port exceptions list defined by Group Policy. To view this port exceptions list enable the policy setting and then click the Show button. To add a port enable the policy setting note the syntax click the Show button. In the Show Contents dialog box type a definition string that uses the syntax format. To remove a port click its definition and then press the DELETE key. To edit a definition remove the current definition from the list and add a new one with different parameters. To allow administrators to add ports to the local port exceptions list that is defined by the Windows Firewall component in Control Panel also enable the “Windows Firewall: Allow local port exceptions” policy setting. If you disable this policy setting the port exceptions list defined by Group Policy is deleted but other policy settings can continue to open or block ports. Also if a local port exceptions list exists it is ignored unless you enable the “Windows Firewall: Allow local port exceptions” policy setting. If you do not configure this policy setting Windows Firewall uses only the local port exceptions list that administrators define by using the Windows Firewall component in Control Panel. Other policy settings can continue to open or block ports. Note: If you type an invalid definition string Windows Firewall adds it to the list without checking for errors and therefore you can accidentally create multiple entries for the same port with conflicting Scope or Status values. Scope parameters are combined for multiple entries. If entries have different Status values any definition with the Status set to “disabled” overrides all definitions with the Status set to “enabled” and the port does not receive messages. Therefore if you set the Status of a port to “disabled” you can prevent administrators from using the Windows Firewall component in Control Panel to enable the port. Note: The only effect of setting the Status value to “disabled” is that Windows Firewall ignores other definitions for that port that set the Status to “enabled. ” If another policy setting opens a port or if a program in the program exceptions list asks Windows Firewall to open a port Windows Firewall opens the port. Note: If any policy setting opens TCP port 445 Windows Firewall allows inbound ICMP echo request messages (the message sent by the Ping utility) even if the “Windows Firewall: Allow ICMP exceptions” policy setting would block them. Policy settings that can open TCP port 445 include “Windows Firewall: Allow inbound file and printer sharing exception” “Windows Firewall: Allow inbound remote administration exception” and “Windows Firewall: Define inbound port exceptions. “

Windows Firewall: Allow local port exceptions

Allows administrators to use the Windows Firewall component in Control Panel to define a local port exceptions list. Windows Firewall uses two port exceptions lists; the other is defined by the “Windows Firewall: Define inbound port exceptions” policy setting. If you enable this policy setting the Windows Firewall component in Control Panel allows administrators to define a local port exceptions list. If you disable this policy setting the Windows Firewall component in Control Panel does not allow administrators to define a local port exceptions list. However local administrators will still be allowed to create firewall rules in the Windows Firewall with Advanced Security snap-in. If you wish to prevent all locally created rules from applying use the Group Policy Object Editor snap-in and configure Computer Configuration -> Windows Settings -> Security Settings -> Windows Firewall with Advanced Security to specify that local firewall rules should not apply.

Windows Firewall: Allow inbound remote administration exception

Allows remote administration of this computer using administrative tools such as the Microsoft Management Console (MMC) and Windows Management Instrumentation (WMI). To do this Windows Firewall opens TCP ports 135 and 445. Services typically use these ports to communicate using remote procedure calls (RPC) and Distributed Component Object Model (DCOM). Additionally on Windows XP Professional with at least SP2 and Windows Server 2003 with at least SP1 this policy setting also allows SVCHOST. EXE and LSASS. EXE to receive unsolicited incoming messages and allows hosted services to open additional dynamically-assigned ports typically in the range of 1024 to 1034. On Windows Vista this policy setting does not control connections to SVCHOST. EXE and LSASS. EXE. If you enable this policy setting Windows Firewall allows the computer to receive the unsolicited incoming messages associated with remote administration. You must specify the IP addresses or subnets from which these incoming messages are allowed. If you disable or do not configure this policy setting Windows Firewall does not open TCP port 135 or 445. Also on Windows XP Professional with at least SP2 and Windows Server 2003 with at least SP1 Windows Firewall prevents SVCHOST. EXE and LSASS. EXE from receiving unsolicited incoming messages and prevents hosted services from opening additional dynamically-assigned ports. Because disabling this policy setting does not block TCP port 445 it does not conflict with the “Windows Firewall: Allow file and printer sharing exception” policy setting. Note: Malicious users often attempt to attack networks and computers using RPC and DCOM. We recommend that you contact the manufacturers of your critical programs to determine if they are hosted by SVCHOST. exe or LSASS. exe or if they require RPC and DCOM communication. If they do not then do not enable this policy setting. Note: If any policy setting opens TCP port 445 Windows Firewall allows inbound ICMP echo request messages (the message sent by the Ping utility) even if the “Windows Firewall: Allow ICMP exceptions” policy setting would block them. Policy settings that can open TCP port 445 include “Windows Firewall: Allow inbound file and printer sharing exception” “Windows Firewall: Allow inbound remote administration exception” and “Windows Firewall: Define inbound port exceptions. “

Windows Firewall: Allow inbound remote administration exception

Allows remote administration of this computer using administrative tools such as the Microsoft Management Console (MMC) and Windows Management Instrumentation (WMI). To do this Windows Firewall opens TCP ports 135 and 445. Services typically use these ports to communicate using remote procedure calls (RPC) and Distributed Component Object Model (DCOM). Additionally on Windows XP Professional with at least SP2 and Windows Server 2003 with at least SP1 this policy setting also allows SVCHOST. EXE and LSASS. EXE to receive unsolicited incoming messages and allows hosted services to open additional dynamically-assigned ports typically in the range of 1024 to 1034. On Windows Vista this policy setting does not control connections to SVCHOST. EXE and LSASS. EXE. If you enable this policy setting Windows Firewall allows the computer to receive the unsolicited incoming messages associated with remote administration. You must specify the IP addresses or subnets from which these incoming messages are allowed. If you disable or do not configure this policy setting Windows Firewall does not open TCP port 135 or 445. Also on Windows XP Professional with at least SP2 and Windows Server 2003 with at least SP1 Windows Firewall prevents SVCHOST. EXE and LSASS. EXE from receiving unsolicited incoming messages and prevents hosted services from opening additional dynamically-assigned ports. Because disabling this policy setting does not block TCP port 445 it does not conflict with the “Windows Firewall: Allow file and printer sharing exception” policy setting. Note: Malicious users often attempt to attack networks and computers using RPC and DCOM. We recommend that you contact the manufacturers of your critical programs to determine if they are hosted by SVCHOST. exe or LSASS. exe or if they require RPC and DCOM communication. If they do not then do not enable this policy setting. Note: If any policy setting opens TCP port 445 Windows Firewall allows inbound ICMP echo request messages (the message sent by the Ping utility) even if the “Windows Firewall: Allow ICMP exceptions” policy setting would block them. Policy settings that can open TCP port 445 include “Windows Firewall: Allow inbound file and printer sharing exception” “Windows Firewall: Allow inbound remote administration exception” and “Windows Firewall: Define inbound port exceptions. “

Windows Firewall: Allow inbound Remote Desktop exceptions

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. “

Windows Firewall: Prohibit unicast response to multicast or broadcast requests

Prevents this computer from receiving unicast responses to its outgoing multicast or broadcast messages. If you enable this policy setting and this computer sends multicast or broadcast messages to other computers Windows Firewall blocks the unicast responses sent by those other computers. If you disable or do not configure this policy setting and this computer sends a multicast or broadcast message to other computers Windows Firewall waits as long as three seconds for unicast responses from the other computers and then blocks all later responses. Note: This policy setting has no effect if the unicast message is a response to a Dynamic Host Configuration Protocol (DHCP) broadcast message sent by this computer. Windows Firewall always permits those DHCP unicast responses. However this policy setting can interfere with the NetBIOS messages that detect name conflicts.

Windows Firewall: Allow inbound UPnP framework exceptions

Allows this computer to receive unsolicited inbound Plug and Play messages sent by network devices such as routers with built-in firewalls. To do this Windows Firewall opens TCP port 2869 and UDP port 1900. If you enable this policy setting Windows Firewall opens these ports so that this computer can receive Plug and Play messages. You must specify the IP addresses or subnets from which these incoming messages are allowed. In the Windows Firewall component of Control Panel the “UPnP framework” check box is selected and administrators cannot clear it. If you disable this policy setting Windows Firewall blocks these ports which prevents this computer from receiving Plug and Play messages. If an administrator attempts to open these ports by adding them to a local port exceptions list Windows Firewall does not open the ports. In the Windows Firewall component of Control Panel the “UPnP framework” check box is cleared and administrators cannot select it. If you do not configure this policy setting Windows Firewall does not open these ports. Therefore the computer cannot receive Plug and Play messages unless an administrator uses other policy settings to open the required ports or enable the required programs. In the Windows Firewall component of Control Panel the “UPnP framework” check box is cleared. Administrators can change this check box. “

Windows Firewall: Define inbound program exceptions

Allows you to view and change the program exceptions list defined by Group Policy. Windows Firewall uses two program exception lists: one is defined by Group Policy settings and the other is defined by the Windows Firewall component in Control Panel. If you enable this policy setting you can view and change the program exceptions list defined by Group Policy. If you add a program to this list and set its status to Enabled that program can receive unsolicited incoming messages on any port that it asks Windows Firewall to open even if that port is blocked by another policy setting such as the “Windows Firewall: Define inbound port exceptions” policy setting. To view the program list enable the policy setting and then click the Show button. To add a program enable the policy setting note the syntax click the Show button. In the Show Contents dialog box type a definition string that uses the syntax format. To remove a program click its definition and then press the DELETE key. To edit a definition remove the current definition from the list and add a new one with different parameters. To allow administrators to add programs to the local program exceptions list that is defined by the Windows Firewall component in Control Panel also enable the “Windows Firewall: Allow local program exceptions” policy setting. If you disable this policy setting the program exceptions list defined by Group Policy is deleted. If a local program exceptions list exists it is ignored unless you enable the “Windows Firewall: Allow local program exceptions” policy setting. If you do not configure this policy setting Windows Firewall uses only the local program exceptions list that administrators define by using the Windows Firewall component in Control Panel. Note: If you type an invalid definition string Windows Firewall adds it to the list without checking for errors. This allows you to add programs that you have not installed yet but be aware that you can accidentally create multiple entries for the same program with conflicting Scope or Status values. Scope parameters are combined for multiple entries. Note: If you set the Status parameter of a definition string to “disabled” Windows Firewall ignores port requests made by that program and ignores other definitions that set the Status of that program to “enabled. ” Therefore if you set the Status to “disabled” you prevent administrators from allowing the program to ask Windows Firewall to open additional ports. However even if the Status is “disabled” the program can still receive unsolicited incoming messages through a port if another policy setting opens that port. Note: Windows Firewall opens ports for the program only when the program is running and “listening” for incoming messages. If the program is not running or is running but not listening for those messages Windows Firewall does not open its ports.

Windows Firewall: Do not allow exceptions

Specifies that Windows Firewall blocks all unsolicited incoming messages. This policy setting overrides all other Windows Firewall policy settings that allow such messages. If you enable this policy setting in the Windows Firewall component of Control Panel the “Block all incoming connections” check box is selected and administrators cannot clear it. You should also enable the “Windows Firewall: Protect all network connections” policy setting; otherwise administrators who log on locally can work around the “Windows Firewall: Do not allow exceptions” policy setting by turning off the firewall. If you disable this policy setting Windows Firewall applies other policy settings that allow unsolicited incoming messages. In the Windows Firewall component of Control Panel the “Block all incoming connections” check box is cleared and administrators cannot select it. If you do not configure this policy setting Windows Firewall applies other policy settings that allow unsolicited incoming messages. In the Windows Firewall component of Control Panel the “Block all incoming connections” check box is cleared by default but administrators can change it.

Windows Firewall: Allow inbound file and printer sharing exception

Allows inbound file and printer sharing. To do this Windows Firewall opens UDP ports 137 and 138 and TCP ports 139 and 445. If you enable this policy setting Windows Firewall opens these ports so that this computer can receive print jobs and requests for access to shared files. You must specify the IP addresses or subnets from which these incoming messages are allowed. In the Windows Firewall component of Control Panel the “File and Printer Sharing” check box is selected and administrators cannot clear it. If you disable this policy setting Windows Firewall blocks these ports which prevents this computer from sharing files and printers. If an administrator attempts to open any of these ports by adding them to a local port exceptions list Windows Firewall does not open the port. In the Windows Firewall component of Control Panel the “File and Printer Sharing” check box is cleared and administrators cannot select it. If you do not configure this policy setting Windows Firewall does not open these ports. Therefore the computer cannot share files or printers unless an administrator uses other policy settings to open the required ports. In the Windows Firewall component of Control Panel the “File and Printer Sharing” check box is cleared. Administrators can change this check box. Note: If any policy setting opens TCP port 445 Windows Firewall allows inbound ICMP echo requests (the message sent by the Ping utility) even if the “Windows Firewall: Allow ICMP exceptions” policy setting would block them. Policy settings that can open TCP port 445 include “Windows Firewall: Allow inbound file and printer sharing exception” “Windows Firewall: Allow inbound remote administration exception” and “Windows Firewall: Define inbound port exceptions. “