Results 1 to 3 of 3

Thread: Pushing Hosts file via Group Policy

  1. #1
    Join Date
    Nov 2004
    Posts
    41

    Pushing Hosts file via Group Policy

    Hey guys I wanted to push hosts file via group policy but I’m not getting it done right. There is no problem deleting a hosts file but don’t know why I’m not able to write one. Now as I rarely need to write a file I don’t want to do it using a batch file. So can anyone please tell me if there is any way of doing the same?

    Thanks in advance.

  2. #2
    Join Date
    Sep 2004
    Posts
    129

    Re: Pushing Hosts file via Group Policy

    The best way for doing the same is using a computer startup script. That should work out for that purpose but as you said you dont want to do it with batch file, you may need to play with Group Policy Preferences. Group Policy has file copy facility as well as there is also an option to only process a setting once and then not re-enforce it - appending is not an option as far as I know.

  3. #3
    Join Date
    Jan 2006
    Posts
    4,221

    Re: Pushing Hosts file via Group Policy

    Hello adrin, I have a confusion. Can you just tell me why you want to use a hosts file? I mean if you can it using DNS itself why you want to use the hosts file.

Similar Threads

  1. Using local group policy to override domain group policy
    By Nickason in forum Active Directory
    Replies: 3
    Last Post: 28-09-2011, 04:20 AM
  2. Acrobat 9 ADM file for group policy issue
    By Cherokee in forum Windows Software
    Replies: 6
    Last Post: 25-06-2010, 06:48 AM
  3. Set page file size group policy Settings
    By cool bhavin in forum Operating Systems
    Replies: 3
    Last Post: 22-07-2009, 02:41 PM
  4. Replies: 4
    Last Post: 13-07-2008, 12:44 AM
  5. Group Policy -> Missing Group Policy settings
    By Jeroen in forum Active Directory
    Replies: 3
    Last Post: 24-07-2007, 11:00 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,635,032.60969 seconds with 17 queries