Setting DNS Domain Suffix Search Order During an Unattended Installation
ID: Q178277
|
The information in this article applies to:
-
Microsoft Windows NT Workstation version 4.0
-
Microsoft Windows NT Server version 4.0
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it if
a problem occurs. For information on how to do this, view the "Restoring
the Registry" online Help topic in Regedit.exe or the "Restoring a Registry
Key" online Help topic in Regedt32.exe.
SUMMARY
The unattended setup mode of Windows NT does not offer a way to specify the
domain suffix search order. The ability to use a domain suffix search order
may be very useful in certain business situations and can be accomplished
at the end of the unattended installation process.
MORE INFORMATION
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys And
Values" online Help topic in Registry Editor (Regedit.exe) or the "Add and
Delete Information in the Registry" and "Edit Registry Data" online Help
topics in Regedt32.exe. Note that you should back up the registry before
you edit it.
Method 1
- Create a text file with the following two lines of text and save it as
Suffix.txt. The spacing must be exactly as shown below, where
"xxxxxxxx.xxx" signifies a domain suffix. Up to six domain suffixes may
be specified. The search order is left to right.
\\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TCPIP
\Parameters
SearchList="testxxxx.com test2xxxx.net test3xxxx.gov"
NOTE: The above registry key is one path; it has been wrapped for
readability.
- Copy Regini.exe and Suffix.txt to the $OEM$ subdirectory at the
installation sharepoint. Regini.exe is a Windows NT Resource Kit Utility
- If one does not exist, create a Cmdlines.txt file in the $OEM and add
the following line including the quotes:
[Commands]
".\REGINI SUFFIX.TXT"
Only one instance of the [Commands] heading should exist in the
Cmdlines.txt file.
- Make sure the entry OEMPREINSTALL = Yes exists in the [UNATTEND] section
of your Unattended.txt file.
Method 2
- Create a registry file with the following two lines of text and save
it as Suffix.reg. The spacing must be exactly as shown below, where
"xxxxxxxx.xxx" signifies a domain suffix. Up to six domain suffixes may
be specified. The search order is left to right.
REGEDIT4
\\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
"SearchList"="testxxx1.com testxxx2.net testxxx3.gov"
- Copy Regedit.exe and Suffix.reg to the $OEM$ subdirectory at the
installation sharepoint. Regedit.exe is provided with Windows NT.
- If one does not exist, create a Cmdlines.txt file in the $OEM and add
the following line including the quotes:
[Commands]
".\REGEDIT /s SUFFIX.REG"
Only one instance of the [Commands] heading should exist in the
Cmdlines.txt file.
- Make sure the entry OEMPREINSTALL = Yes exists in the [UNATTEND] section
of your Unattended.txt file
Additional query words:
unattended registry suffix domain
Keywords : kbsetup ntsetup NTSrvWkst
Version : WinNT:4.0
Platform : winnt
Issue type : kbhowto
Last Reviewed: January 28, 1999