Dism 0x800f081f


Dism /Online /Cleanup-Image /RestoreHealth を実行すると 0x800f081f エラーが発生する

Windows Update で更新プログラムを正しくダウンロードできないために発生するようです。KB3045557(KB3045563,Win8.1)など.NET Framework に関連するファイル(4.6/4.5.2/4.5.1)で発生します。そのほか KB3074548でも発生しました。

以下の方法でエラーが発生することなくファイルを修復することができました。


KB3045557(Windows 8.1 x64)の例 (C:\Temp以外のフォルダーでも構いません)
  1. KB3045557, NDP46-KB3045557-x86-x64-AllOS-ENU.exe をダウンロードします。Microsoft Download Center またはサポート技術情報(KB)で見つからない場合は、Microsoft Update Catalog を利用してダウンロードします。
  2. コマンドプロンプト (管理者)を開きます。
  3. %UserProfile%\Downloads\NDP46-KB3045557-x86-x64-AllOS-ENU.exe /x:C:\Temp を実行します。ダイアログでOKを選択します。
  4. expand /f:* C:\Temp\x64-Windows8.1-KB3045563-x64.cab C:\Temp を実行します。amd64, msil, wow64, x86で始まるフォルダー、manifestファイル、Package_ で始まるcat(セキュリティカタログ)とmsuファイルが展開されているか確認します。
  5. Dism /Online /Cleanup-Image /RestoreHealth /Source:C:\Temp を実行します。
KB3074548の例(Win8.1 x64,一般的な更新プログラムです)
  1. Windows8.1-KB3074548-x64.msuをダウンロードします。
  2. expand /f:* %UserProfile%\Downloads\Windows8.1-KB3074548-x64.msu C:\Temp を実行します。
  3. expand /f:* C:\Temp\Windows8.1-KB3074548-x64.cab C:\Temp を実行します。
  4. Dism /Online /Cleanup-Image /RestoreHealth /Source:C:\Temp を実行します。

expand.exe の代わりに wusa Windows8.1-KB3074548-x64.msu(.cab) /extract:C:\Temp を使用しても展開することができます。


詳細

%SystemRoot%\Logs\CBS\CBS.logでどのファイルの修復に失敗しているか確認します。

