windows firewall

Is it possible to check the status of the windows-firewall (activ or inactive) Thanks.

regards

Karsten


Answer this question

windows firewall

  • kapil kumar P

    I tried it out on my machine and it works correctly as the code stands on that posting.  What about the other properties on the same object   Are they accurate   If what you say is true, I can only guess that this is a problem with the underlying COM object because the code I posted on that blog is just a light weight managed wrapper class.

  • Scott Grosch

  • jriker1

    Thanks for your answer. The return from FirewallEnabled ist allways true. Where is the mistake

     


  • jianfeng

    The firewall status is set by the GPO. Is it possible that make this problems

     

    Thanks


  • batub

    Possibly.  I will try to look into it when I have time. In the mean time, maybe someone else knows the answer.

  • windows firewall