Jump to content

Reg edit for opening sp2 firewall ports


Recommended Posts

Posted

Does someone have a reg edit file to open ports on the sp2 firewall. I need to open ports 12000 tcp 13000 tcp and 15000 udp on about 60 workstations.


Posted (edited)

You can set all your rules on one machine, export this key :

HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List

and execute the .reg file on machines you want.

I have just test in it's okay, you can set rules manually too:

REG_SZ name Port:Protocol Example-> 21:TCP

REG_SZ value Port:Protocol:Area:Description Example-> 21:TCP:LocalSubNet:FTPServerLocal

Goodbye.

EDIT: You can set rules for programs too ... look HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications

Edited by sonic
Posted

put this in your logon script..(if you have a domain, ect)

change the "description" to what the port represents

netsh firewall add portopening tcp 12000 "description"

netsh firewall add portopening tcp 13000 "description"

netsh firewall add portopening udp 15000 "description"

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...