Eagle710 Posted March 12, 2010 Share Posted March 12, 2010 (edited) I have an xml file that I call using wpeinit ro change the resolution of my WinPE. However, running the command through winpeshl.ini doesn't work. Any Ideas?Here are the files/commands:I have the following file DisplayChange.xml which contains the following:<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" processorArchitecture="x86"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> <VerticalResolution>768</VerticalResolution> </Display> <EnableNetwork>true</EnableNetwork> <EnableFirewall>true</EnableFirewall> <PageFile> <Path>C:\Pagefile.sys</Path> <Size>1024</Size> </PageFile> </component> </settings></unattend>And I would like to run the following command from within the Winpeshl.ini file:wpeinit.exe, /unattend=X:\Windows\Displaychange.xmlMy WINPESHL.ini file for simplicity looks like this:[LAUNCHAPPS]x:\windows\system32\startnet.cmdx:\windows\system32\wpeinit.exe, /unattend=X:\Windows\Displaychange.xmlx:\windows\system32\cmd.exeI have tried switching the order of the wpeinit command and there is no difference. However, if I run the command by itself from a command prompt it works and therefore changes the display. Any idea why this is happening? Edited March 13, 2010 by Eagle710 Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now