If you also want the client to pull the DNS from DHCP, you need to use a second line setting that.
--nme -----Original Message----- From: Tim Foster [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 16, 2005 6:08 AM To: [email protected] Subject: RE: [ActiveDir] Set clients to DHCP via GPO, Script or batch file? You can use the netsh command in a batch file and rollout it out to your clients through a startup script. netsh interface ip set address "Local" dhcp where "Local" is the name assigned to the network interface. Regards, Tim -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Singler Sent: Wednesday, March 16, 2005 8:52 AM To: [email protected] Subject: Re: [ActiveDir] Set clients to DHCP via GPO, Script or batch file? this might help: http://www.microsoft.com/technet/scriptcenter/scripts/network/client/mod ify/nwmovb05.mspx Mark Orlando wrote: > Hello all Windows Networking Gurus! > > I was wondering if there Is an easy way (script, .bat, and/or GPO) to > automatically set up all of my clients for DHCP from static IP addresses > without physically visiting each machine? Thanks in advance. > > Mark :) > > > List info : http://www.activedir.org/List.aspx > List FAQ : http://www.activedir.org/ListFAQ.aspx > List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
