Wednesday, May 16, 2012

Task Sequence: Image Capture Wizard has failed with the error code

Scenario:

I got Task Sequence Error when I try to capture image for my Windows 7.

The error message is as below:

Task Sequence Error:
Running: Image Capture Wizard
Description:  Task Sequence: Image Capture Wizard has failed with the error code (oxoooo4005).



After some research, I found out there is a maximum 3 time limit to capture image from same computer.

http://technet.microsoft.com/en-us/library/cc766514(v=ws.10).aspx
" Each OS capture will run sysprep command which will reset windows product activation. However, there is a max 3 times per computer limit for the sysprep command. After the 3 time, the clock to reset Windows Product Activation can no longer be reset."

Solution: 

To overcome this 3 Sysprep time limitaiton, following are the walkaround:

1. Open regedit and look for:

HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\CleanupState\

Set to value: 2

HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\

Set to value: 7

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\SoftwareProtectionPlatform\SkipRearm

Set to value:

Then, run the command:
msdtc -uninstall (wait a few seconds)
msdtc -install (wait a few seconds)

Then, reboot the system and try to run sysprep again.

It is working to me. Good luck to you. :)