Aaron Street
asked on
DNS suffix
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 \CurrentCo ntrolSet\S ervices\Tc pip\Parame ters\Inter faces\{506 D183F-D554 -476B-ADEF -3159307B0 863}]
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
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
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
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
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
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
ASKER
you life saver rob! I been hunting for that setting for months and i sure i check there before !!
thank you
thank you
Glad to be of assistance. Thanks DevilWAH.
Cheers !
--Rob
Cheers !
--Rob
netsh interface dump >ipconfig.txt
Edit ipconfig.txt
then this command
netsh exec.txt