Export (0) Print
Expand All

Display

Updated: August 1, 2012

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

Display specifies the display settings for the display device.

 

ColorDepth

Specifies a valid color depth for the display device in bits per pixel.

DPI

Specifies what size to show text and other items on the screen.

HorizontalResolution

Specifies a valid horizontal resolution for the display device.

RefreshRate

Specifies a valid refresh rate for the display device.

VerticalResolution

Specifies a valid vertical resolution for the display device.

noteNote
If the specified settings cannot be set on the display device, Windows® attempts to match the requested mode as closely as possible.

auditSystem

auditUser

oobeSystem

specialize

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

The following XML output sets the display resolution to 1024x768, with 32-bit color depth, and a refresh rate of 72 hertz.

<Display>
   <ColorDepth>32</ColorDepth>
   <HorizontalResolution>1024</HorizontalResolution>
   <RefreshRate>72</RefreshRate>
   <VerticalResolution>768</VerticalResolution>
</Display>

The following XML output sets the display resolution to 1024x768, with 32-bit color depth, a refresh rate of 72 hertz, and displays text and graphics items at a medium size.

<Display>
   <ColorDepth>32</ColorDepth>
   <DPI>120</DPI>
   <HorizontalResolution>1024</HorizontalResolution>
   <RefreshRate>72</RefreshRate>
   <VerticalResolution>768</VerticalResolution>
</Display>

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft