The unattend.exe utility adds device-driver specific information to the Microsoft Windows unattended installation answer file for a deployment scenario.
The ServerGuide Scripting Toolkit uses the unattend.exe utility to dynamically add server-specific device-driver information to the answer file for an unattended installation. The device drivers on the IBM ServerGuide Setup and Installation CD are already configured for use with this utility.
For text mode device drivers, the unattend.exe utility uses the information in the hwdetect.ini file and the txtsetup.oem file (located in the \$oem$\textmode directory of the target server) to add the text mode device driver information to the answer file. This utility also adds the Microsoft retail text mode device drivers using information specified in the txtsetup.sif file from the i386 directory of the Windows operating-system installation source files.
For plug-and-play and executable device drivers, the unattend.exe utility uses information from the hwdetect.ini file (the output of the hwdetect.exe utility) and the drvinfo.ini file in each device-driver directory in the target server to determine the device drivers to add to the answer file. Device drivers that are not supported on the target server are deleted from the device drivers directory.
unattend [/?] <file_name|/U:file /D:path /H:file /I:path> [/U:file] [/D:path]
[/H:file_name] [/I:path] [/S:drive] [/C] [/T] [/P] [/E] [/V:n]
Parameter | Description |
---|---|
|
Displays all parameters. |
|
Specifies a fully qualified path and file name
for the unattend.ini file that contains command-line
parameters for the unattend.exe utility. You
can put parameters in this file instead of typing them all on the
command line, which is useful for long command lines that exceed the
limit of 127 characters.
|
|
Specifies a fully qualified path and file name for the answer file. |
|
Specifies a fully qualified path to the device drivers directory in the target server. If path does not include $oem$, you must use the /T parameter to process text mode device drivers. |
|
Specifies a fully qualified path and file name for the hwdetect.ini file that was created by the hwdetect.exe utility. |
|
Specifies a fully qualified path to the i386 directory in the target server. |
|
Specifies the drive letter on the target server to which the operating system is being installed. |
|
Creates a default unattend.ini file |
|
Causes the unattend.exe utility to add only the text mode device-driver information to the answer file. |
|
Causes the unattend.exe utility to add only the plug-and-play device driver information to the answer file. |
|
Causes the unattend.exe utility to add only the executable device driver information to the answer file. |
|
Specifies the verbose level used to report status
during the deployment process. Valid values for n are:
|
Value | Description |
---|---|
0 | Success |
1 | Syntax error |
2 | Program error |
3 | Destination is read-only |
4 | No device-driver information files found |
Example | Description |
---|---|
|
Adds plug-and-play and executable device drivers from c:\w2\$oem$\$1\drv and the text mode device drivers from c:\w2\$oem$\textmode to the answer file and deletes device drivers not specific to the target server. |
|
Adds only the text mode device drivers from the c:\w2\$oem$\textmode directory to the answer file. |