Set "Network Location"

C

Clive

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
 
J

Jim Talbut

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
 
G

Guest

Jim,

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

Thomas
 

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