This documentation is archived and is not being maintained.

HorizontalResolution

HorizontalResolution specifies the horizontal resolution to apply to the graphics adapter.

The HorizontalResolution setting is used to configure Windows PE only, and is not applied to the Windows installation. To change the display settings for the Windows installation, see Display in the Microsoft-Windows-Shell-Setup component.

Values

 

resolution_in_pixels

Specifies the horizontal resolution to apply to the video adapter.

For example, to specify a horizontal resolution of 640, set HorizontalResolution to 640.

The value must be supported by the video adapter and the display monitor.

Valid Passes

Parent Hierarchy

Microsoft-Windows-Setup | Display | HorizontalResolution

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.

XML Example

The following XML output sets the display resolution to 640x480, with 16-bit color depth and a refresh rate of 60 hertz.

<Display>
   <HorizontalResolution>640</HorizontalResolution>
   <VerticalResolution>480</VerticalResolution>
   <ColorDepth>16</ColorDepth>
   <RefreshRate>60</RefreshRate>
</Display>

See Also

Concepts

Display

Show: