Bit of help on Sysprep needed. I'm trying to capture a master image from Hyper-V (Windows 10 Pro 20H2) and I'm having issues to do with the windows store apps.
I have run:
Get-AppxPackage -AllUsers | Remove-AppxPackage
and
Get-AppxProvisionedPackage -online | Remove-AppxProvisionedPackage -online
and I still get this in the logs:2021-01-16 15:47:06, Error SYSPRP Package Microsoft.549981C3F5F10_1.1911.21713.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2021-01-16 15:47:06, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2021-01-16 15:47:06, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
2021-01-16 15:47:06, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
2021-01-16 15:47:06, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
2021-01-16 15:47:06, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
2021-01-16 15:47:06, Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
2021-01-16 15:47:06, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
I cannot uninstall this package individually either, help would be much appreciated.
Joe