Set "Network Location"

Posted: 02-16-2007, 03:11 PM
When I'm connect to new networks I get asked to Set the "Network Location"
which you can set to Home, Work, Public.

Is there anyway script etc.. to set that value? so it doesn't ask for common
network locations.

I'm working with building machines a lot and don't want it to keep asking, I
know if I add the machine to a domain it intelligently detects the network
is Work... but I'm in a workgroup.

e.g. Run a script which sets either a single or group of addresses like
192.168.0.1 to be "Work"

Clive

Reply With Quote

Responses to "Set "Network Location""

Jim Talbut
Guest
Posts: n/a
 
Re: Set "Network Location"
Posted: 02-19-2007, 08:57 PM
Clive,

Two things that might help:
1. You can turn off the question altogether, in which case all new networks
will default to being public.
2. You can use the INetwork::SetCategory function to set the category of an
existing network.

By combining the two together you can achieve what you want, but I don't
think there is any way to do it without writing some code.

Jim


"Clive" <clive.graven@mobwo.com> wrote in message
news:45A656DF-8EAE-483C-8793-6BD7C3A79245@microsoft.com...
> When I'm connect to new networks I get asked to Set the "Network Location"
> which you can set to Home, Work, Public.
>
> Is there anyway script etc.. to set that value? so it doesn't ask for
> common network locations.
>
> I'm working with building machines a lot and don't want it to keep asking,
> I know if I add the machine to a domain it intelligently detects the
> network is Work... but I'm in a workgroup.
>
> e.g. Run a script which sets either a single or group of addresses like
> 192.168.0.1 to be "Work"
>
> Clive
>
Reply With Quote
Thomas
Guest
Posts: n/a
 
Re: Set "Network Location"
Posted: 02-26-2007, 01:41 PM
Jim,

would you mind telling us where we can turn off the network location dialog?

Thomas

"Jim Talbut" wrote:
> Clive,
>
> Two things that might help:
> 1. You can turn off the question altogether, in which case all new networks
> will default to being public.
> 2. You can use the INetwork::SetCategory function to set the category of an
> existing network.
>
> By combining the two together you can achieve what you want, but I don't
> think there is any way to do it without writing some code.
>
> Jim
>
>
> "Clive" <clive.graven@mobwo.com> wrote in message
> news:45A656DF-8EAE-483C-8793-6BD7C3A79245@microsoft.com...
> > When I'm connect to new networks I get asked to Set the "Network Location"
> > which you can set to Home, Work, Public.
> >
> > Is there anyway script etc.. to set that value? so it doesn't ask for
> > common network locations.
> >
> > I'm working with building machines a lot and don't want it to keep asking,
> > I know if I add the machine to a domain it intelligently detects the
> > network is Work... but I'm in a workgroup.
> >
> > e.g. Run a script which sets either a single or group of addresses like
> > 192.168.0.1 to be "Work"
> >
> > Clive
> >
>
>
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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 On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change location of "Public" folder? Boris Windows Vista File Management 0 01-25-2007 12:38 PM
windows error message for media player "invalid access to memory location" sheila Windows XP Music 1 08-17-2003 11:20 PM
Changing default location of "Documents and Settings Folder" GMB Windows XP Basics 2 07-24-2003 03:37 AM
Windows Installer error "network location not available" Loes Windows XP Basics 1 07-17-2003 10:26 AM
changing the location of the "shared documents" folder rolf Customize Windows XP 4 07-08-2003 04:48 PM