• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1117
  • Last Modified:

Add DNS suffixes to answer file

I need to add a group of DNS suffixes to my sysprepped base image. Since DNS suffixes are considered a personalized setting they're removed when sysprep installs the image on a new machine. I need to add 9 DNS suffixes in a certain order, similar to this:

xyz.ad.eer
ad.eer
llk.ad.eer
etc.

I tried a few different commands under the Networking secton in the answer file but nothing seemed to take. Using a sysprep answer file, Windows XP, reseal, use mini setup.
0
goodman1210
Asked:
goodman1210
  • 2
2 Solutions
 
mooodiecrCommented:
This is the link I have used before to add custom DNS suffix to an XP machine.  Not sure if it will fit your need as it is a registry entry.

http://www.windowsitpro.com/article/domains2/q-how-can-i-use-the-command-line-to-change-a-system-s-dns-suffix-.aspx
0
 
johnb6767Commented:
Also, you could add a setup script to import it via a reg file, after completion.... Why not use policy to deploy the settings?
0
 
goodman1210Author Commented:
These are standalone computers, not joined to the domain, so any type of group policy is not an option.
0
 
goodman1210Author Commented:
I ended up adding a run once command using the command line syntax that mooo gave. Thanks guys.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now