|
| |||||||||
| Tags: group, hosts, policy, pushing |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Pushing Hosts file via Group Policy
Did you ever get this figured out. I'm able to delete a hosts file, but not write one out. I don't want to use a batch file, because I only want to write to the file, when we need to. Better yet, I would like to be able to append to it, instead of overwrite it. Brian Jef wrote: Push a HOSTS file via Group Policy 19-Jun-07 Hello all, I would like to push out a HOSTS file to all clients on our domain using Group Policy. I was going to write a simple batch file and set it up to be copied to all machines, much like I had Previous Posts In This Thread: On Tuesday, June 19, 2007 3:27 PM Jef wrote: Push a HOSTS file via Group Policy Hello all, I would like to push out a HOSTS file to all clients on our domain using Group Policy. I was going to write a simple batch file and set it up to be copied to all machines, much like I had On Tuesday, June 19, 2007 3:57 PM Florian Frommherz wrote: Howdie Jeff! Howdie Jeff! Jeff wrote: You can do that pretty good with a computer startup script. That should work out for that purpose. cheers, Florian -- eMail: prename [at] frickelsoft [dot] net. blog: http On Tuesday, June 19, 2007 4:39 PM Norbert Fehlauer [MVP] wrote: Re: Push a HOSTS file via Group Policy Florian Frommherz wrote: Hi, Nobody dare to ask: Hosts-file? ;) Bye Norbert -- Dilbert's words of wisdom #19: Am I getting smart with you? How would you know? EggHeadCafe - Software Developer Portal of Choice ASP.NET AJAX Automatically Saving Web Form Data http://www.eggheadcafe.com/tutorials...omaticall.aspx |
|
#2
| |||
| |||
| Re: Pushing Hosts file via Group Policy
Howdie! Brian Gibb schrieb: > Did you ever get this figured out. I'm able to delete a hosts file, but not write one out. I don't want to use a batch file, because I only want to write to the file, when we need to. Better yet, I would like to be able to append to it, instead of overwrite it. A well engineered script could do that. Other than that, Group Policy Preferences have a file copy facility as well as an option to only process a setting once and then not re-enforce it - appending is not an option as far as I know. Cheers, Florian -- Microsoft MVP - Group Policy eMail: prename [at] frickelsoft [dot] net. blog: http://www.frickelsoft.net/blog. Maillist (german): http://frickelsoft.net/cms/index.php?page=mailingliste |
|
#3
| |||
| |||
| Re: Pushing Hosts file via Group Policy
"Brian Gibb" wrote in message news:20091021114854bgibb@saintjosephri.com... > Did you ever get this figured out. I'm able to delete a hosts file, but > not write one out. I don't want to use a batch file, because I only want > to write to the file, when we need to. Better yet, I would like to be > able to append to it, instead of overwrite it. > > Brian > > > > Jef wrote: > > Push a HOSTS file via Group Policy > 19-Jun-07 > > Hello all, > > I would like to push out a HOSTS file to all clients on our domain using > Group Policy. I was going to write a simple batch file and set it up to > be > copied to all machines, much like I had > > Previous Posts In This Thread: > > On Tuesday, June 19, 2007 3:27 PM > Jef wrote: > > Push a HOSTS file via Group Policy > Hello all, > > I would like to push out a HOSTS file to all clients on our domain using > Group Policy. I was going to write a simple batch file and set it up to > be > copied to all machines, much like I had > > On Tuesday, June 19, 2007 3:57 PM > Florian Frommherz wrote: > > Howdie Jeff! > Howdie Jeff! > > Jeff wrote: > > You can do that pretty good with a computer startup script. That should > work out for that purpose. > > cheers, > > Florian > -- > eMail: prename [at] frickelsoft [dot] net. > blog: http > > On Tuesday, June 19, 2007 4:39 PM > Norbert Fehlauer [MVP] wrote: > > Re: Push a HOSTS file via Group Policy > Florian Frommherz wrote: > Hi, > > > Nobody dare to ask: Hosts-file? ;) > > Bye > Norbert > > -- > Dilbert's words of wisdom #19: Am I getting smart with you? How would > you know? > > EggHeadCafe - Software Developer Portal of Choice > ASP.NET AJAX Automatically Saving Web Form Data > http://www.eggheadcafe.com/tutorials...omaticall.aspx Not sure why you want to use a hosts file when DNS can do the trick for you. May I ask why you want to use a hosts file? Ace |
|
#4
| |||
| |||
| Re: Pushing Hosts file via Group Policy Did you ever get this figured out. As M. Fekay observes, the original poster probably figured out that the domain controller came with a fully fledged DNS server, capable of everything that can be done by having the server push hosts files onto clients, and more besides. After all, rendering obsolete a system of copying hosts files around is partly why the world gained DNS in the first place … |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Pushing Hosts file via Group Policy" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| using local group policy to override domain group policy | inenewbl | Active Directory | 4 | 28-09-2011 05:20 AM |
| Acrobat 9 ADM file for group policy issue | Cherokee | Windows Software | 6 | 25-06-2010 07:48 AM |
| File / Registry auditing using Group Policy | Venkatesh | Active Directory | 3 | 23-07-2009 06:13 PM |
| Set page file size group policy Settings | cool bhavin | Operating Systems | 3 | 22-07-2009 03:41 PM |
| Pushing software with Group Policy | ifanatic | Small Business Server | 8 | 21-01-2008 10:20 PM |