set screen resolution in winpe – Password Recovery https://www.top-password.com/blog Provide useful password recovery tricks, guides and software Sat, 26 Apr 2014 08:54:48 +0000 en-US hourly 1 https://wordpress.org/?v=6.8 How to Change Screen Resolution in Windows PE 4 and 5 https://www.top-password.com/blog/how-to-change-screen-resolution-in-windows-pe-4-and-5/ Sat, 26 Apr 2014 08:52:13 +0000 http://www.top-password.com/blog/?p=3376 Windows PE (Windows Preinstallation Environment) is a lightweight version of Windows used for troubleshooting an operating system while it is offline. Previously I’ve written an article on how to create a bootable Windows PE CD or USB flash drive. But the default resolution of Windows PE is 800 x 600, Is there a way to change the screen resolution to fit on your screen?

To set screen resolution in WinPE, simply put an answer file named unattend.xml file in the root of the WinPE ISO image with the following content.

<?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>

If your Windows PE is a 32-bit Windows environment, remember to change the processor architecture from amd64 to x86. Also, since Windows PE 4.0, it doesn’t like 16-bit color depth, so when changing to 32-bit it would work perfect.

]]>