Skip to content

Program with incorrect format

Featured Replies

Hey guys and gals...

I've suddenly run into an issue where my OSD TS is failing at the Apply Operating System step with an error code of 8007000B "An attempt was made to load a program with an incorrect format."

 

Upon some preliminary research, it seemed this early was likely due to some kind of mismatch between x86 and x64 boot images vs. OS image or possibly with WinPE 5.0. I've double and triple check the bitness of both the OS being deployed and the boot image being used. Both are x86 in this case. I've deployed fresh WinPE 5.0 images with no extra drivers installed to be sure that wasn't the issue. I can't imagine it's the actual OS image as it was working just fine and nothing has changed AFAIK other than offline servicing of latest Windows Updates. Could that possibly be an issue? I've attached an SMSTS.log for review.

smsts.log

I believe that I've read that offline servicing of the Windows Updates can sometimes cause issues, unfortunately. But, the offline servicing process should have made a ".bak" file of your original WIM. Can you revert to that original WIM and see if the TS works?

  • Author

I believe that I've read that offline servicing of the Windows Updates can sometimes cause issues, unfortunately. But, the offline servicing process should have made a ".bak" file of your original WIM. Can you revert to that original WIM and see if the TS works?

 

I'm think that is what caused it. I looked back in the logs and there was an error concerning copying the .wim back to the source drive (think I inadvertently restarted during the process) and now when I try to re-schedule those updates, I get an error saying that it can not read the image format. Guessing there's some sort of corruption in it. Instead of just reverting back to the .bak file, I'm running a new build & cap for a completely fresh .wim. Will report back what I find. Thanks for the help.

  • Author

I believe that I've read that offline servicing of the Windows Updates can sometimes cause issues, unfortunately. But, the offline servicing process should have made a ".bak" file of your original WIM. Can you revert to that original WIM and see if the TS works?

 

Okay... in this particular case, this error was definitely being caused by a corrupt .wim file created by a failed offline servicing. Just for fun, I created a new .wim using a B&C and also used the .bak wim file, re-scheduled offline servicing which completely successfully on both, and was able to use those to successfully deploy an OS again. Thanks for the assist!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.