Jump to content


gokhan76

Windows 10 1709 Capture Error 0x00004005

Recommended Posts

Hi Guys,

Can someone give me idea how to fix this capture problem?

O/S is Windows 10 1709 all built in apps removed.

PS C:\WINDOWS\system32> Get-AppxPackage | Select Name, PackageFullName

Name                                        PackageFullName
----                                        ---------------
Windows.MiracastView                        Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy
Windows.PrintDialog                         Windows.PrintDialog_6.2.0.0_neutral_neutral_cw5n1h2txyewy
Microsoft.Windows.CloudExperienceHost       Microsoft.Windows.CloudExperienceHost_10.0.16299.15_neutral_neutral_cw5n...
Microsoft.AAD.BrokerPlugin                  Microsoft.AAD.BrokerPlugin_1000.16299.15.0_neutral_neutral_cw5n1h2txyewy
Microsoft.Windows.ShellExperienceHost       Microsoft.Windows.ShellExperienceHost_10.0.16299.15_neutral_neutral_cw5n...
windows.immersivecontrolpanel               windows.immersivecontrolpanel_10.0.1.1000_neutral_neutral_cw5n1h2txyewy
Microsoft.MicrosoftEdge                     Microsoft.MicrosoftEdge_41.16299.15.0_neutral__8wekyb3d8bbwe
Microsoft.Windows.ContentDeliveryManager    Microsoft.Windows.ContentDeliveryManager_10.0.16299.15_neutral_neutral_c...
Microsoft.XboxGameCallableUI                Microsoft.XboxGameCallableUI_1000.16299.15.0_neutral_neutral_cw5n1h2txyewy
Microsoft.Windows.SecureAssessmentBrowser   Microsoft.Windows.SecureAssessmentBrowser_10.0.16299.15_neutral_neutral_...
Microsoft.Windows.SecondaryTileExperience   Microsoft.Windows.SecondaryTileExperience_10.0.0.0_neutral__cw5n1h2txyewy
Microsoft.Windows.SecHealthUI               Microsoft.Windows.SecHealthUI_10.0.16299.15_neutral__cw5n1h2txyewy
Microsoft.Windows.PinningConfirmationDialog Microsoft.Windows.PinningConfirmationDialog_1000.16299.15.0_neutral__cw5...
Microsoft.Windows.PeopleExperienceHost      Microsoft.Windows.PeopleExperienceHost_10.0.16299.15_neutral_neutral_cw5...
Microsoft.Windows.ParentalControls          Microsoft.Windows.ParentalControls_1000.16299.15.0_neutral_neutral_cw5n1...
Microsoft.Windows.OOBENetworkConnectionFlow Microsoft.Windows.OOBENetworkConnectionFlow_10.0.16299.15_neutral__cw5n1...
Microsoft.Windows.OOBENetworkCaptivePortal  Microsoft.Windows.OOBENetworkCaptivePortal_10.0.16299.15_neutral__cw5n1h...
Microsoft.Windows.HolographicFirstRun       Microsoft.Windows.HolographicFirstRun_10.0.16299.125_neutral_neutral_cw5...
Microsoft.Windows.AssignedAccessLockApp     Microsoft.Windows.AssignedAccessLockApp_1000.16299.15.0_neutral_neutral_...
Microsoft.Windows.Apprep.ChxApp             Microsoft.Windows.Apprep.ChxApp_1000.16299.15.0_neutral_neutral_cw5n1h2t...
Microsoft.PPIProjection                     Microsoft.PPIProjection_10.0.16299.15_neutral_neutral_cw5n1h2txyewy
Microsoft.LockApp                           Microsoft.LockApp_10.0.16299.15_neutral__cw5n1h2txyewy
Microsoft.ECApp                             Microsoft.ECApp_10.0.16299.15_neutral__8wekyb3d8bbwe
Microsoft.CredDialogHost                    Microsoft.CredDialogHost_10.0.16299.15_neutral__cw5n1h2txyewy
Microsoft.BioEnrollment                     Microsoft.BioEnrollment_10.0.16299.15_neutral__cw5n1h2txyewy
Microsoft.AccountsControl                   Microsoft.AccountsControl_10.0.16299.15_neutral__cw5n1h2txyewy
InputApp                                    InputApp_1000.16299.15.0_neutral_neutral_cw5n1h2txyewy
F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE        F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_10.0.16299.15_neutral_neutral_cw5n1...
E2A4F912-2574-4A75-9BB0-0D023378592B        E2A4F912-2574-4A75-9BB0-0D023378592B_10.0.16299.15_neutral_neutral_cw5n1...
c5e2524a-ea46-4f67-841f-6a9465d9d515        c5e2524a-ea46-4f67-841f-6a9465d9d515_10.0.16299.15_neutral_neutral_cw5n1...
1527c705-839a-4832-9118-54d4Bd6a0c89        1527c705-839a-4832-9118-54d4Bd6a0c89_10.0.16299.15_neutral_neutral_cw5n1...
Microsoft.Windows.Cortana                   Microsoft.Windows.Cortana_1.9.6.16299_neutral_neutral_cw5n1h2txyewy


