Perl script to determine if Windows Firewall is on

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kimster
    New Member
    • Oct 2007
    • 2

    Perl script to determine if Windows Firewall is on

    I was wondering if there is a way to detect if the Windows firewall is turned on for the machine in which the script is running? If so, is there a way to detect the firewall's settings?

    Thanks!
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    Originally posted by kimster
    I was wondering if there is a way to detect if the Windows firewall is turned on for the machine in which the script is running? If so, is there a way to detect the firewall's settings?

    Thanks!
    I see that there is a Windows Firewall Log Parser module, but nothing for detecting settings and such.

    Hopefully someone else will know.

    Regards,

    Jeff

    Comment

    • kimster
      New Member
      • Oct 2007
      • 2

      #3
      I think I found my solution. I believe this can be done by looking at the Windows registry key -

      SYSTEM\\Current ControlSet\\Ser vices\\SharedAc cess\\Parameter s\\FirewallPoli cy\\DomainProfi le

      Comment

      Working...