banner

[Display]

Answer File = Unattend.txt and Sysprep.inf

The [Display] section contains entries for specifying display settings for graphics devices.

If the specified settings are not valid for the graphics device, Setup finds the closest match to the selected settings to configure the device.

Important

Sysprep.exe configures the operating system to use the video settings in the [Display] section of Sysprep.inf. If there are no display settings or if Setup does not use Sysprep.inf, Sysprep.exe uses the video settings in the registry. If you configure the display settings manually, set them in Unattend.txt, or use the defaults, then Sysprep retains those settings. If you define the screen resolution in both the [Display] section of Sysprep.inf and in the [ComputerSettings] section of Winbom.ini, the operating system uses the settings in Sysprep.inf.

Entry Description
BitsPerPel Specifies the valid bits per pixel for the graphics device.
Vrefresh Specifies a valid refresh rate for the graphics device.
Xresolution Specifies a valid x resolution for the graphics device.
Yresolution Specifies a valid y resolution for the graphics device.

Sample

This sample demonstrates one use of the [Display] section of Unattend.txt.

[Display]
BitsPerPel = 16
Vrefresh = 75
Xresolution = 1024
Yresolution = 768

BitsPerPel

Specifies the valid bits per pixel for the graphics device.

Syntax BitsPerPel = valid_bits_per_pixel
Value valid_bits_per_pixel
Example For example, a value of 8 (28) implies 256 colors, and a value of 16 implies 65,536 colors.

icon Return to top

Vrefresh

Specifies a valid refresh rate for the graphics device.

Syntax Vrefresh = valid_refresh_rate
Value valid_refresh_rate
Example
Vrefresh = 75

icon Return to top

Xresolution

Specifies a valid x resolution for the graphics device.

Syntax Xresolution = valid_x_resolution
Value valid_x_resolution
Example
Xresolution = 1024

icon Return to top

Yresolution

Specifies a valid y resolution for the graphics device.

Syntax Yresolution = valid_y_resolution
Value valid_y_resolution
Example
Yresolution = 768

icon Return to top