network category dialog problem

Jun 3, 2012 at 2:35 PM


I've successfully written an application using PPTP VPNs and DotRas... thanks!

The only problem I have is this:

When DotRas connects, is always popping up the dialog asking me where to put this connection (in which network category -- screenshot here). I can end up with several of these dialogs if I connect more than once during a windows session. It would be nice to prevent this, but if I cannot that is OK. But the real problem is that these dialogs increase after a restart -- even if I connect only once.

This only happens on some Windows versions -- for example, Vista but not XP.

Any ideas?



Jun 5, 2012 at 2:34 PM

This question has been asked repeatedly over the past few years since Vista was released and the Network Location Awareness service was introduced. Unfortunately the answer is still the same, there is no way to programmatically disable or control that dialog.

This may be a helpful resource however:

Sorry for the bad news.