Azure VM, Win Server 2012 was created from snapshot of image copied from another region. Installed asp.net apps, all is working except sysprep, need to create a new image. setupact.log has:
Error [0x0f0085] SYSPRP LaunchDll:Could not load DLL DscCore.dll[gle=0x0000007e] Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x7e[gle=0x0000007e] Error [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007007e[gle=0x0000007e]
diagerr.xml has this at the end:
Err="126" ... Msg="RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x7e" PID="3656" TID="924" Con="" ... Msg="WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007007e" PID="3656" TID="924" Con=""