I had to capture a Windows 7 image in SCCM. When I tried to capture the image, i was getting the following error.
Task Sequence: Image Capture Wizard has failed with the error code (0x00004005)
The solution was pretty easy. It turned out that it was the product key that couldn’t be activated.
Make sure the following registry key has correct values.
- HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\CleanupState
- Value: 2
- HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState
- Value: 7
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\SoftwareProtectionPlatform\SkipRearm
- Value: 1
Now you have to run the following commands:
1 2 3 |
msdtc -uninstall timeout 5 > NUL msdtc -install |
This did not work for me. I still receive the error.
Have you tried to look at the log files?
http://blog.tofte-it.dk/sccm-2012-r2-where-are-the-client-log-files/
What are you running those commands in?
Hi Tom,
I’m running the commands in a command prompt (cmd.exe).