WillShowUI (microsoft-windows-setup-dynamicupdate-willshowui)

WillShowUI specifies in what circumstances to display the user interface (UI) for dynamic updates.

Values

Always

Specifies that the UI is always displayed.

OnError

Specifies that the UI is displayed only if an error occurs, even for catastrophic, non-recoverable errors. This is the default value.

Never

Specifies that the UI is never displayed.

WillShowUI only prevents Windows Setup UI pages from being displayed. If a critical error occurs, an error message might be displayed. To avoid displaying the error message, you can use the ErrorHandler.cmd file to automatically run a script to handle the error. For more information about ErrorHandler.cmd, see Add a custom script to Windows Setup.

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

Valid Configuration Passes

windowsPE

Parent Hierarchy

microsoft-windows-setup- | DynamicUpdate | WillShowUI

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 the value for the WillShowUI setting.

<DynamicUpdate>
   <Enable>true</Enable>
   <WillShowUI>Never</WillShowUI>
</DynamicUpdate>

DynamicUpdate