Windows Server 2012R2 to Windows 2019 upgrade using Answer File

thahir h 0 Reputation points
2023-07-20T19:25:10.1766667+00:00

Hi,

We have requirement to create automation process to perform In-Place upgarde of WIN2012R2 OS version to WIN2019. I am working on using unattend.xml , by creatiing Answer file.

however not working as expected,

Looking to get an answer to automate the process for In-Place upgarde.

Regards

Thahir

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,347 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amit Singh 4,766 Reputation points
    2023-07-21T06:29:20.7133333+00:00

    Here is an example of an unattend.xml file that you can use:

    <unattend xmlns="urn:schemas-microsoft-com:unattend">
      <settings pass="specialize">
        <component name="Microsoft-Windows-ServerManager-Client-Shell-Setup">
          <UseLocalAccount>true</UseLocalAccount>
          <LocalAccountName>Administrator</LocalAccountName>
          <LocalAccountPassword>Pa$$w0rd</LocalAccountPassword>
        </component>
        <component name="Microsoft-Windows-Shell-Setup">
          <RegisteredOwner>Administrator</RegisteredOwner>
          <RegisteredOrganization>Contoso</RegisteredOrganization>
          <ComputerName>WIN2019</ComputerName>
        </component>
        <component name="Microsoft-Windows-Deployment-Tasks-Upgrade">
          <UpgradePackage>WindowsServer2019-Datacenter-Server-Eval-English-x64.msu</UpgradePackage>
        </component>
      </settings>
    </unattend>
    
    0 comments No comments