Rem: Configuring ICS and ICF Settings

You can’t use WMI, but you can use the Home Networking Configuration Manager component.

Bob Wells

November 2, 2003

1 Min Read
ITPro Today logo in a gray background | ITPro Today

Does Windows Management Instrumentation (WMI) provide a way to access Internet Connection Sharing (ICS) and Internet Connection Firewall (ICF) configuration settings?

As far as I know, WMI doesn't provide access to ICS and ICF settings. However, you can use the scripting objects in the Home Networking Configuration Manager component (hnetcfg.dll) to retrieve and manage ICS and ICF settings. The ICS and ICF software development kit (SDK) includes several sample scripts. See the "Using Internet Connection Sharing and Internet Connection Firewall" Web page (http://msdn.microsoft.com/library/en-us/ics/ics/using_internet_connection_sharing_and_internet_connection_firewall.asp).

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like