enable ICF

  • Thread starter Thread starter Charles Blair
  • Start date Start date
C

Charles Blair

I have been unable to find any way to programmatically enable ICF on a
network adapter in XP. I have looked at "netsh firewall" but this seems to
be for IPv6 only, and I have had no luck finding a command reference for
enabling thru WMI. Any help would be greatly appreciated.

TIA

Charles
 
Charles said:
I have been unable to find any way to programmatically enable ICF on a
network adapter in XP. I have looked at "netsh firewall" but this seems to
be for IPv6 only, and I have had no luck finding a command reference for
enabling thru WMI. Any help would be greatly appreciated.

Hi

You can do it with WMI:

Internet Connection Sharing and Internet Connection Firewall
http://msdn.microsoft.com/library/en-us/ics/ics/ics_and_icf_start_page.asp


E.g. here is a VBScript demonstrating how to enable Internet Connection
Firewall
on a connection:

Platform SDK: Internet Connection Sharing and Internet Connection Firewall
Enabling Internet Connection Firewall (VBScript)
http://msdn.microsoft.com/library/en-us/ics/ics/enabling_internet_connection_firewall_vbscript_.asp



Note that when running this script it will pop up a warning box where the user
needs to select between cancel or continue , and it doesn't look like it is
possible to suppress this warning box...
 
Hello!
Someone know how to configure "services" tab at ICF? I need to disable all
settings there.

By WMI i can configure all tabs and settings except of "services" tab.
 
Approaching a decade in monitoring authors of "Gutenberg" style groups

I have not seen a more meaningless pseudocontext blah question.

-------

So attentatively I record it.

============

By the time 'patriotic' pee becomes a warm sensation down your legs,
you will know the difference, you failed substitution for a loaf of bread.
 
Back
Top