WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to prevent Vista "Set Network Location" dialog followi..

 
   Home -> Windows Other -> -> RAS RSS
Next:  Stopping a Share  
Author Message
Whitney Kew

External


Since: Mar 06, 2006
Posts: 18



(Msg. 1) Posted: Tue Aug 07, 2007 9:34 am
Post subject: How to prevent Vista "Set Network Location" dialog following RasDi
Archived from groups: microsoft>public>win32>programmer>networks, others (more info?)

Hello,

We have some code that creates a new RAS phonebook entry for each connection
that we want to establish before calling RasDial() to connect using that
entry. Unfortunately in Vista, the "Set Network Location" dialog pops up
every time a RAS connection is established. We need a programmatic way of
preventing this dialog from appearing. Is there a way to do this?

Thanks.
--
Whitney Kew
Senior Software Engineer
Back to top
Login to vote
Whitney Kew

External


Since: Mar 06, 2006
Posts: 18



(Msg. 2) Posted: Mon Aug 13, 2007 10:16 am
Post subject: RE: Prevent Vista "Set Network Location" dialog following RasDial? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Could someone from Microsoft provide an answer to this? Thanks.
--
Whitney Kew
Senior Software Engineer


"Whitney Kew" wrote:

> Hello,
>
> We have some code that creates a new RAS phonebook entry for each connection
> that we want to establish before calling RasDial() to connect using that
> entry. Unfortunately in Vista, the "Set Network Location" dialog pops up
> every time a RAS connection is established. We need a programmatic way of
> preventing this dialog from appearing. Is there a way to do this?
>
> Thanks.
> --
> Whitney Kew
> Senior Software Engineer
Back to top
Login to vote
xpworld

External


Since: Aug 29, 2007
Posts: 1



