重新封裝Reseal
Reseal
指出電腦是否在下一次啟動時,電腦是否以 audit 模式或 Windows 全新體驗執行 (OOBE) 。Reseal
indicates whether the computer runs in audit mode or Windows Out-of-Box Experience (OOBE) when the computer is next started. 如需模式的詳細資訊,請參閱設定 階段。For more information about modes, see Configuration Passes.
在 Windows 10 之前, Reseal
是特殊案例設定,會導致在 auditSystem 或 oobeSystem 設定階段中指定時,略過相同設定階段中的所有其他設定。Prior to Windows 10, Reseal
was a special-case setting which caused all other settings in the same configuration pass to be skipped when specified in the auditSystem or oobeSystem configuration passes. 在 Windows 10 中,重新封裝一律會在相同設定階段中的所有其他設定之後處理。In Windows 10, Reseal is always processed after all other settings in the same 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 值ForceShutdownNow value | 結果Result |
---|---|---|---|
auditSystemauditSystem |
AuditAudit |
falsefalse |
啟動 auditSystem 設定階段。Starts the auditSystem configuration pass. |
auditSystemauditSystem |
AuditAudit |
truetrue |
|
auditSystemauditSystem |
OOBEOOBE |
falsefalse |
|
auditSystemauditSystem |
OOBEOOBE |
truetrue |
|
auditUserauditUser |
AuditAudit |
falsefalse |
|
auditUserauditUser |
AuditAudit |
truetrue |
|
auditUserauditUser |
OOBEOOBE |
falsefalse |
|
auditUserauditUser |
OOBEOOBE |
truetrue |
|
oobeSystemoobeSystem |
AuditAudit |
falsefalse |
|
oobeSystemoobeSystem |
AuditAudit |
truetrue |
|
oobeSystemoobeSystem |
OOBEOOBE |
falsefalse |
啟動 oobeSystem 設定階段。Starts the oobeSystem configuration pass. |
oobeSystemoobeSystem |
OOBEOOBE |
truetrue |
|
子元素Child Elements
設定Setting | 描述Description |
---|---|
ForceShutdownNowForceShutdownNow | 指定是否要在套用設定後立即關閉電腦 Mode 。Specifies whether the computer shuts down immediately after the Mode setting is applied. |
ModeMode | 指定電腦是以 audit 模式或 OOBE 啟動。Specifies whether the computer starts in audit mode or OOBE. |
有效的設定階段Valid Configuration Passes
auditSystemauditSystem
auditUserauditUser
oobeSystemoobeSystem
父階層Parent Hierarchy
Microsoft-Windows-部署 | 重新 封裝Microsoft-Windows-Deployment | Reseal
套用至Applies To
如需此元件所支援的 Windows 版本和架構清單,請參閱 Microsoft windows-部署。For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Deployment.
XML 範例XML Example
下列 XML 輸出顯示沒有非同步或同步命令的部署。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>