Opening port in XP firewall without warning dialog

L

Lynda

I am trying to open up a new port in the user's firewall during the
installation of our networking product.

Unfortunately in Windows XP (pre SP2), a scary dialog pops up that we're
trying to avoid.
XP SP2 does not show this warning.

The warning looks like this:
<user> is attempting to change or view this computer's Internet Connection
Protection settings. To give <user> permission to edit these settings for
as long as the program is open, click YES.

I tried:
INetSharingConfiguration::AddPortMapping() ==> Gives warning
INetFwOpenPorts->get_GloballyOpenPorts()->Add() ==> Only works in SP2

Note: I understand the purpose of the warning dialog, however we would like
to circumvent it anyway (and circumvention works fine in SP2).


Thanks,

-Lynda
 
T

Torgeir Bakken \(MVP\)

Lynda said:
I am trying to open up a new port in the user's firewall during the
installation of our networking product.

Unfortunately in Windows XP (pre SP2), a scary dialog pops up that we're
trying to avoid.
XP SP2 does not show this warning.

The warning looks like this:
<user> is attempting to change or view this computer's Internet Connection
Protection settings. To give <user> permission to edit these settings for
as long as the program is open, click YES.

I tried:
INetSharingConfiguration::AddPortMapping() ==> Gives warning
INetFwOpenPorts->get_GloballyOpenPorts()->Add() ==> Only works in SP2

Note: I understand the purpose of the warning dialog, however we would like
to circumvent it anyway (and circumvention works fine in SP2).
Hi,

As far as I know, it is not possible to avoid this warning message
for pre-SP2 computers...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top