(p) CSI Payload Corrupt x86_netfx4-microsoft_data_entity_targets_b03f5f7f11d50a3a_4.0.9600.18035_none_3f79ef4dcd57d0b2\Microsoft.Data.Entity.targets
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx4-microsoft_data_entity_targets_b03f5f7f11d50a3a_4.0.9600.18035_none_f7ccb876b8dba7ac\Microsoft.Data.Entity.targets
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt x86_netfx4-installsqlstatetemplate_sql_b03f5f7f11d50a3a_4.0.9600.18035_none_e0d6e19bfc6c14cd\InstallSqlStateTemplate.sql
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx4-installsqlstatetemplate_sql_b03f5f7f11d50a3a_4.0.9600.18035_none_9929aac4e7efebc7\InstallSqlStateTemplate.sql
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt x86_netfx4-installpersistsqlstate_sql_b03f5f7f11d50a3a_4.0.9600.21180_none_477827915b6e53ba\InstallPersistSqlState.sql
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx4-installpersistsqlstate_sql_b03f5f7f11d50a3a_4.0.9600.21180_none_ffcaf0ba46f22ab4\InstallPersistSqlState.sql
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx-aspnet-nonwow64-shared_b03f5f7f11d50a3a_4.0.9600.21180_none_305562957306503c\aspnet_state_perf.ini
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx-aspnet-nonwow64-shared_b03f5f7f11d50a3a_4.0.9600.21180_none_305562957306503c\aspnet_perf2.ini
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx4-msbuild_targets_b03f5f7f11d50a3a_4.0.9600.21180_none_32bdafc072df9332\Microsoft.NETFramework.props
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx4-msbuild_targets_b03f5f7f11d50a3a_4.0.9600.21180_none_32bdafc072df9332\Microsoft.VisualBasic.targets
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx4-msbuild_targets_b03f5f7f11d50a3a_4.0.9600.21180_none_32bdafc072df9332\Microsoft.NETFramework.targets
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt x86_netfx4-msbuild_targets_b03f5f7f11d50a3a_4.0.9600.21180_none_7a6ae697875bbc38\Microsoft.NETFramework.props
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt x86_netfx4-msbuild_targets_b03f5f7f11d50a3a_4.0.9600.21180_none_7a6ae697875bbc38\Microsoft.VisualBasic.targets
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt x86_netfx4-msbuild_targets_b03f5f7f11d50a3a_4.0.9600.21180_none_7a6ae697875bbc38\Microsoft.NETFramework.targets
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx4-installsqlstatetemplate_sql_b03f5f7f11d50a3a_4.0.9600.21180_none_8261757901924d34\InstallSqlStateTemplate.sql
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt x86_netfx4-installsqlstatetemplate_sql_b03f5f7f11d50a3a_4.0.9600.21180_none_ca0eac50160e763a\InstallSqlStateTemplate.sql
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt x86_netfx4-microsoft_data_entity_targets_b03f5f7f11d50a3a_4.0.9600.21180_none_28b1ba01e6fa321f\Microsoft.Data.Entity.targets
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx4-microsoft_data_entity_targets_b03f5f7f11d50a3a_4.0.9600.21180_none_e104832ad27e0919\Microsoft.Data.Entity.targets
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt x86_netfx4-installpersistsqlstate_sql_b03f5f7f11d50a3a_4.0.9600.18035_none_5e405cdd41cbf24d\InstallPersistSqlState.sql
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx4-installpersistsqlstate_sql_b03f5f7f11d50a3a_4.0.9600.18035_none_169326062d4fc947\InstallPersistSqlState.sql
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx-aspnet-nonwow64-shared_b03f5f7f11d50a3a_4.0.9600.18035_none_3006c01059bbbd11\aspnet_state_perf.ini
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx-aspnet-nonwow64-shared_b03f5f7f11d50a3a_4.0.9600.18035_none_3006c01059bbbd11\aspnet_perf2.ini
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx4-msbuild_targets_b03f5f7f11d50a3a_4.0.9600.18035_none_4985e50c593d31c5\Microsoft.NETFramework.props
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx4-msbuild_targets_b03f5f7f11d50a3a_4.0.9600.18035_none_4985e50c593d31c5\Microsoft.VisualBasic.targets
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_netfx4-msbuild_targets_b03f5f7f11d50a3a_4.0.9600.18035_none_4985e50c593d31c5\Microsoft.NETFramework.targets
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt x86_netfx4-msbuild_targets_b03f5f7f11d50a3a_4.0.9600.18035_none_91331be36db95acb\Microsoft.NETFramework.props
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt x86_netfx4-msbuild_targets_b03f5f7f11d50a3a_4.0.9600.18035_none_91331be36db95acb\Microsoft.VisualBasic.targets
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt x86_netfx4-msbuild_targets_b03f5f7f11d50a3a_4.0.9600.18035_none_91331be36db95acb\Microsoft.NETFramework.targets
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-tabletpc-journal_31bf3856ad364e35_6.3.9600.18005_none_08c734c4784db1f5\grid_(inch).wmf
(p) CSI Payload Corrupt msil_system.drawing.resources_b03f5f7f11d50a3a_4.0.9600.17958_ja-jp_91f22c7d72e205f6\System.Drawing.resources.dll
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-ie-internetexplorer_31bf3856ad364e35_11.0.9600.18036_none_3342a6a3fcdf6fc0\Windows Feed Discovered.wav
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-ie-internetexplorer_31bf3856ad364e35_11.0.9600.18036_none_3342a6a3fcdf6fc0\Windows Navigation Start.wav
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-ie-internetexplorer_31bf3856ad364e35_11.0.9600.18036_none_3342a6a3fcdf6fc0\Windows Pop-up Blocked.wav
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-ie-internetexplorer_31bf3856ad364e35_11.0.9600.18036_none_3342a6a3fcdf6fc0\Windows Information Bar.wav
(p) CSI Payload Corrupt (Fixed) msil_system.directoryser..protocols.resources_b03f5f7f11d50a3a_6.3.9600.17958_ja-jp_05642d07ef1849e1\System.DirectoryServices.Protocols.resources.dll
(p) CSI Payload Corrupt (Fixed) msil_system.drawing.resources_b03f5f7f11d50a3a_6.3.9600.17958_ja-jp_e754d3bf90dcc2bd\System.Drawing.Resources.dll
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-s..tenanceservice-core_31bf3856ad364e35_6.3.9600.17936_none_c0fe52a0e9044e25\SystemMaintenanceService-Core.ptxml
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-w..wsupdateclient-core_31bf3856ad364e35_7.9.9600.18039_none_4264e6a0c10e6e05\WindowsUpdateClient-Core.ptxml
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-w..client-ui.resources_31bf3856ad364e35_7.9.9600.18039_ja-jp_d801a369409c14ad\wushareduxresources.dll.mui
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-w..client-ui.resources_31bf3856ad364e35_7.9.9600.18039_ja-jp_d801a369409c14ad\WUSettingsProvider.dll.mui
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-runtime_31bf3856ad364e35_6.3.9600.17822_none_e1e1b80c1325888a\Windows.ApplicationModel.Store.dll
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-s..gs-settingshandlers_31bf3856ad364e35_6.3.9600.17909_none_4b3f76da3280e185\Windows.UI.SettingsHandlers.pri
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\tilelarge.contrast-white.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\tilewide.contrast-white_scale-100.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\tilewide.contrast-white_scale-140.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\tilewide.contrast-white_scale-180.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\splashscreen.contrast-white.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\tilelarge.contrast-white_scale-180.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\tilelarge.contrast-white_scale-140.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\tilelarge.contrast-white_scale-100.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\tilewide.contrast-white_scale-80.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\tilelarge.contrast-white_scale-80.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\splashscreen.contrast-black_scale-100.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\splashscreen.contrast-black_scale-140.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\splashscreen.contrast-black_scale-180.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\splashscreen.contrast-black.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\tilewide.contrast-black_scale-180.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\splashscreen.scale-180.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\splashscreen.scale-140.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\splashscreen.scale-100.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\tilesmall.contrast-white_scale-180.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\tilewide.contrast-white.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\tilesmall.contrast-white_scale-140.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\splashscreen.contrast-white_scale-100.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\splashscreen.contrast-white_scale-140.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\splashscreen.contrast-white_scale-180.png
(p) CSI Payload Corrupt (Fixed) amd64_microsoft-windows-store-client-ui-images_31bf3856ad364e35_6.3.9600.17822_none_8300e4688bf4fc2f\tilelarge.contrast-black_scale-180.png
(p) CSI Payload Corrupt (Fixed) x86_microsoft-windows-store-runtime_31bf3856ad364e35_6.3.9600.17822_none_85c31c885ac81754\Windows.ApplicationModel.Store.dll
(p) CSI Payload Corrupt (Fixed) amd64_netfx-aspnet-nonwow64-shared_b03f5f7f11d50a3a_4.0.9600.16384_none_2fcfe36c59e4f3a2\aspnet_state_perf.ini
(p) CSI Payload Corrupt (Fixed) amd64_netfx-aspnet-nonwow64-shared_b03f5f7f11d50a3a_4.0.9600.16384_none_2fcfe36c59e4f3a2\aspnet_perf2.ini

