You are here:   Research
  |  Login

Welcome to my blog, quickest way to find articles is usually to search for them.

Search in All Title Contents

Setting screen resolution in WinPE 4.0

Jan 24 2012

In the previous WinPE version 2.x/3.x you could provide the below settings in the Unattend.xml file to set the screen resolution:


The Problem:

But if you try to do that in WinPE 4.0 it fails, and you will see the following entry in the wpeinit.log file:

2012-01-24 14:01:11.619, Info      WPEINIT is processing the unattend file
2012-01-24 14:01:11.697, Info      ==== Initializing Display Settings ====
2012-01-24 14:01:11.712, Info      Setting display resolution 1024x768x16@60: 0xfffffffe
2012-01-24 14:01:11.728, Warning   Setting the display resolution failed; this error is being ignored
2012-01-24 14:01:11.728, Info      STATUS: SUCCESS (0x00000001)

The solution:

Turned out that WinPE 4.0 (developer preview of Windows 8) didn't like 16-bit color depth, so when changing to 32-bit it works perfect


Complete sample:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="">

Deployment News

Happy deployment, and thanks for reading!

What our lawyers makes us say:

This information is provided "AS IS" with no warranties, confers no rights and is not supported by the authors or Deployment Artist.

Copyright © 2017 by Deployment Artist (the company behind deployment research). All rights reserved. No part of the information on this web site may be reproduced or posted in any form or by any means without the prior written permission of the publisher.

Shorthand: Don't pass off our work as yours, it's not nice.

Blog Archive


Where you can meet us!

Live Stream Recordings
ConfigMgr 1806 and W10 OSD

Windows 10 OSD Classes (US)
Nov 5, 2018, Phoenix, US
Dec 10, 2018, Chicago, US

Windows 10 OSD Classes (Europe)

Sep 4, 2018, Culemborg, The Netherlands

ConfigMgr CB Classes (US)
Aug 27, 2018, New York, US
Nov 12, 2018, San Diego, US

Video-based trainings

MDT, Windows 10 and ConfigMgr Books

Contact Info