Skip to content

Sysprep Issue with Windows 11 24 H2

Featured Replies

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.

I did run that command too

 

sysprep /audit /reboot

 

Has anyone any Idea?

I need really help

Thank you

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.