Closed HedgeComp closed 2 months ago
The script is assuming that specialize is the first settings pass with computerName as the first component. Since you have WinPE as the first pass, it won't find the computername.
You shouldn't need the WinPE stuff. I'd try something like this.
`<?xml version="1.0" encoding="utf-8"?>
Thanks, I knew there had to be a specific order somewhere. I was copying and splicing old Unattends together for this, so I will correct it and give it a try.
For thos you come here later. Issues Solved by Keeping the CcmputerName Element in first few lines of Specialize Pass. Note this was the Case in 2409.1. Maybe no longer be relevant in recode after October 2024 release.
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<!--<ComputerName> must be in the first Component Element "Microsoft-Windows-Shell-Setup" . Do not change the order or remove it -->
<component name="Microsoft-Windows-Shell-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">
<ComputerName>MyComputer</ComputerName>
</component>
<!--Place addtional Components Elements and settings below here. -->
</settings>
</unattend>
Hi @rbalsleyMSFT , I tried to update the XML for the Unattend_x64.xml to add the keyboard and the Default Time Zone. When WinPE Environment runs to copy the FFU I get the following error:
Is there any thing I am missing perhaps in the correct settings or component section?
`<?xml version="1.0" encoding="utf-8"?>