Hi,
I'm trying to Sysprep a Windows 11 Enterprise 24H2 Installation with many installed Applications.
I am getting always fails because of this error:
######################################################################
SYSPRP Package Microsoft.DesktopAppInstaller_1.25.199.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
SYSPRP Failed to remove apps for the current user: 0x80073cf2.
SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
[0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
[0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
##########################################################################
I ran the following command wit PS
Get-AppxPackage -AllUsers Microsoft.DesktopAppInstaller_1.25.199.0_x64__8wekyb3d8bbwe | Remove-AppxPackage
and:
Get-AppxProvisionedPackage -Online | Where-Object DisplayName -like "Microsoft.DesktopAppInstaller_1.25.199.0_x64__8wekyb3d8bbwe" | Remove-ProvisionedAppPackage -Online
and I try with following command too
Import-Module Appx
Import-Module Dism
Get-AppxPackage -AllUsers | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation
Remove-AppxPackage -Package Microsoft.DesktopAppInstaller_1.25.199.0_x64__8wekyb3d8bbwe
Remove-AppxProvisionedPackage -Online -PackageName Microsoft.DesktopAppInstaller_1.25.199.0_x64__8wekyb3d8bbwe
###############################################################
No above command help me.
Has anyone any Idea?
I need really help
Thank you
Nick