Solved

DNS suffix

Posted on 2008-06-10
5
1,028 Views
Last Modified: 2011-10-19
Hi,

I need to find a way of updating the informationin the picture below i have highlighted, with out having to log on to the PC. So i am really looking for a command line, netsh or script.

Now I can't do this with DHCP as on many pc's this has been set manualy and so over rides anything set by the DHCP server. And I cant use a reg edit becasue the setting in there is different on different PC's, the registry key below is what needs to be changed but the interface id is differnet on all the PC's

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{506D183F-D554-476B-ADEF-3159307B0863}]

I have a lot of PC's to do (200 ish) so if any one has any ideas about how to set these values remotly I would be most greatfull. Even removing them and setting them as default would be ok. (so i can set them via DHCP)

the PCs are all either XP or win2000.

Thank you

Aaron Street
ipconfig.png
0
Comment
Question by:Aaron Street
  • 2
  • 2
5 Comments
 
LVL 1

Expert Comment

by:khammad66
ID: 21750729
The best way is to use this command

netsh interface dump >ipconfig.txt

Edit ipconfig.txt

then this command

netsh exec.txt
0
 
LVL 77

Accepted Solution

by:
Rob Williams earned 500 total points
ID: 21750957
To the best of my knowledge there is no option to do this with netsh. It is usually done with DHCP, but there is a Microsoft utilities which I have never tried, which is supposed to create the necessary registry entries
http://support.microsoft.com/kb/275553

My preference though would be to use group policy:
computer configuration | administrative templates | network | DNS client | DNS suffix search list
0
 
LVL 16

Author Comment

by:Aaron Street
ID: 21751421
Rob, The dns suffix search list will not change the DNS suffix for this connection setting though.

And like i mentioned we do generaly use DHCP for all the settings. however these are ones that have long ago been set manualy so DHCP makes no difference..

however having now opened that GP I see the one i want is also right there!! remind my self to look before I reply ;) I wanted the connection specific DNS suffix setting. I sure i check before but maybe not!

Cheers for that sir.. think thats fixed it!

and like you say netsh can't change this setting.. tried that before
0
 
LVL 16

Author Closing Comment

by:Aaron Street
ID: 31465684
you life saver rob! I been hunting for that setting for months and i sure i check there before !!

thank you
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 21751618
Glad to be of assistance. Thanks DevilWAH.
Cheers !
--Rob
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now