none
Sysprep error RRS feed

  • Question

  • Hi all,

    I am trying to sysprep and capture an image with MDT but Sysprep is failing all the time:

    Here is the setupact.log:

    SYSPRP Sysprep_Clean_Validate_Opk: Audit mode can't be turned on if there is an active scenario.; hr = 0x800F0975
    2019-12-18 17:19:28, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x975
    2019-12-18 17:19:28, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x975
    2019-12-18 17:19:28, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x975
    2019-12-18 17:19:28, Error      [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x975
    2019-12-18 17:19:28, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep cleanup internal providers; hr = 0x80070975
    2019-12-18 17:19:28, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2019-12-18 17:19:28, Info       [0x0f004d] SYSPRP The time is now 2019-12-18 17:19:28

    Here is the MDT error screen:

    I see a lot of posts about spopk.dll but it seems to be fixed in the latest CU 1903 update, besides I am imaging Win10 1909 with the December CU installed

    Wednesday, December 18, 2019 4:29 PM

All replies

  • Review the steps Delete Customization quick access. Added in TaskSequence. Validate the command line used and if it's fine! Upload the complete setupact.log for more detailed info. 
    Sunday, December 22, 2019 1:56 PM
  • This is the complete setupact.log

    2019-12-18 17:19:27, Info                  SYSPRP ========================================================
    2019-12-18 17:19:27, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2019-12-18 17:19:27, Info                  SYSPRP ========================================================
    2019-12-18 17:19:27, Info       [0x0f004d] SYSPRP The time is now 2019-12-18 17:19:27
    2019-12-18 17:19:27, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\windows\system32\sysprep\Panther
    2019-12-18 17:19:27, Info       [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine
    2019-12-18 17:19:27, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\windows\system32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2019-12-18 17:19:27, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'QUIET'
    2019-12-18 17:19:27, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
    2019-12-18 17:19:27, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
    2019-12-18 17:19:27, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'QUIT'
    2019-12-18 17:19:27, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
    2019-12-18 17:19:27, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2019-12-18 17:19:27, Info                  SYSPRP RunDlls:Running platform actions specified in action file for phase 3
    2019-12-18 17:19:27, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2019-12-18 17:19:27, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2019-12-18 17:19:27, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2019-12-18 17:19:27, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2019-12-18 17:19:27, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll
    2019-12-18 17:19:27, Info                  CSI    00000001 Shim considered [l:125]'\??\C:\windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.18362.471_none_5f12f35059003107\wcp.dll' : got STATUS_OBJECT_PATH_NOT_FOUND
    2019-12-18 17:19:27, Info                  CSI    00000002 Shim considered [l:122]'\??\C:\windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.18362.471_none_5f12f35059003107\wcp.dll' : got STATUS_SUCCESS
    2019-12-18 17:19:28, Error                 SYSPRP Sysprep_Clean_Validate_Opk: Audit mode can't be turned on if there is an active scenario.; hr = 0x800F0975
    2019-12-18 17:19:28, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x975
    2019-12-18 17:19:28, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x975
    2019-12-18 17:19:28, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x975
    2019-12-18 17:19:28, Error      [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x975
    2019-12-18 17:19:28, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep cleanup internal providers; hr = 0x80070975
    2019-12-18 17:19:28, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2019-12-18 17:19:28, Info       [0x0f004d] SYSPRP The time is now 2019-12-18 17:19:28
    

    Sunday, December 22, 2019 2:18 PM
  • 1: Ensure you have latest cumulative update

    2. If that didn't help, see below and check in Lab /taking backup if required.

    https://social.microsoft.com/Forums/en-US/0dcbdf32-05a1-4edc-8f22-287998d30de5/sysprep-problem-audit-mode-canamp39t-be-turned-on-if-there-is-an-active-scenario?forum=win10itprosetup


    N.A.Malik

    Tuesday, April 14, 2020 9:26 AM