Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Set DNS servers and search order with ZEN?

Set DNS servers and search order with ZEN?

Set DNS servers and search order with ZEN?

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.


RE: Set DNS servers and search order with ZEN?

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   
Senior Network Engineer
Keep IT Simple http://www.kiscc.com

RE: Set DNS servers and search order with ZEN?

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?

RE: Set DNS servers and search order with ZEN?

Take a look at creating an application object to modify the registry keys:

We've had to do this in our environment as well.

RE: Set DNS servers and search order with ZEN?

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.

RE: Set DNS servers and search order with ZEN?

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.

RE: Set DNS servers and search order with ZEN?

that's a good idea.  i didn't think of that.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close