The unattend utility dynamically adds server-specific device-driver information to the Microsoft Windows answer file for an unattended installation deployment.
The device drivers on the Lenovo ServerGuide Setup and Installation CD are already configured for use with the unattend utility.
The unattend utility processes three types of device drivers and adds the device-driver information to the answer file in one or more locations, depending on the type of device driver.
Device Driver | Notes |
---|---|
Text mode |
|
Hardware abstraction layer (HAL) |
|
Plug and Play |
|
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. |
file_name |
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.
|
/U:file |
Specifies a fully qualified path and file name for the answer file. |
/D:path |
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. |
/H:file |
Specifies a fully qualified path and file name for the hwdetect.ini file that was created by the hwdetect.exe utility. |
/I:path |
Specifies a fully qualified path to the i386 directory in the target server. |
/S:drive |
Specifies the drive letter on the target server to which the operating system is being installed. |
/C |
Creates a default unattend.ini file |
/T |
Causes the unattend.exe utility to add only the text mode device-driver information to the answer file. |
/P |
Causes the unattend.exe utility to add only the plug-and-play device driver information to the answer file. |
/E |
Causes the unattend.exe utility to add only the executable device driver information to the answer file. |
/V:n |
Specifies the verbose level used to report status during the deployment process. Valid values for n are:
|
Example | Description |
---|---|
unattend /U:c:\unattend.txt /D:c:\w2\$oem$\$1\drv /H:c:\hwdetect.ini /I:C:\i386 |
Adds plug-and-play and executable device drivers from c:\w2\$oem$\$1\drv and text mode device drivers from c:\w2\$oem$\textmode to the answer file and deletes device drivers not specific to the target server. |
unattend /U:C:\unattend.txt /D:c:\w2\$oem$\textmode /H:c:\hwdetect.ini /I:c:\i386 /T |
Adds only text mode device drivers from the c:\w2\$oem$\textmode directory to the answer file. |