PS C:\WINDOWS\system32>

 

Here is the some errors from SMSTS.log output:

 

Setting Task Sequence User State Path to "%_SMSTSMDataPath%\UserState". TSMBootstrap 4/02/2018 7:35:34 PM 4720 (0x1270)
Setting Network Access Account Information in Task Sequencing Environment. TSMBootstrap 4/02/2018 7:35:34 PM 4720 (0x1270)
aTSPolicyObjectArray.empty() == false, HRESULT=80040101 (..\tspolicy.cpp,1813) TSMBootstrap 4/02/2018 7:35:34 PM 4720 (0x1270)
Cannot find NAAConfig CCM_NetworkAccessAccount  TSMBootstrap 4/02/2018 7:35:34 PM 4720 (0x1270)
GetEncodedNetworkAccessAccount (mapNAA), HRESULT=80040101 (E:\bt\860729\repo\src\common\inc\TSPolicy.h,169) TSMBootstrap 4/02/2018 7:35:34 PM 4720 (0x1270)
Unable to get Network Access Account. Ignoring.  TSMBootstrap 4/02/2018 7:35:34 PM 4720 (0x1270)
Unable to retrieve the machine name from SMS database. Fall back to the current local computer name. TSMBootstrap 4/02/2018 7:35:34 PM 4720 (0x1270)
Emptying Recycle bin.. PrepareOS 4/02/2018 7:36:57 PM 4140 (0x102C)
::SHEmptyRecycleBin( NULL, szPath, SHERB_NOCONFIRMATION | SHERB_NOPROGRESSUI | SHERB_NOSOUND ), HRESULT=8000ffff (prepareos.cpp,194) PrepareOS 4/02/2018 7:36:57 PM 4140 (0x102C)
SHEmptyRecycleBin failed, hr=8000ffff PrepareOS 4/02/2018 7:36:57 PM 4140 (0x102C)
Emptying Recycle bin failed, hr=8000ffff PrepareOS 4/02/2018 7:36:57 PM 4140 (0x102C)
Staging boot image MFC0001D PrepareOS 4/02/2018 7:36:58 PM 4140 (0x102C)
0, HRESULT=80004005 (..\encryptablevolume.cpp,437)  PrepareOS 4/02/2018 7:36:58 PM 4140 (0x102C)
Checking to see if the data path is on a bootable volume PrepareOS 4/02/2018 7:36:58 PM 4140 (0x102C)
0, HRESULT=80004005 (..\encryptablevolume.cpp,437)  PrepareOS 4/02/2018 7:36:58 PM 4140 (0x102C)
Boot Image not found in local data cache at 'C:\_SMSTaskSequence\WinPE\sources\boot.wim'. Staging is required PrepareOS 4/02/2018 7:36:58 PM 4140 (0x102C)
ResolveSource flags: 0x00000000 PrepareOS 4/02/2018 7:36:58 PM 4140 (0x102C)
SMSTSPersistContent: . The content for package MFC0001D will be persisted PrepareOS 4/02/2018 7:36:58 PM 4140 (0x102C)
Package location: _SMSTSMFC0001D, file:VOL001:\SMS\PKG\MFC0001D PrepareOS 4/02/2018 7:36:58 PM 4140 (0x102C)

 

Regards,

Share this post


Link to post
Share on other sites

https://social.technet.microsoft.com/Forums/en-US/0b659d86-560e-4b08-834b-4f976d7792c8/failed-to-sysprep-and-capture-windows-10-fall-creators-1709?forum=mdt

1709 is a very buggy OS in my opinion. I;ve had a number of issues popup and had to use workarounds as a fix, really poor from Microsoft.

Nonetheless, I found that sysprep was failing on something to do with the inbuilt apps. I believe my Windows 10 image had automatically connected to the internet and updated the apps, which in turn caused some sort of sysprep failure. Adding that reg key did the trick. Apply these immediately after the "Setup Windows and Configuration Manager" step then restart the machine. You can always re-enable these featues during deployment.

 

Disable Consumer Features & Store Updates >>>>
reg add "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d "1" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate" /v "AutoDownload" /t REG_DWORD /d "2" /f

Share this post


Link to post
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.