Fix Sysprep Error 0x80073cf2 in Windows 10 22H2 using official workaround

The official solution to “Sysprep was not able to validate your Windows installation. Review the log file at %WINDIR%\system32\Sysprep\Panther\setupact.log for details. After resolving the issue, use Sysprep to validate your installation again” in Windows 10 22H2.

Microsoft has acknowledged the Sysprep function error message as a known issue and released a workaround. The error message is 0x80073cf2 which affects the Sysprep function since KB5032278 November preview cumulative update and following on Windows 10 22H2. The workaround is included in KB5034912 and it provides a few PowerShell commands. Sysprep is a function to prepare an installation media, install or remove drivers and other presets. So you can fix Sysprep Error 0x80073cf2 in Windows 10 22H2 using this official workaround.

Full error message is: “Sysprep was not able to validate your Windows installation. Review the log file at %WINDIR%\system32\Sysprep\Panther\setupact.log for details. After resolving the issue, use Sysprep to validate your installation again.” Let’s see how to follow and solve the issue:

Sysprep Error 0x80073cf2

Sysprep Error 0x80073cf2 in Windows 10 22H2

Here is how to fix Sysprep Error 0x80073cf2 in Windows 10 22H2:

First, Check if the error occurred after installing the updates

Before, starting to to fix first check if the Sysprep error occurs because of Installing KB5032278, KB5033372, KB5034122, or KB5034203. For this,

  • Press “Windows & R” and run %WINDIR%\system32\Sysprep\Panther\setupact.log.
  • When the log file is open, try to look for 0x80073cf2.
  • If this error code exists then you encounter Sysprep error 0x80073cf2 otherwise you don’t need to follow this workaround. The whole statement would be like:

“SYSPRP Package Microsoft.MicrosoftEdge_44.19041.3636.0_neutral___8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep SYSPRP Failed to remove apps for the current user: 0x80073cf2”

Also, read: Fix KB5034441 Error 0x80070643 with KB5034957 PowerShell Script in Windows

Run Windows PowerShell Commands

  • After it is confirmed that your device is encountering the Syspre error, press “Win + X” and select “Terminal (Admin)”.
  • On the Administrator: Windows PowerShell window, run the following command: Keep in mind to replace <PackageFullName> with the package name found in setup.log.
Get-AppxPackage -AllUsers | Where-Object { $_.PackageFullName -like '<PackageFullName>' } | Format-List -Property Name, PackageFullName, PackageUserInformation, InstallLocation, SignatureKind
how to fix Sysprep Error 0x80073cf2 in Windows 10 22H2
  • In the return, find PackageUserInformation. If your Windows image is affected by Sysprep error 0x80073cf2, the line must have the phrase Installed(pending removal). This should be like:
PackageUserInformation : {S-1-5-21-1115194164-3625103809-2169974439-1002
                                                        [S-1-5-21-1115194164-3625103809-2169974439-1002]: Installed(pending removal)}  
  • Replace <PackageFullName> with the defective application in the command in case your image is encountering the issue. You would enter Microsoft.MicrosoftEdge. in the following command and then hit “Enter”.
Get-Appxpackage <PackageFullName> -AllUsers | Remove-Appxpackage -AllUsers
  • Type Exit and then press Enter to close the Terminal.

See: How to Fix – OOBE Error in Windows 10 or 11

Complete Sysyrup configuration

  • Open Command Prompt as administrator, type cd \Windows\System32\Sysprep and hit Enter.
  • Then enter sysprep to launch “System Preparation Tool 3.14”.
  • Make sure that ‘Enter System Out-of-Box Experience (OOBE)’ is selected in “System Cleanup action” and ‘Reboot’ in “Shutdown options”.
  • Check the box for “Generalize” and click on “OK”.
Complete Sysyrup configuration

Finally, follow the instructions to complete the setup and mitigate the error. Microsoft’s Experts team is working to resolve this issue and once fixed they will roll out the same with a Windows update.

Source: Microsoft Support
Windows 10 22H2 Known issues.

Methods:
First, Check if the error occurred after installing the updates
Run Windows PowerShell Commands
Complete Sysyrup configuration

That’s all!!

Sharing is caring    Share Whatsapp

 
Topics:  Windows
  
About Sunita
Love to play with Windows 11 and 10. Suggestion - Going for Registry change or system files edit then remember to take a backup or create a restore point before Starting.