Command Prompt & Mcafee Firewall

  • Thread starter Thread starter JohnNews
  • Start date Start date
J

JohnNews

Folks:

Is there a way to programatically (via DOS) switch on/off the Firewall built
into Windows XP ?


I have a copy of McAfee Firewall - Personal Edition - installed on my home
PC.

I just wondering if this program allows itself to be controlled (turned
on/off & configured) programmatically ?

If so, how can I programmatically (using DOS) turn on/off my Mcafee Firewall
and do some other basic configurations from the DOS PROMPT or from a batch
file.


Thanks,
John.
 
This group is about Windows 2000, so you'll be hard pressed to find an
answer about a feature unique to XP or about third party software. But, to
get you started, this will stop the firewall service (as well as ICS).

NET STOP SharedAccess

And to start it again:

NET START SharedAccess

I imagine the McAfee firewall application runs as a Windows service as well.
To see your running services, enter:
NET START

You do this at the command prompt, not in DOS as there is no such thing in
XP (or any other NT flavor of Windows), but that's beside the point.

Ray at work
 
Ray at said:
This group is about Windows 2000, so you'll be hard pressed to find an
answer about a feature unique to XP or about third party software. But, to
get you started, this will stop the firewall service (as well as ICS).

NET STOP SharedAccess

And to start it again:

NET START SharedAccess

Hi

Based on the following document "Changes to Functionality in Microsoft Windows
XP Service Pack 2" downloadable from
http://www.microsoft.com/downloads/...d7-b791-40b6-8364-685b84158c78&displaylang=en

WinXP SP2 will implement command line support for ICF:

<quote>
With Windows XP Service Pack 2, the structure of the helper changes and expands
to include support for configuring ICF as well. With the Netsh Helper, you can:

· Configure the default state of ICF (Off, Enabled, Shielded)
· Configure which ports should be open, including whether ports allow global
access or access restricted to the local subnet and whether ports are open on
all interfaces or per-interface
· Configure the logging options
· Configure the Internet Control Message Protocol (ICMP) handling options
· Add or remove applications from the ICF Permissions List

</quote>
 
Back
Top