Error while launching setup using unattend.xml file to upgrade from windows server 2016 to 2019 standard

SN_1987 0 Reputation points
2023-08-30T09:58:37.8266667+00:00

Hi All,

I am trying to upgrade my server OS from 2016 to 2019 STD using below unattend.xml file

http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="`http://www.w3.org/2001/XMLSchema-instance`"> en-US en-US en-US en-US en-US http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="`http://www.w3.org/2001/XMLSchema-instance`"> UABhAHMAcwB3AG8AcgBkAEAAMQAyADMANAA1AEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA== false</PlainText> </AdministratorPassword> </UserAccounts> </component> </settings> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="<a target="_blank" href="http://schemas.microsoft.com/WMIConfig/2002/State">http://schemas.microsoft.com/WMIConfig/2002/State</a>" xmlns:xsi="<a target="_blank" href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"> <UserData> <ProductKey> <WillShowUI>Never</WillShowUI> </ProductKey> <AcceptEula>true</AcceptEula> </UserData> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>Windows Server 2019 SERVERSTANDARD</Value> </MetaData> </InstallFrom> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> </OSImage> </ImageInstall> <DiskConfiguration> <Disk wcm:action="add"> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> </DiskConfiguration> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="<a target="_blank" href="http://schemas.microsoft.com/WMIConfig/2002/State">http://schemas.microsoft.com/WMIConfig/2002/State</a>" xmlns:xsi="<a target="_blank" href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"> <ComputerName>test-2019std</ComputerName> </component> </settings> <cpi:offlineImage cpi:source="wim:d:/iso/sources/install.wim#Windows Server 2019 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> </div>

using powershell I am triggering the xml file

./setup.exe /unattend:e:\unattend.xml

But I am getting below error after executing

"Windows can't Display the Images available for Installation"

I tried executing the the setup.exe manually, and it was working fine.

Please help me with the issue here

Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,766 Reputation points
    2023-09-01T08:16:44.39+00:00

    Hello there,

    Are you using any generator for your XML file?

    On the failed install you can press ctrl-alt-F3 to get a command window on the failed install. Then change to either c:\windows\panther or c:\windows\sysprep (depending on where your unattend.xml file was) and look at the log files in there One should tell you what happened with your install. I think from the command window you can key in notepad <filename> and get a text edit view of the log files. if winsetup or oobe fails it should write about it in the log files.

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.