Pianoexchanger Posted August 11, 2015 Report post Posted August 11, 2015 HI, Capture Image fails with error code 0x80004005. I have created an image capture media with SCCM 2012 R2 SP1. I want to capture a Windows 8.1 machine. Capture works fine on another machine with another Windows 8.1 installation. I have restored the installation, which fails, from a windows backup and than modified. Capturing this installation before backup has also worked fine. I think backup/restore is not the problem. I have done this always. What I saw, LAN in sysprep state (before reboot) switches to "Limited"... Smstslog is from %appdata%/local/temp. Someone to help? Thanks. smstslog_WS1516.log Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted August 12, 2015 Report post Posted August 12, 2015 from your log <![LOG[sysprep'ing the machine failed, hr=80004005]LOG]!><time="14:07:47.142-120" date="08-10-2015" component="PrepareOS" context="" type="3" thread="2536" file="main.cpp:270"> <![LOG[De-Initialization successful]LOG]!><time="14:07:47.142-120" date="08-10-2015" component="PrepareOS" context="" type="0" thread="2536" file="prepareos.cpp:1147"> <![LOG[Exiting with error code 16389]LOG]!><time="14:07:47.142-120" date="08-10-2015" component="PrepareOS" context="" type="1" thread="2536" file="main.cpp:293"> <![LOG[Process completed with exit code 16389]LOG]!><time="14:07:47.142-120" date="08-10-2015" component="TSManager" context="" type="1" thread="2376" file="commandline.cpp:1124"> so you need to grab the sysprep logs in the panther dir and post them here C:\Windows\System32\Sysprep\Panther the following files will contain info pointing to the failure:- setupact.log setuperr.log as regards I have restored the installation, which fails, from a windows backup and than modified. Capturing this installation before backup has also worked fine. are you capturing on real hardware ? that's not a good idea, use Virtual Machines for creating images as I explain in the videos linked here. Quote Share this post Link to post Share on other sites More sharing options...
Pianoexchanger Posted August 12, 2015 Report post Posted August 12, 2015 Here are the files in C:\Windows\System32\Sysprep\Panther. And thank you for the pointer to your videos. setupact.log setuperr.log Quote Share this post Link to post Share on other sites More sharing options...
Pianoexchanger Posted August 14, 2015 Report post Posted August 14, 2015 Hi, sysprep runs now successful. The Windows apps caused the problem. I have found this link: https://4sysops.com/archives/how-to-remove-windows-8-apps-before-you-run-sysprep/ Additional I have applied the command Get-AppxPackage | Remove-AppxPackage in Powershell (Admin). It has worked for me. Thanks for help. Quote Share this post Link to post Share on other sites More sharing options...
WinOutreach2 Posted August 26, 2015 Report post Posted August 26, 2015 It sounds like an app was installed for a user but wasn’t provisioned in the image (for example if you update an app via the Windows Store, a newer version becomes installed for that user than the provisioned version). See Sysprep fails after removing or updating Windows built-in Windows Store apps at Microsoft Support. BrandonWindows Outreach Team- IT ProWindows for IT Pros on TechNet Quote Share this post Link to post Share on other sites More sharing options...