Sysprep is removing DNS config
After running sysprep my PCs have lost the 'DNS suffix for this connection' and 'Append these DNS suffixes (in this order)'. Is there a way I can readd these settings back post sysprep via a batch file or some other automated way?
Thanks for any suggestions.
Doug
Thanks for any suggestions.
Doug
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
mcquitp
20 years ago
You can edit your sysprep.inf file like this:
EXAMPLE
[Networking]
InstallDefaultComponents=Yes
[NetProtocols]
MS_TCPIP=params.MS_TCPIP
[params.MS_TCPIP]
DNSDomain=NORTHAMERICA.INTRA.ABBOTT.COM
DNSSuffixSearchOrder=northamerica.intra.abbott.com, cmis.abbott.com, dhcp.abbott.com
Correct me if I'm wrong here with the terminology guys but I believe you have to setup the Networking object, to configure the NetProtocols method, to set the params.MS_TCPIP property (Ok, it's been a while. LOL). Add your own version of these lines to your sysprep.inf file and you should be good to go. Sysprep will automatically populate the field with the requested changes. You can also do a reg hit but I don't have the locs memorized. To find the key, do a quick search of the registry for a pre-configured suffix.
EXAMPLE
[Networking]
InstallDefaultComponents=Yes
[NetProtocols]
MS_TCPIP=params.MS_TCPIP
[params.MS_TCPIP]
DNSDomain=NORTHAMERICA.INTRA.ABBOTT.COM
DNSSuffixSearchOrder=northamerica.intra.abbott.com, cmis.abbott.com, dhcp.abbott.com
Correct me if I'm wrong here with the terminology guys but I believe you have to setup the Networking object, to configure the NetProtocols method, to set the params.MS_TCPIP property (Ok, it's been a while. LOL). Add your own version of these lines to your sysprep.inf file and you should be good to go. Sysprep will automatically populate the field with the requested changes. You can also do a reg hit but I don't have the locs memorized. To find the key, do a quick search of the registry for a pre-configured suffix.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.