To help reduce your overall disk footprint, after you install Windows 8.1 or Windows Server 2012 R2, a pre-staged AppX cleanup maintenance task is run after 60 minutes of computer use followed by 15 minutes of computer idle time. This scheduled maintenance task recovers disk space after the Windows installation process. To do this, the task deletes App Package (.appx) resource packs based on language, scale, and DirectX feature level (DXFL) that are not currently in use for the current user accounts.
If you run Sysprep after this AppX cleanup maintenance task, it will log the following warning message in the Setupact log in the C:\Windows\System32\Sysprep folder:
<Date> <Time>, Warning SYSPRP Could not re-arm region selection, some files and registry keys are no longer recoverable.
<Date> <Time>, Info SYSPRP Exiting SysprepGeneralize (Appx).
If you capture and deploy this image, the end-user may experience the following symptoms:
The modern apps display scale is used (a high-DPI display instead of a low-DPI display).
Incorrect display language are used for some modern apps if additional language packs are installed.
Note In this situation, the modern apps still function. However, they may not have the necessary resources for the computer.
This problem is caused by the deletion of resource packs.
To work around this issue, use one of the following methods.
If you are creating an image for deployment, run Sysprep within 75 minutes after the first logon of Windows 8.1 or Windows Server 2012 R2. If you cannot do this, try workaround 2.
Disable the maintenance task immediately after the first logon. To automatically disable the maintenance task, run the following command at an elevated command prompt:
To automatically disable the maintenance task as part of the Configuration Manager build-and-capture task sequence, insert a new "Run Command Line" step immediately after the "Setup Windows and Configuration Manager" step. This new step uses the following command:
Note Insert this new step only to task sequences that are running Sysprep on Windows 8.1 or Windows Server 2012 R2. Windows will automatically re-enable the maintenance task during the Sysprep generalize phase.
If you are creating an image for deployment, start the computer in Sysprep Audit mode to make any configuration changes before you run SysprepGeneralize to capture the image that is mentioned in the "Symptoms" section.
Note The scheduled task does not run during Audit mode.
Wait 24 hours for the Store autoupdate process to run. Or, manually search for Store updates.
If you deploy the image that is mentioned in the "Symptoms" section to a computer that requires some of the resource packages that were removed, the required resources are updated automatically if the user who logs in to the computer has access to the Windows Store. This update occurs 24 hours after the first logon after Sysprep is used if Windows Store connectivity is available. There is a Group Policy setting that disables automatic Windows Store updates. This setting prevents the missing resource packs from being restored. If the resource packs are missing, the user must have Windows Store access in order to update applicable resource packs for the computer.
This behavior is by design.
If you delete the maintenance task, the resources are not deleted and the task is never run. Because the maintenance task is not available after the installation, the resources always use disk space on the computer.
Windows 8.1, Windows 8.1 N, Windows 8.1 Enterprise, Windows 8.1 Enterprise N, Windows 8.1 Pro, Windows 8.1 Pro N, Windows Server 2012 R2 Foundation, Windows Server 2012 R2 Essentials, Windows Server 2012 R2 Standard, Windows Server 2012 R2 Datacenter