How to deploy a host file via Group Policy to all users

We need to deploy a new host file to all of our users pc.
I wanted to do this a via the GPO. Is this possible and if so, how can we accomplish this?
LVL 1
vmichAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

M SCommented:
I guess whatever you are trying to accomplish, it would be a better approach to do it with DNS, but you can deploy files pretty easy through Group Policy Preferences...
see: Configure a File Item

I recommend explaining your goal and find a solution without playing around with hostfiles :)
1
vmichAuthor Commented:
Well we were having an issue when users logged in via VPN that they could not get to our intranet, but I just spoke to one of our network engineers and he is going to make the necessary changes via the vpn so that the users point to the internal dns servers.
0
M SCommented:
That's a far better solution than pushing a host file to every client.

Good to hear you went the "right" way.
0
MaheshArchitectCommented:
When u assign users ip config for vpn virtual adapter via dhcp, modify dhcp scope to use ad dns servers ip as dns server ip
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vmichAuthor Commented:
Network changes via VPN for correct DNS servers
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.