Partager via


Restart

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

Restart specifies whether to restart or to shut down the computer after the windowsPE configuration pass. This setting is specific to Windows PE scenarios. Once image-based installation begins, this setting is ignored.

Values

Restart

Specifies that the computer immediately restarts after the windowsPE configuration pass. End users cannot disable the restart. This is the default value.

Shutdown

Specifies that the computer immediately shuts down after the windowsPE configuration pass. End users cannot disable the shutdown.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Passes

windowsPE

Parent Hierarchy

Microsoft-Windows-Setup | Restart

Applies To

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

XML Example

The following XML output shows how to set the computer to shut down after the windowsPE configuration pass.

<Restart>Shutdown</Restart>

See Also

Concepts

Microsoft-Windows-Setup