How can I change the resolution of WinPE?

Hey guys,

I created a WinPE Boot Disc using Windows ADK for Windows 8.1, everything worked fine, except for the screen resolution of WinPE, it shows in a very high resolution and the software/fonts it runs show very small, how can I change the resolution so the running software shows the correct way?

I already tried putting an unattend.xml in:

  • Boot disc root (media folder and root after moounted)
  • %windir%
  • %windir%\system32

With these lines:

<?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="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    	   <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <RefreshRate>60</RefreshRate>
                <VerticalResolution>768</VerticalResolution>
           </Display>
        </component>
    </settings>
</unattend>


I also tried adding -attend:x:\unattend.xml in startnet.cmd

But it still shows too small.

Ant ideas?

Thanks.




  • Edited by JFHPHS Wednesday, May 20, 2015 8:09 PM
May 20th, 2015 7:40pm

This seems more likely, but what do I have to type?

bcdedit /WHAT

I'm not familiar with bcdedit so I don't know what to type.

Thanks.

Free Windows Admin Tool Kit Click here and download it now
May 21st, 2015 9:13am

If you are booting in UEFI mode, you cannot change the resolution.
May 21st, 2015 11:41am

If you are booting in UEFI mode, you cannot change the resolution.

That sucks, thanks anyway.
Free Windows Admin Tool Kit Click here and download it now
May 21st, 2015 12:56pm

Ok to be more specific... if using WinPE 5 (or any PE based on Win8 and newer)... booting in UEFI mode... WinPE will query the system firmware to see if it has GOP capable graphics (a requirement of UEFI 2.3.1 spec although it wouldn't surprise me to find systems out of compliance.) If GOP capable, WinPE will use the native resolution of the display.

In a case like this, currently there is no way to disable this behaviour. Now, fortunately, WinPE will scale certain portions of the UI to look "normal" but some GUIs will not and as a result everything is small. The "official" answer here is to re-write your software (or whoever made it) to run correctly in that type of environment. Of course, even MS has this problem... say if you do UEFI boot with a Windows 8+ DVD on a system with 4k display... let's just say you need a magnifying glass to do your install!

Anyways, as noted, using an unattend file to set resolution is parsed but ignored. Also using third party programs to change resolution (in my experience) do not work properly to solve this.
May 22nd, 2015 11:05am

Ok to be more specific... if using WinPE 5 (or any PE based on Win8 and newer)... booting in UEFI mode... WinPE will query the system firmware to see if it has GOP capable graphics (a requirement of UEFI 2.3.1 spec although it wouldn't surprise me to find systems out of compliance.) If GOP capable, WinPE will use the native resolution of the display.

In a case like this, currently there is no way to disable this behaviour. Now, fortunately, WinPE will scale certain portions of the UI to look "normal" but some GUIs will not and as a result everything is small. The "official" answer here is to re-write your software (or whoever made it) to run correctly in that type of environment. Of course, even MS has this problem... say if you do UEFI boot with a Windows 8+ DVD on a system with 4k display... let's just say you need a magnifying glass to do your install!

Anyways, as noted, using an unattend file to set resolution is parsed but ignored. Also using third party programs to change resolution (in my experience) do not work properly to solve this.
Free Windows Admin Tool Kit Click here and download it now
May 22nd, 2015 3:04pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics