SCCM 2012 Task Sequence Image Capture Failure Error 0x0004005 Sysprep Rearm – the FIX!

If you are reading this post, you’ve probably have been fighting with this issue, and like you I have fought this issue. It’s pesky, but it is fixable!

Several people have posted fixes for this issue, but I’ve seen their fix not work.

So for this tutorial I will keep it short. If you had the same experience then you are in luck…

Easy fix to SCCM 2012 error 0x00004005 (AKA task sequence failed 0x00004005)

1. Open Regedit

2. Set the values listed below:
Set to value: 2

Set to value: 7

Set to value: 1

3. Open elevated command prompt and run the following commands:

msdtc -uninstall


msdtc -install

    then finally run this command

cscript slmrg.vbs -rearm   <- this is the missing secret sauce from other blog posts

4. Reboot system

5. Run Image Capture successfully!

If you have found this to fix your issue… please leave a positive comment 🙂