VMModeOptimizations specifies settings you can use to customize the user experience when in VM mode.

Child elements

Setting Description
SkipAdministratorProfileRemoval Use SkipAdministratorProfileRemoval to skip removal of the administrator profile when in VM mode.
SkipNotifyUILanguageChange Use SkipNotifyUILanguageChange in VM mode if the language will not change during setup.
SkipWinREInitialization 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


Parent hierarchy

Microsoft-Windows-Shell-Setup | OOBE | VMModeOptimizations

Applies to

  • Windows 10 for desktop editions (Home, Pro, Enterprise, and Education)
  • Windows 8.1
  • Windows Server 2012 R2 and later

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

XML example

The following example shows how to set the VM mode optimization settings in the OOBE node of your Unattend.xml file.



You must specify /mode:vm during sysprep to fully enable this setting.