(Original January 24, 2024): Microsoft has released a new error message for Windows 10 that affects the Sysprep function. Since the November update KB5032278 and following, Sysprep error 0x80073cf2 can occur. This is described under KB5034912. Sysprep is a function to prepare an installation media. So install/remove drivers. Likewise other presets.
The error message is: Sysprep was unable to verify your Windows installation. Check the log file at %WINDIR%system32SysprepPanthersetupact.log for details. After resolving the issue, use Sysprep to re-verify your installation.”
In the setupact.log you then look for the entry “0x80073cf2”. If it is not there, then you are not affected by it. Otherwise, text similar to this may appear: “Microsoft.MicrosoftEdge_44.19041.3636.0_neutral___8wekyb3d8bbwe was installed for one user but not deployed to all users. This package does not work properly in sysprep SYSPRP could not remove applications for current user: 0x80073cf2”
Microsoft offers a workaround for this, but is already working on the problem.
- Open PowerShell (administrator) and replace PackageFullName with the faulty application in the command
Get-AppxPackage -AllUsers | Where-Object { $_.PackageFullName -like '' } | Format-List -Property Name, PackageFullName, PackageUserInformation, InstallLocation, SignatureKind - Here search for PackageUserInformation and add Installed(pending removal). Example:
PackageUserInformation : {S-1-5-21-1115194164-3625103809-2169974439-1002 [S-1-5-21-1115194164-3625103809-2169974439-1002]: Installed(pending removal)} - If the image is affected, then (replace PackageFullName with the faulty application in the command)
Get-Appxpackage-AllUsers | Remove-Appxpackage -AllUsers
Sysprep can now continue. Sysprep -> System Cleanup Action -> Out-of-Box Experience (OOBE) -> Generalize
(Update April 5, 2024):
With the optional update KB5035941 from March and accordingly with the upcoming security update on April 9th, Microsoft has marked this problem as solved.
Windows 10 tutorials and help
You can find lots of helpful tips and tricks in our Windows 10 Wiki. If you have any questions, just ask us at Forum.
- Installation media: You can always find the latest installation files in the right sidebar. Windows 10 22H2 19045 ISO/ESD
- Installation: Install Windows 10 Clean, reinstall Win 10 2004 to 22H2
- Repairs: Inplace upgrade repair, repair Win 10 via DISM, sfc and more, repair Windows Update, repair start menu, repair apps, repair store, repair network
- Registration: Win 10 automatic login
- Remove, Uninstall: Uninstall apps
- File Explorer: Remove folders under This PC, Network, OneDrive, etc. in Explorer
- Correct usage: Use the start menu correctly, use search correctly,
- Important: Each tutorial states which version it is suitable for.