Solved

push hosts file via group policy

Posted on 2016-08-23
4
70 Views
Last Modified: 2016-08-29
Hi guys ,

I wish to use a master HOSTS file and push it out via Group policy due to an issue on the openvpn and dns  . My end users in India , their workstations are not joined to the domain. They will be connecting via open vpn at whcih point, I wish to push out a hosts file .

Can you please detail the steps involved in this process , this is a 2008 domain controller ( ad)
0
Comment
Question by:davesnb
4 Comments
 
LVL 16

Expert Comment

by:FOX
Comment Utility
Create your host file and save it to a share.  Use Group Policy Preferences and push it to your computers.  You can push it to an OU but the policy will be set at the computer configuration level.
0
 
LVL 47

Accepted Solution

by:
dstewartjr earned 250 total points
Comment Utility
First off, in order to use group policy they need to be joined to the domain. Maybe you can use a script as mentioned here...

http://askubuntu.com/questions/28733/how-do-i-run-a-script-after-openvpn-has-connected-successfully
0
 
LVL 20

Assisted Solution

by:Radhakrishnan Rajayyan
Radhakrishnan Rajayyan earned 250 total points
Comment Utility
Hi,

The machines are located in India which hasn't joined to the domain?! then how your domain based GPO's apply to non domain machines?

I would suggest to use some script or batch file to replace the host file. I.e- copy the correct host file and replace to destination..
0
 

Author Closing Comment

by:davesnb
Comment Utility
Perfect , thanks guys.
0

Featured Post

The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

Join & Write a Comment

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now