Changing HOSTS file location?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I run a Win2K lab and use the HOSTS file to 'block'
certain sites. This is a client-server setup that
currently uses a script to copy the HOSTS file to each
workstation when the file is changed.

Is there a way to tell the workstations to look at a
different location for this HOSTS file? I'm wondering
that if instead of copying it, have it look at a network
share?

Thoughts?
 
I run a Win2K lab and use the HOSTS file to 'block'
certain sites. This is a client-server setup that
currently uses a script to copy the HOSTS file to each
workstation when the file is changed.

Is there a way to tell the workstations to look at a
different location for this HOSTS file? I'm wondering
that if instead of copying it, have it look at a network
share?

Thoughts?

This problem is usually solved by updating the hosts
file from a central location by means of the logon script.
 
You can try an experiment using the path command. Move the hosts file to a
new, temporary file. Then add that path to the local computer's path line
and see if windows goes looking for a hosts file if it doesn't find it where
expected. If it goes looking and you can see the newly located hosts file is
being implemented, try adding the network path to the local computer's path.
 

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

Similar Threads


Back
Top