Summary:
Operation: Detect and Repair
Operation result: 0x800f081f
Last Successful Step: Entire operation completes.
Total Detected Corruption: 70
CBS Manifest Corruption: 0
CBS Metadata Corruption: 0
CSI Manifest Corruption: 0
CSI Metadata Corruption: 0
CSI Payload Corruption: 70
Total Repaired Corruption: 41
CBS Manifest Repaired: 0
CSI Manifest Repaired: 0
CSI Payload Repaired: 41
CSI Store Metadata refreshed: True

この環境では %SystemRoot%\WinSxS\x86_netfx4-msbuild_targets_b03f5f7f11d50a3a_4.0.9600.18035_none_91331be36db95acb\Microsoft.NETFramework.targets などのファイルの修復に失敗しています。

regedit.exe を実行します。HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\ComponentDetect を選択して修復に失敗しているファイルがどの更新プログラム(KBxxxxxxx)に該当するのか確認します。もしくはレジストリーエディターの ハイブの読み込みで HKEY_LOCAL_MACHINEに対して %SystemRoot%\System32\Config\components ファイルを キー名 COMPONENTS で読み込んで、HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components(c!で始まる値) と HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Deployments のサブキーの値から該当する更新プログラムを割り出します。

投稿日: 2015年9月27日 カテゴリー: Windows settings タグ: , , , , | パーマリンク 1件のコメント.

コメントを残す

以下に詳細を記入するか、アイコンをクリックしてログインしてください。

WordPress.com ロゴ

WordPress.com アカウントを使ってコメントしています。 ログアウト / 変更 )

Twitter 画像

Twitter アカウントを使ってコメントしています。 ログアウト / 変更 )

Facebook の写真

Facebook アカウントを使ってコメントしています。 ログアウト / 変更 )

Google+ フォト

Google+ アカウントを使ってコメントしています。 ログアウト / 変更 )

%s と連携中

%d人のブロガーが「いいね」をつけました。