Solved

push hosts file via group policy

Posted on 2016-08-23
4
152 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
ID: 41767494
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:
Donald Stewart earned 250 total points
ID: 41767564
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 21

Assisted Solution

by:RK
RK earned 250 total points
ID: 41767575
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
ID: 41774604
Perfect , thanks guys.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

832 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