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.xml
My WINPESHL.ini file for simplicity looks like this:
[LAUNCHAPPS] x:\windows\system32\startnet.cmd x:\windows\system32\wpeinit.exe, /unattend=X:\Windows\Displaychange.xml x:\windows\system32\cmd.exe
I 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?
This post has been edited by Eagle710: 12 March 2010 - 09:29 PM



Help

Back to top