(Msg. 3) Posted: Wed Aug 29, 2007 6:16 am
Post subject: Re: How to prevent Vista "Set Network Location" dialog following RasDi [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I did some research and found the following ways to disable the dialog
from popping up:
· on a per user basis
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Network
\NwCategoryWizard\Show
This value must be set to 0 to disable the wizard
· At the system level
Create a new Registry key:
HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff
(The key contains no value!)

HTH,

Ray


On 7 aug, 18:34, Whitney Kew <wm....DeleteThis@newsgroup.nospam> wrote:
> Hello,
>
> We have some code that creates a new RAS phonebook entry for each connection
> that we want to establish before calling RasDial() to connect using that
> entry. Unfortunately in Vista, the "Set Network Location" dialog pops up
> every time a RAS connection is established. We need a programmatic way of
> preventing this dialog from appearing. Is there a way to do this?
>
> Thanks.
> --
> Whitney Kew
> Senior Software Engineer
Back to top
Login to vote
Whitney Kew

External


Since: Mar 06, 2006
Posts: 18



(Msg. 4) Posted: Wed Aug 29, 2007 12:12 pm
Post subject: Re: How to prevent Vista "Set Network Location" dialog following R [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello Ray,

Thank you *very* much for this information; it was very helpful, and it
works great!!
--
Whitney Kew
Senior Software Engineer


"xpworld@gmail.com" wrote:

> I did some research and found the following ways to disable the dialog
> from popping up:
> 7 on a per user basis
> HKCU\Software\Microsoft\Windows NT\CurrentVersion\Network
> \NwCategoryWizard\Show
> This value must be set to 0 to disable the wizard
> 7 At the system level
> Create a new Registry key:
> HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff
> (The key contains no value!)
>
> HTH,
>
> Ray
>
>
> On 7 aug, 18:34, Whitney Kew <wm... RemoveThis @newsgroup.nospam> wrote:
> > Hello,
> >
> > We have some code that creates a new RAS phonebook entry for each connection
> > that we want to establish before calling RasDial() to connect using that
> > entry. Unfortunately in Vista, the "Set Network Location" dialog pops up
> > every time a RAS connection is established. We need a programmatic way of
> > preventing this dialog from appearing. Is there a way to do this?
> >
> > Thanks.
> > --
> > Whitney Kew
> > Senior Software Engineer
>
>
>
Back to top
Login to vote
Gabs

External


Since: Dec 03, 2008
Posts: 3



(Msg. 5) Posted: Wed Jul 15, 2009 9:24 pm
Post subject: Re: How to prevent Vista "Set Network Location" dialog following R [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Whitney Kew" wrote:

> Hello Ray,
>
> Thank you *very* much for this information; it was very helpful, and it
> works great!!
> --
> Whitney Kew
> Senior Software Engineer
>
>
> "xpworld@gmail.com" wrote:
>
> > I did some research and found the following ways to disable the dialog
> > from popping up:
> > 7 on a per user basis
> > HKCU\Software\Microsoft\Windows NT\CurrentVersion\Network
> > \NwCategoryWizard\Show
> > This value must be set to 0 to disable the wizard
> > 7 At the system level
> > Create a new Registry key:
> > HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff
> > (The key contains no value!)
> >
> > HTH,
> >
> > Ray
> >
> >
> > On 7 aug, 18:34, Whitney Kew <wm....TakeThisOut@newsgroup.nospam> wrote:
> > > Hello,
> > >
> > > We have some code that creates a new RAS phonebook entry for each connection
> > > that we want to establish before calling RasDial() to connect using that
> > > entry. Unfortunately in Vista, the "Set Network Location" dialog pops up
> > > every time a RAS connection is established. We need a programmatic way of
> > > preventing this dialog from appearing. Is there a way to do this?
> > >
> > > Thanks.
> > > --
> > > Whitney Kew
> > > Senior Software Engineer
> >
> > Hi,

What does "7 on a per user basis" and "7 At the system level" mean?

Thanks,

> >
Back to top
Login to vote
Whitney Kew

External


Since: Mar 06, 2006
Posts: 18



(Msg. 6) Posted: Thu Jul 16, 2009 8:27 am
Post subject: Re: How to prevent Vista "Set Network Location" dialog following R [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

They're actually little bullets that apparently don't always show up
properly; it should read:

- on a per user basis (i.e., HKEY_CURRENT_USER)
...
- At the system level (i.e., HKEY_LOCAL_MACHINE)
...
--
Whitney Kew
Senior Software Engineer


"Gabs" wrote:

>
>
> "Whitney Kew" wrote:
>
> > Hello Ray,
> >
> > Thank you *very* much for this information; it was very helpful, and it
> > works great!!
> > --
> > Whitney Kew
> > Senior Software Engineer
> >
> >
> > "xpworld@gmail.com" wrote:
> >
> > > I did some research and found the following ways to disable the dialog
> > > from popping up:
> > > 7 on a per user basis
> > > HKCU\Software\Microsoft\Windows NT\CurrentVersion\Network
> > > \NwCategoryWizard\Show
> > > This value must be set to 0 to disable the wizard
> > > 7 At the system level
> > > Create a new Registry key:
> > > HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff
> > > (The key contains no value!)
> > >
> > > HTH,
> > >
> > > Ray
> > >
> > >
> > > On 7 aug, 18:34, Whitney Kew <wm....RemoveThis@newsgroup.nospam> wrote:
> > > > Hello,
> > > >
> > > > We have some code that creates a new RAS phonebook entry for each connection
> > > > that we want to establish before calling RasDial() to connect using that
> > > > entry. Unfortunately in Vista, the "Set Network Location" dialog pops up
> > > > every time a RAS connection is established. We need a programmatic way of
> > > > preventing this dialog from appearing. Is there a way to do this?
> > > >
> > > > Thanks.
> > > > --
> > > > Whitney Kew
> > > > Senior Software Engineer
> > >
> > > Hi,
>
> What does "7 on a per user basis" and "7 At the system level" mean?
>
> Thanks,
>
> > >
Back to top
Login to vote
Gabs

External


Since: Dec 03, 2008
Posts: 3



(Msg. 7) Posted: Thu Jul 16, 2009 9:18 am
Post subject: Re: How to prevent Vista "Set Network Location" dialog following R [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks. I thought I have to do it in 7 different registry keys...

I actually did it as per the instructions and it works just fine. The only
thing is that the Networking and Sharing Centre keeps creating new network
locations every time I connect. I’m now for the xxx 125 network location. I
have a USB modem with mobile internet connection so I suppose that every time
I connect it creates a new IP address. Therefore Vista doesn’t recognise the
old network location so it creates a new one. Unless I’m able to get a fixed
IP address from my ISP, which I doubt it, I’ll have to live with this I
suppose. A minor annoyance compared to the issue this chain resolved.

Thanks again,

GG
Back to top
Login to vote
Display posts from previous:   
       Home -> Windows Other -> -> RAS All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
  Windows Other
 Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support