• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 137
  • Last Modified:

Update Host File

Hello all,
 I'm running Windows Server 2000 and I'm needing to update a particular set of pc's in a OU.  My question is can I create a new policy for that OU that will make changes to every pc's host file in that OU?

If so, how?
0
thcit
Asked:
thcit
1 Solution
 
RevelationCSCommented:
you could add a batch to the startup scripts to copy the hosts file over from a networked location, replacing the old HOSTS files....
0
 
ckratschCommented:
If you want to change the hosts file on a workstation, and these workstations are in an OU, then you must be on an AD domain.  If you're on an AD domain, you must be running DNS on your network.  It is far better (and far simpler) to add A or CNAME records to DNS in one place than changing hosts files on multiple workstations.

What effect are you hoping to accomplish?  Modifying hosts files on workstations is a solution; what is it intended to solve?  With that information, I'm sure we can come up with the right answer.
0
 
thcitAuthor Commented:
Sorry for the late response guys, I had to go out of town.

What I am needing accomplished is the 5 pc's I have in the OU to query their local hosts file first for a net name.  Reason being is that the host name that is being queried registers itself in the DNS as an address that only available when the connect via VPN.  And this particular system is available to them 24/7 on their local network.  My thought is to always lookup the host name in the host file in order to connect to the static IP of the desired system at all times and ignore the dynamic IP the desired system uses when connected via vpn.  Does that make sense?
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now