Quantcast
Viewing latest article 13
Browse Latest Browse All 2818

Problem with InstallFrom section in answer file for Windows Server 2019

In the past I generated and successfully used answer file autounattend.xml to install Windows Server 2016 (used image en_windows_server_2016_x64_dvd_9718492.iso). Now I generated by help of Windows System Image Manager new answer file (see below) to install Windows Server 2019 (used image en_windows_server_2019_updated_june_2020_x64_dvd_7757177c.iso). Differences between these files are only product key and OS name in ImageInstall/OSImage/InstallFrom/MetaData/Value section (Windows Server 2016 SERVERSTANDARD and Windows Server 2019 SERVERSTANDARD accordingly). But Windows Server 2019 installation fails with the following error:
"Windows installation encountered an unexpected error. Verify that the installation sources are accessible, and restart the installation.
Error code: 0xC0000005"

When I removed InstallFrom section from the answer file, Windows Server 2019 installation completes successfully, but I need to select the OS (Windows Server 2019 Standard or Windows Server 2019 Standard Desktop Experience) in UI manually during installation. Of course, it's not unattended installation in result.

Could you please clarify me what's wrong in my autounattend.xml for Windows Server 2019?

<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"><settings pass="windowsPE"><component name="Microsoft-Windows-International-Core-WinPE" 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"><SetupUILanguage><UILanguage>en-US</UILanguage></SetupUILanguage><InputLocale>en-US</InputLocale><SystemLocale>en-US</SystemLocale><UILanguage>en-US</UILanguage><UserLocale>en-US</UserLocale></component><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"><ImageInstall><OSImage><InstallFrom><MetaData wcm:action="add"><Key>/IMAGE/NAME</Key><Value>Windows Server 2019 SERVERSTANDARD</Value></MetaData></InstallFrom><WillShowUI>OnError</WillShowUI><InstallTo><DiskID>0</DiskID><PartitionID>2</PartitionID></InstallTo><InstallToAvailablePartition>false</InstallToAvailablePartition></OSImage></ImageInstall><UserData><ProductKey><WillShowUI>Never</WillShowUI><Key>*****-*****-*****-*****-*****</Key></ProductKey><AcceptEula>true</AcceptEula></UserData><DiskConfiguration><Disk wcm:action="add"><CreatePartitions><CreatePartition wcm:action="add"><Order>1</Order><Size>500</Size><Type>Primary</Type></CreatePartition><CreatePartition wcm:action="add"><Order>2</Order><Type>Primary</Type><Extend>true</Extend></CreatePartition></CreatePartitions><WillWipeDisk>true</WillWipeDisk><ModifyPartitions><ModifyPartition wcm:action="add"><Order>1</Order><PartitionID>1</PartitionID><Label>Boot</Label><Format>NTFS</Format><Active>true</Active></ModifyPartition><ModifyPartition wcm:action="add"><Order>2</Order><PartitionID>2</PartitionID><Label>System</Label><Format>NTFS</Format></ModifyPartition></ModifyPartitions><DiskID>0</DiskID></Disk></DiskConfiguration></component></settings><settings pass="oobeSystem"><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"><UserAccounts><AdministratorPassword><Value>MyP@ssw0rd</Value><PlainText>true</PlainText></AdministratorPassword></UserAccounts></component></settings><cpi:offlineImage cpi:source="wim:c:/users/administrator/desktop/win2019/install.wim#Windows Server 2019 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>


Viewing latest article 13
Browse Latest Browse All 2818

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>