Could I simply do a registry import of these two keys?
For SAVCE 10:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\Fi
rewallPolicy\DomainProfile\GloballyOpenPorts\List]
"2967:TCP"="2967:TCP:*:Enabled:2967"
"139:TCP"="139:TCP:LocalSubNet:Enabled
xpsp2res.dll,-22004"
"445:TCP"="445:TCP:LocalSubNet:Enabled
xpsp2res.dll,-22005"
"137:UDP"="137:UDP:LocalSubNet:Enabled
xpsp2res.dll,-22001"
"138:UDP"="138:UDP:LocalSubNet:Enabled
xpsp2res.dll,-22002"
"38293:TCP"="38293:TCP:*:Enabled:38293"
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameter
s\FirewallPolicy\DomainProfile\GloballyOpenPorts\List]
"2967:TCP"="2967:TCP:*:Enabled:2967"
"139:TCP"="139:TCP:LocalSubNet:Enabled
xpsp2res.dll,-22004"
"445:TCP"="445:TCP:LocalSubNet:Enabled
xpsp2res.dll,-22005"
"137:UDP"="137:UDP:LocalSubNet:Enabled
xpsp2res.dll,-22001"
"138:UDP"="138:UDP:LocalSubNet:Enabled
xpsp2res.dll,-22002"
"38293:TCP"="38293:TCP:*:Enabled:38293"
Anyone know if this would work ok?