I use a startup script in GP that sets this using WMI: On error resume next strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set IPConfigSet = objWMIService.ExecQuery _ ("Select IPAddress from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE") For Each IPConfig in IPConfigSet If Not IsNull(IPConfig.IPAddress) Then For i=0 to UBound(IPConfig.IPAddress) sIP = IPConfig.IPAddress(i) Set colNetCards = objWMIService.ExecQuery _ ("Select * From Win32_NetworkAdapterConfiguration Where IPEnabled = True") For Each objNetCard in colNetCards arrDNSServers = Array("<yourDNS1>", "<yourDNS2>", sIP) objNetCard.SetDNSServerSearchOrder(arrDNSServers) Set objNetworkSettings = objWMIService.Get("Win32_NetworkAdapterConfiguration") arrDNSSuffixes = Array("<domain1>", "<domain2>") objNetworkSettings.SetDNSSuffixSearchOrder(arrDNSSuffixes) strPrimaryServer = "<WINSIP1>" strSecondaryServer = "<WINSIP2>" objNetCard.SetWINSServer strPrimaryServer, strSecondaryServer Next Next End If Next -----Original Message----- From: Stratton, Doug MSER:EX [mailto:Doug.M.Stratton@xxxxxxxxx] Sent: Tuesday, February 22, 2005 2:05 PM To: 'thin@xxxxxxxxxxxxx' Subject: [THIN] IP config for large farm Just wondering how you all are doing this. In the past we have hardcoded the ip infor for nics (ip, dns,wins...) I am not sure why. May have been due to unreliable DHCP servers? Anyways, we are in the process of building, what could end up being, a large farm. We want to avoid major work if DNS/WINs entries have to be changed. So if we hardcode it and have a 100 servers a bit of work has to be done to change them all. We thought about using GP to set dns and it looks like it might be doable but I can't find wins gp's. So it is kind of limited. So how are you all doing this? Thanks _______________________________________________ Doug Stratton CITS Technology Development Analyst Work: 250-356-6678 doug.m.stratton@xxxxxxxxx <mailto:doug.m.stratton@xxxxxxxxx> _______________________________________________ ********** Confidentiality Notice ********** This electronic transmission and any attached documents or other writings are confidential and are for the sole use of the intended recipient(s) identified above. This message may contain information that is privileged, confidential or otherwise protected from disclosure under applicable law. If the receiver of this information is not the intended recipient, or the employee, or agent responsible for delivering the information to the intended recipient, you are hereby notified that any use, reading, dissemination, distribution, copying or storage of this information is strictly prohibited. If you have received this information in error, please notify the sender by return email and delete the electronic transmission, including all attachments from your system.