Upgrade specifies whether the present installation is an upgrade from a previous version of Windows®.

Windows® Setup does not support using any other unattended Setup settings during upgrades. When you upgrade from an earlier version of Windows, you must create an answer file that includes only the Windows-Setup\UpgradeData settings. Then, you must use either the Windows product DVD or the System Preparation (Sysprep) tool to upgrade Windows.

For a sample answer file, see the XML Example section.

If you use an installation image that was originally installed by using an Unattend.xml file, and you execute the Repair in-place upgrade (overwrite installation) option, the upgrade installation may quit. You may not be able to restart the installation. For more information, see Knowledge Base Article ID 2425962.



Specifies that the present installation is an upgrade.


Specifies that the present installation is not an upgrade. This is the default value.

Valid Configuration Passes


Parent Hierarchy

Applies To

For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.

XML Example

The following XML output shows how to set an upgrade installation to run in guaranteed quiet mode.

  Copy Code

See Also