Skip to content

Sysprep fails with error code 0x80004005

Featured Replies

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

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.

  • 2 weeks later...

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.

 

Brandon
Windows Outreach Team- IT Pro
Windows for IT Pros on TechNet

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.