Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set DNS servers and search order with ZEN?

Status
Not open for further replies.

myersn024

IS-IT--Management
Oct 21, 2004
40
US
My boss has asked me to see if there is a way to change the DNS settings and DNS search order through ZENworks. If it can be done, I'd love to know. We're currently running NW 6.5 and ZEN 6.5.

TIA,
Nick
 
The only way I can think of that ZeN can do it would be through a Group Policy. Don't recall if the option is there however, so you'll have to drill through the settings to see. Since it is system setting, not an enviroment setting, you may not. But who know, maybe somone out on CoolSolution created a custom ADM file that does it.

Other way, well .... if you use DHCP, just change it there.

You can also write a custom script that will do the same thing and use ZfD to deploy and execute that script on the user workstations. If you know how to write VBS scripts to do it, more power to ya :) You can use a bat file to do it, personally I would use AutoIT and create a self executable script. The internal command you want to work with will be "netsh".

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Brent Schmidt Certified nut case [hippy]
Senior Network Engineer
Keep IT Simple
 
I've already searched through the group policy editor and I can't find what I'm looking for there. I'll definitely look into the AutoIT script stuff and see what I can find there. Thanks for the help.

Anyone else have any ideas?
 
Take a look at creating an application object to modify the registry keys:
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters

We've had to do this in our environment as well.
 
I looked there but was under the impression that the DNS info needed to be under one of the interface keys below HKLM\System\CurrentControlSet\Services\Tcpip\Parameters. I checked several of the computers in and around my office and none had the exact same interface key names.
 
If I'm understanding correctly, I think you might have gone too deep. Right under the Parameters key is an entry for "SearchList"

Try a snapshot of making the correct settings with just scanning the registry and see what you come up with.
 
that's a good idea. i didn't think of that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top