Sysprep is not working on windows 11, showing below error

MD KUDDUS KHAN 1 Reputation point
2022-11-21T12:05:51.373+00:00

2022-11-22 06:54:01, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
2022-11-22 06:54:01, Info SYSPRP RunDlls:Running platform actions specified in action file for phase 3
2022-11-22 06:54:01, Info SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
2022-11-22 06:54:02, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
2022-11-22 06:54:02, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
2022-11-22 06:54:02, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
2022-11-22 06:54:02, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll
2022-11-22 06:54:04, Info CSI 00000001 Shim considered [l:125]'\??\C:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.22621.754_none_6b6db8a890706ae2\wcp.dll' : got STATUS_OBJECT_PATH_NOT_FOUND
2022-11-22 06:54:04, Info CSI 00000002 Shim considered [l:122]'\??\C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.22621.754_none_6b6db8a890706ae2\wcp.dll' : got STATUS_SUCCESS
2022-11-22 06:54:04, Error SYSPRP Sysprep_Clean_Validate_Opk: Audit mode cannot be turned on if reserved storage is in use. An update or servicing operation may be using reserved storage.; hr = 0x800F0975
2022-11-22 06:54:04, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x975
2022-11-22 06:54:04, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x975
2022-11-22 06:54:04, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x975
2022-11-22 06:54:04, Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x975
2022-11-22 06:54:04, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep cleanup internal providers; hr = 0x80070975
2022-11-22 06:54:20, Info [0x0f0052] SYSPRP Shutting down SysPrep log
2022-11-22 06:54:20, Info [0x0f004d] SYSPRP The time is now 2022-11-22 06:54:20

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,294 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 43,966 Reputation points
    2022-11-23T17:05:04.833+00:00

    Hi. Thank you for your question and reaching out.

    Reinstall the Windows programs by default
    The error "Sysprep was not able to confirm your Windows installation" may appear if you deleted some of the default Windows apps or if your Windows 11 computer is devoid of them. Therefore, this issue might be resolved by reinstalling every default program that comes with Windows 11. The Get-AppxPackage cmdlet in Windows PowerShell makes it simple to reinstall Windows system programs:

    From the Start menu, launch Windows PowerShell with administrative rights, or right-click the Start menu and choose "Terminal (Admin)" from the selection that appears.

    Additionally, PowerShell will start up automatically using Windows Terminal. After copying the following command into the PowerShell window, press Enter.
    Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

    The reinstallation of all the packages will take some time. Watch for it to finish. After that, restart your computer and see whether the issue still occurs.

    -------------------------------------------------------------------------------------------------------------------------------

    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.

    0 comments No comments

  2. Henry Cull, ml 0 Reputation points
    2023-10-18T13:47:14.8266667+00:00

    Hi, after reinstallation of all the packages und restart the issue still occurs.

    Regards

    0 comments No comments