Error

2023-03-29 11:46:58, Error SYSPRP Package Microsoft.AV1VideoExtension_1.1.52851.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image. 2023-03-29 11:46:58, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2. 2023-03-29 11:46:58, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2. 2023-03-29 11:46:58, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2 2023-03-29 11:46:58, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2 2023-03-29 11:46:58, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2 2023-03-29 11:46:58, Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2 2023-03-29 11:46:58, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2 2023-03-29 11:50:26, Error SYSPRP Package Microsoft.AV1VideoExtension_1.1.52851.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image. 2023-03-29 11:50:26, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2. 2023-03-29 11:50:26, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2. 2023-03-29 11:50:26, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2 2023-03-29 11:50:26, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2 2023-03-29 11:50:26, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2 2023-03-29 11:50:26, Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2 2023-03-29 11:50:26, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2

Solution

run: @powershell -NoProfile -ExecutionPolicy unrestricted -Command "Start-Process PowerShell.exe -Verb runas"