PC Review


Reply
 
 
Charles Blair
Guest
Posts: n/a
 
      30th Sep 2003
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


 
Reply With Quote
 
 
 
 
Torgeir Bakken (MVP)
Guest
Posts: n/a
 
      30th Sep 2003
Charles Blair wrote:

> 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...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..._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...

--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter


 
Reply With Quote
 
Legrooch
Guest
Posts: n/a
 
      27th Oct 2003
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.

Uzytkownik "Torgeir Bakken (MVP)" <Torgeir.Bakken-(E-Mail Removed)> napisal w
wiadomosci news:(E-Mail Removed)...
> Charles Blair wrote:
>
> > 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...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..._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...
>
> --
> torgeir
> Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of the 1328 page
> Scripting Guide: http://www.microsoft.com/technet/scriptcenter
>
>



 
Reply With Quote
 
name
Guest
Posts: n/a
 
      9th Nov 2003
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.









"Legrooch" <(E-Mail Removed)> wrote in message
news:9930-1067332612@213.17.240.162...
> 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.
>
> Uzytkownik "Torgeir Bakken (MVP)" <Torgeir.Bakken-(E-Mail Removed)> napisal

w
> wiadomosci news:(E-Mail Removed)...
> > Charles Blair wrote:
> >
> > > 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...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..._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...
> >
> > --
> > torgeir
> > Microsoft MVP Scripting and WMI, Porsgrunn Norway
> > Administration scripting examples and an ONLINE version of the 1328 page


> > Scripting Guide: http://www.microsoft.com/technet/scriptcenter
> >
> >

>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW TO DO ENABLE ENABLE THE QUERY PARAMETER BUTTON? CPW Microsoft Excel Worksheet Functions 1 21st Jan 2010 07:31 PM
difference between 'Enable write cache ' & 'Enable advanced' Mick Windows Vista Performance 2 22nd Apr 2008 04:44 AM
VBA select default Don't Enable / Enable macros Setting =?Utf-8?B?QkVFSkFZ?= Microsoft Excel Programming 1 29th Jun 2006 09:45 PM
How to enable people to pay me....(enable credit card payments in my web app) Patrick Microsoft ASP .NET 1 10th Nov 2005 12:07 PM
How to enable enable just in time (JIT) debugging? Luminal Microsoft C# .NET 2 22nd Oct 2004 07:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:09 PM.