title: Sysprep fatal error Could not load DLL DscCore.dll[gle=0x0000007e]
body: <p>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:</p>
  
  <p>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]</p>
  
  <p>diagerr.xml has this at the end:</p>
  
  <p>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="" </p>