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."
Network\Network Connections\Windows Firewall\Standard Profile
Machine
At least Windows XP Professional with SP2
HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Services\UPnPFramework!Enabled; HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile\Services\UPnPFramework!RemoteAddresses
windowsfirewall.admx