共用方式為


VerticalResolution

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

VerticalResolution specifies the vertical resolution to apply to the video adapter.

This setting is used to configure only Windows PE, 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.

Note

We recommend that you use the default settings. If you select a value for this setting that is not supported by Windows PE, your video adapter, or the display monitor, then Windows PE might show only a blank screen and will not display an error.

Values

resolution_in_pixels

Specifies the vertical resolution to apply to the video adapter.

For example, to specify a vertical resolution of 480, set VerticalResolution to 480.

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

Valid Configuration Passes

windowsPE

Parent Hierarchy

Microsoft-Windows-Setup | Display | VerticalResolution

Applies To

Note

This setting only affects the Windows Setup process on BIOS-based computers. UEFI-based computers are not affected by these settings.

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