none
sysprep with error after upgrade 1803 to 1809

    Question

  • 2018-10-15 19:42:51, Error                 SYSPRP RemoveUninstall:Failed to instantiate uninstall interface; hr = 0x80070003[gle=0x00000003]
    2018-10-15 19:42:51, Error                 SYSPRP Sysprep_Clean_Opk:Failed to remove Uninstall; hr = 0x80070003[gle=0x00000003]
    2018-10-15 19:42:51, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Clean_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x3[gle=0x00000003]
    2018-10-15 19:42:51, Error                 SYSPRP SysprepSession::ExecuteAction: Failed during sysprepModule operation; dwRet = 0x3[gle=0x00000003]
    2018-10-15 19:42:51, Error                 SYSPRP SysprepSession::ExecuteInternal: Error in executing action for Microsoft-Windows-Sysprep-SpOpk; dwRet = 0x3[gle=0x00000003]
    2018-10-15 19:42:51, Error                 SYSPRP SysprepSession::Execute: Error in executing actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x3
    2018-10-15 19:42:51, Error                 SYSPRP RunPlatformActions:Failed while executing Sysprep session actions; dwRet = 0x3
    2018-10-15 19:42:51, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3
    2018-10-15 19:42:51, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070003
    Wednesday, October 17, 2018 8:24 AM

All replies

  • Although this update was released, I believe it has since been pulled for deleting user files.

    https://betanews.com/2018/10/04/windows-10-october-2018-update-deleting-documents-photos-and-other-user-files

    The 1809 update is currently unavailable to install from the windows update catalog and can only be installed using the Windows Update/Upgrade Assistant

    Probably worth waiting until it is released to general public once the bugs have been fixed.

    Definitely not something I would be rolling out at present.

    Wednesday, October 17, 2018 8:41 AM
  • One thing I need to say at first, for sysprep, we must use clean installed system rather than upgraded system, this is very important.

    On the other hand, Microsoft has paused the rollout of the Windows 10 October 2018 Update (version 1809) for all users. They will provide an update in the near future and open the channel for users to download 1809 iso.

    You’d better use the clean 1809 iso for installation media, clean install and sysprep again.

    Regards


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, October 17, 2018 9:30 AM
    Moderator
  • One thing I need to say at first, for sysprep, we must use clean installed system rather than upgraded system, this is very important.

    While I agree that starting from scratch is good advice, sysprepping an upgraded OS is explicitly supported as far as MS docs are concerned:

    https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/sysprep--system-preparation--overview

    Specifically:

    Beginning with Windows 10, version 1607, Sysprep can be used to prepare an image that has been upgraded. For example:

    • You can start with a computer that runs Windows 10, version 1511 or Windows 10, version 1507.
    • Upgrade the computer to run Windows 10, version 1607.
    • Run Sysprep generalize on the upgraded image, re-capture the updated image, and deploy the image to new devices.

    This process allows enterprises to efficiently and continuously roll out up-to-date Windows 10 deployment images.

    As far as I can tell, those docs are still current.

    Wednesday, October 17, 2018 9:51 AM
  • I have submitted this case to Microsoft via our channel, they now suspect this is a registry setting under HKLM\SYSTEM|Setup, would like to know what those values are, particularly uninstallactive. Maybe it is related to Windows.old folder.

    Let’s wait for update


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, October 19, 2018 7:03 AM
    Moderator
  • but mocrosoft's docs say it can be syspreped on a upgraded win10.
    Saturday, October 20, 2018 9:48 AM
  • deleting user files  seems  to  has nothing to do with the sysprep bug.
    Saturday, October 20, 2018 9:51 AM
  • can  edit the registry  fix the problem?
    Saturday, October 20, 2018 9:51 AM
  • It is not related to 1809 specifically. It was broken ever since 1511 !

    But fortunately easy to fix.

    Solution is here:

    # https://superuser.com/questions/1030769/windows-10-pro-doesnt-show-update-1511-build-10586/1031416

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SYSTEM\Setup]
    "Upgrade"=-
    "UninstallActive"=dword:00000000
    "UninstallMark"=-
    "UninstallGUID"=-
    "UninstallSourceVersion"=-
    "UninstallScenario"=-
    
    [-HKEY_LOCAL_MACHINE\SYSTEM\Setup\Upgrade]
    
    ; Adapt following key to the one actually present in your registry
    [-HKEY_LOCAL_MACHINE\SYSTEM\Setup\Source OS (Updated on 8/16/2015 11:36:09)]


    Once removed the registry entries, sysprep run fine

    • Edited by scerazy Thursday, November 22, 2018 4:22 PM
    Saturday, October 20, 2018 6:41 PM
  • It is not related to 1809 specifically. It was broken ever since 1511 !

    But fortunately easy to fix.

    Solution is here:



    Once removed the registry entries, sysprep run fine


    This did it for me on 1809 after upgrade from 1803 TY!
    Wednesday, November 14, 2018 5:08 AM
  • same issue but not get fixed

    Leon Mong

    Tuesday, December 11, 2018 3:42 AM
  • i have same problem. This way fix it!! thanks.
    Wednesday, January 23, 2019 6:21 AM