Windows Firewall enabled?

(imported topic written by Fredrik23)

Hi,

I need to check if the windows Firewall is turned on at the computers. This is Vista and XP computers, and they run 7.1.1.35

So I have tried som different stuff but not been able to figure out how to get this correct.

Problem is that “firewall enabled of current profile of local policy of firewall” gives me True when i belive it should be false?

Do anyone have any good relevance code that i could use in a analys to get the status.

Or a tip how this could be done easiest?

Would really appricieate any help i can get.

Best Regards // Fredrik

(imported comment written by pmullins91)

How about this?

Edit: This is on XP, I don’t have a Vista box to verify.

q: (start type of it, state of it) of service "SharedAccess"
A: disabled, Stopped
T: 35.986 ms