after an Upgrade from Windows 10 to Windows 11 on a customer PC sysprep is no longer working. Unfortunataly the error messages in C:\Windows\System32\sysprep\Panther\setuperr.log does not really help to find the root cause:
Error pGetUninstallInterfaceCommon: Failed loading the setupplatform, hr = 0x80070666
Error SYSPRP RemoveUninstall:Failed to instantiate uninstall interface; hr = 0x80070666
Error SYSPRP Sysprep_Clean_Opk:Failed to remove Uninstall; dwRet = 0x666
Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Clean_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x666
Error SYSPRP SysprepSession::ExecuteAction: Failed during sysprepModule operation; dwRet = 0x666
Error SYSPRP SysprepSession::ExecuteInternal: Error in executing action for Microsoft-Windows-Sysprep-SpOpk; dwRet = 0x666
Error SYSPRP SysprepSession::Execute: Error in executing actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x666
Error SYSPRP RunPlatformActions:Failed while executing Sysprep session actions; dwRet = 0x666
Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x666
Error [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070666
Error [0x0f0060] SYSPRP ParseCommands:Found unsupported command line option '/?'
Error [0x0f00a4] SYSPRP WinMain: Unable to parse command-line arguments to sysprep; GLE = 0x0
Error [0x0f0060] SYSPRP ParseCommands:Found unsupported command line option '/?'
Error [0x0f00a4] SYSPRP WinMain: Unable to parse command-line arguments to sysprep; GLE = 0x0
My Knowledgebase for things about Linux, Windows, VMware, Electronic and so on…
This website uses cookies to improve your experience and to serv personalized advertising by google adsense. By using this website, you consent to the use of cookies for personalized content and advertising. For more information about cookies, please see our Privacy Policy, but you can opt-out if you wish. AcceptRejectRead More
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.