Solved

push hosts file via group policy

Posted on 2016-08-23
4
595 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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:Radhakrishnan R
Radhakrishnan R 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
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…
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 to another domain controller. Log onto the new domain controller with a user account t…

626 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