VMModeOptimizationsVMModeOptimizations

VMModeOptimizations 會指定您可以在處於 VM 模式時用來自訂使用者體驗的設定。VMModeOptimizations specifies settings you can use to customize the user experience when in VM mode.

子項元素Child elements

設定Setting 說明Description
SkipAdministratorProfileRemovalSkipAdministratorProfileRemoval 當處於 VM 模式時,請使用 SkipAdministratorProfileRemoval 略過系統管理員設定檔的移除。Use SkipAdministratorProfileRemoval to skip removal of the administrator profile when in VM mode.
SkipNotifyUILanguageChangeSkipNotifyUILanguageChange 如果在安裝期間不會變更語言,請在 VM 模式中使用 SkipNotifyUILanguageChangeUse SkipNotifyUILanguageChange in VM mode if the language will not change during setup.
SkipWinREInitializationSkipWinREInitialization 在 VM 模式中使用 SkipWinREInitialization,特別是在復原不重要的容器案例中,略過 Windows 修復環境(Windows RE)映射的初始化。Use SkipWinREInitialization in VM mode, particularly in a container scenario where recovery is not important, to skip initialization of the Windows Recovery Environment (Windows RE) image.

有效的設定階段Valid configuration passes

oobeSystemoobeSystem

父階層Parent hierarchy

Microsoft-Windows-Shell-設定 | OOBE | VMModeOptimizationsMicrosoft-Windows-Shell-Setup | OOBE | VMModeOptimizations

適用對象:Applies to

  • Windows 10 傳統型版本 (家用版、專業版、企業版和教育版)Windows 10 for desktop editions (Home, Pro, Enterprise, and Education)
  • Windows 8.1Windows 8.1
  • Windows Server 2012 R2 和更新版本Windows Server 2012 R2 and later

如需此元件支援的 Windows 版本和架構清單,請參閱Microsoft-Windows-Shell-設定For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML 範例XML example

下列範例顯示如何在 Unattend.xml 檔案的 OOBE.XML 節點中設定 VM 模式優化設定。The following example shows how to set the VM mode optimization settings in the OOBE node of your Unattend.xml file.

            <OOBE>
                <VMModeOptimizations>
                    <SkipAdministratorProfileRemoval>true</SkipAdministratorProfileRemoval>
                    <SkipNotifyUILanguageChange>true</SkipNotifyUILanguageChange>
                    <SkipWinREInitialization>true</SkipWinREInitialization>
                </VMModeOptimizations>
            </OOBE>

注意

您必須在 sysprep 中指定 /mode:vm,才能完全啟用此設定。You must specify /mode:vm during sysprep to fully enable this setting.