Friday, February 20, 2009

Enable or Disable Firewall on Windows 2008 Core Installation.

Disable Windows Firewall

netsh firewall set opmode disable

Enable Windows Firewall

netsh firewall set opmode enable

Enable File and Print Sharing Feature

netsh firewall set service fileandprint

Open specific ports

netsh firewall set portopening protocol=TCP UDP port=portnumaras─▒ name=anyname

Allow Specific program

netsh firewall set allowedprogram program=c:\programs=anyname

Enable Ping

netsh firewall set icmpsetting 8

No comments:

Post a Comment

 
span.fullpost {display:inline;}