windowswindows-10sysprep

sysprep on Win10 exits with error RunExternalDlls:Not running DLLs


I try to use sysprep on Win 10 Pro. I use these options:

Log file setuperr.log shows:

[0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet= 1f 
[0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f

sysprep window title shows another version: "System preparation tool 3.14"

Any idea for workaround?


Solution

  • Use regedit to change the below registry keys to match:

    HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\
    CleanupState:2
    GeneralizationState:7