Netsh For example: NetSH Interface IP set wins name="Local Area Connection" source=static addr=192.168.1.1 NetSH Interface IP Set dns name="Local Area Connection" source=static addr=192.168.1.1 Assuming your Interface is still named "Local Area Connection". Or, if you have more than one interface, parse the output of: NetSH Interface Show Interface HTH, Glenn Sullivan, MCSE+I MCDBA David Clark Company Inc. -----Original Message----- From: Costanzo, Ray [mailto:rcostanzo@xxxxxxxxxxx] Sent: Monday, August 04, 2003 12:31 PM To: windows2000@xxxxxxxxxxxxx Subject: [windows2000] Setting WINS and DNS from the command prompt for any/all NICs Hi group, I'm wondering if anyone knows of a way to set a couple of WINS and DNS entries on machines from the command prompt. I know where these entries are stored in the registry, and I could do it that way, but it's a PITA to enumerate through dead NIC entries and what not and try to determine the correct NIC. Is there a command line tool for such a thing? I do not see anything in the reskit. Thanks, Ray at work **************************************************************************** ****************************** The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. Distribution, publication, or retransmission of this message is strictly prohibited. This message may be a bank to client communication and as such is priviliged and confidential. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. The sender of this e-mail specifically "opts-out" of the Electronic Signatures and Global and National Commerce Act (E-Sign) and any and all similar state and federal acts. Accordingly, but without limitation, any and all documents, contracts, and ageements must contain a handwritten signature of the sender to be legal, valid, and enforceable. **************************************************************************** ****************************** This weeks sponsor - RTOSoft TScale Complaints about applications response time - DO SOMETHING ABOUT IT! TScale 2.0 improves applications response time and increases terminal server capacity. Really get MORE from your existing servers! Free eval: http://www.rtosoft.com/enter.asp?id=131 ================================== To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm This weeks sponsor - RTOSoft TScale Complaints about applications response time - DO SOMETHING ABOUT IT! TScale 2.0 improves applications response time and increases terminal server capacity. Really get MORE from your existing servers! Free eval: http://www.rtosoft.com/enter.asp?id=131 ================================== To Unsubscribe, set digest or vacation mode or view archives use the below link. http://thethin.net/win2000list.cfm