ColorDepth (microsoft-ColorDepth) ColorDepth (microsoft-windows-setup-display-colordepth)

ColorDepth 指定要应用于视频适配器的每像素位数。ColorDepth specifies the bits-per-pixel color depth to apply to the video adapter.

ColorDepth 设置仅用于配置 WINDOWS PE,不适用于 windows 安装。The ColorDepth setting is used to configure only Windows PE, and is not applied to the Windows installation. 若要更改 Windows 安装的显示设置,请参阅在Microsoft Windows Shell 安装组件中显示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. 如果为此设置选择了不受 Windows PE、视频适配器或显示器监视器支持的值,则 Windows PE 可能只显示空白屏幕并且不会显示错误。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

color_depth_bits_per_pixelcolor_depth_bits_per_pixel

指定要应用于视频适配器的每像素位数。Specifies the bits-per-pixel color depth to apply to the video adapter.

例如,若要指定32位的颜色深度,请将设置 ColorDepth32For example, to specify a color depth of 32 bits, set ColorDepth to 32.

ColorDepth视频适配器和显示器监视器必须支持的值。The value for ColorDepth must be supported by the video adapter and the display monitor.

有效的配置阶段Valid Configuration Passes

windowsPEwindowsPE

父层次结构Parent Hierarchy

microsoft-windows-设置- | 显示 | ColorDepthmicrosoft-windows-setup- | Display | ColorDepth

适用于Applies To

注意Note
此设置仅影响基于 BIOS 的计算机上的 Windows 安装程序过程。This setting only affects the Windows Setup process on BIOS-based computers. 基于 UEFI 的计算机不受这些设置的影响。UEFI-based computers are not affected by these settings.

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 microsoft-安装-For a list of the Windows editions and architectures that this component supports, see microsoft-windows-setup-.

XML 示例XML Example

下面的 XML 输出将显示分辨率设置为640x480,16位色深度为 60 hz。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>

显示器Display