Mode (microsoft-windows-deployment-reseal-mode)
Mode
is used with the ForceShutdownNow setting to indicate whether the computer starts in audit mode or Out-of-Box-Experience (OOBE). For more information about modes, see the Configuration Passes topic.
Reseal
is a special-case setting. It is processed before any other setting in the configuration pass. In some scenarios, it instructs Windows Setup either to process or to ignore all other settings in that configuration pass before starting another configuration pass. The following table provides scenarios for each combination of configuration pass, mode, and forced-shutdown behavior. When a configuration pass has more than one result, the table lists the results in the order that they take place.
Configuration pass | Mode value | ForceShutdownNow value | Result |
---|---|---|---|
auditSystem |
Audit |
false |
Starts the auditSystem configuration pass. |
auditSystem |
Audit |
true |
Caution
Unsupported. Do not use. Sets the computer into a loop of reboots. |
auditSystem |
OOBE |
false |
|
auditSystem |
OOBE |
true |
|
auditUser |
Audit |
false |
|
auditUser |
Audit |
true |
|
auditUser |
OOBE |
false |
|
auditUser |
OOBE |
true |
|
oobeSystem |
Audit |
false |
|
oobeSystem |
Audit |
true |
|
oobeSystem |
OOBE |
false |
Starts the oobeSystem configuration pass. |
oobeSystem |
OOBE |
true |
Caution
Unsupported. Do not use. Sets the computer into a loop of reboots. |
Values
Audit |
Specifies that the computer starts in audit mode. |
OOBE |
Specifies that the computer starts in OOBE mode. |
(no value / default) |
|
Valid Configuration Passes
auditSystem
auditUser
oobeSystem
Parent Hierarchy
Microsoft-Windows-Deployment | Reseal | Mode
Applies To
For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Deployment.
XML Example
The following XML output shows a deployment with no asynchronous or synchronous commands.
<AuditComputerName>
<MustReboot>true</MustReboot>
<Name>MyComputer</Name>
</AuditComputerName>
<ExtendOSPartition>
<Extend>true</Extend>
</ExtendOSPartition>
<Reseal>
<ForceShutdownNow>true</ForceShutdownNow>
<Mode>Audit</Mode>
</Reseal>