Jump to content

Reg edit for opening sp2 firewall ports


trouble

Recommended Posts


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
Link to comment
Share on other sites

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"

Link to comment
Share on other sites

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