Best way would be to write your script that copies it down from a central
source and set it as a Start Up Script via GPO.  It would get run every time
the client starts and run in the System Context, as opposed to a logon
script which runs in the user context. 

Dave
------------------------------------------------
David J. Perdue
MCSE 2000, MCSE NT, MCSA, MCP+I 
------------------------------------------------

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rodney Gardiner
Sent: Wednesday, October 13, 2004 5:31 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] HOSTS file modification via GP?

You asked:-

Is it possible to modify each client's HOSTS file via Group Policy?  If so,
how is this done?

Not that this answers your question but an alternat way to update the hosts
file could be via a login script which copies the hosts file you want on all
workstations from a specified location to the clients location overriding
the existing hosts file.

Not sure I this helps or is a reasonable way for you to do this.

Rodney 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon
Sent: Wednesday, 13 October 2004 11:25 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] HOSTS file modification via GP?

Anyone?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon
Sent: Tuesday, October 12, 2004 6:05 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] HOSTS file modification via GP?

His wouldn't work as when clients connect to the internet, they use their
ISP dns server which points our AD domain name to some other host on the
Internet.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nathan Casey
Sent: Tuesday, October 12, 2004 5:29 PM
To: [EMAIL PROTECTED]
Subject: Re: [ActiveDir] HOSTS file modification via GP?

How about creating a host entry on your internal AD DNS server that points
to your company web site, or any other
site:
your Forward lookup zone = yourcompany.com host record www 1.1.1.1 (ip
address of your web site)  This should work since your internal DNS server
is authorative for yourcompany.com and the client machines use your DNS
servers for name resolution

>>> [EMAIL PROTECTED] 10/12/2004 11:48:22 AM >>>
Is it possible to modify each client's HOSTS file via Group Policy?  If so,
how is this done?

 

Devon Harding

Windows Systems Engineer

Southern Wine & Spirits - GSD

954-602-2469

 




-----------------------------------------
__________________________________  This message and any attachments are
solely for the intended recipient and may contain confidential or privileged
information.  If you are not the intended recipient, any disclosure,
copying, use or distribution of the information included in the message and
any attachments is prohibited.  If you have received this communication in
error, please notify us by reply e-mail and immediately and permanently
delete this message and any attachments. 
Thank You.
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

-----------------------------------------
__________________________________  This message and any attachments are
solely for the intended recipient and may contain confidential or privileged
information.  If you are not the intended recipient, any disclosure,
copying, use or distribution of the information included in the message and
any attachments is prohibited.  If you have received this communication in
error, please notify us by reply e-mail and immediately and permanently
delete this message and any attachments.  Thank You.

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

-----------------------------------------
__________________________________  This message and any attachments are
solely for the intended recipient and may contain confidential or privileged
information.  If you are not the intended recipient, any disclosure,
copying, use or distribution of the information included in the message and
any attachments is prohibited.  If you have received this communication in
error, please notify us by reply e-mail and immediately and permanently
delete this message and any attachments.  Thank You.

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to