HKLM,"SYSTEM\CurrentControlSet\Services\
SharedAccess\Parameters\FirewallPolicy\
DomainProfile\GloballyOpenPorts\List",
"port number:protocol",0x00000000,
"port number:protocol:scope:mode:ports
friendly name"
Port Number A port is specified by the combination of a protocol and a port number. The port number must be between 1 and 65535, inclusively.
Protocol A protocol is specified by the combination of a protocol and a port number. The protocol must be either TCP or UDP.
Scope See Scope Definition earlier in this section.
Mode The two permitted values for this element are enabled and disabled. If a ports entry is enabled, the port is statically opened in Windows Firewall. If a ports entry is disabled, the port is not statically opened in Windows Firewall.
Ports Friendly Name This is the description that will be used to represent the entry in Windows Firewall in Control Panel. It should provide an indication of why the port is statically opened, such as Web Server (TCP 80) or Telnet Server (TCP 23).