更新サービスがシャットダウンされたため、インストールを完了できませんでした

Windows Updateエラーメッセージが表示された場合Windows 10コンピューターを新しいバージョンにアップグレードするときに更新サービスがシャットダウンされため、インストールを完了できませんでした。この投稿はあなたを助けることを目的としています。

更新サービスがシャットダウンされたため、インストールを完了できませんでした

更新サービスがシャットダウンされたため、インストールを完了できませんでした

この問題が発生した場合は、以下の推奨ソリューションを順不同で試して、問題の解決に役立つかどうかを確認できます。

  1. WindowsUpdateのトラブルシューティングを実行する
  2. WindowsUpdateコンポーネントを手動でリセットする
  3. WindowsUpdate関連サービスのステータスを確認する
  4. DISMを実行してWindowsUpdateコンポーネントを修復します
  5. Windows 10 ISOを直接ダウンロードするか、MCT(メディア作成ツール)を使用します

リストされた各ソリューションに関連するプロセスの説明を見てみましょう。

1] WindowsUpdateのトラブルシューティングを実行する

Windows Updateエラーが発生した場合、最初に試す必要があるのは、組み込みのWindows Updateトラブルシューティングを実行し、それが問題の解決に役立つかどうかを確認することです。

2] WindowsUpdateコンポーネントを手動でリセットする

システムファイルに何らかの破損があるために、このような問題が発生する場合があります。したがって、Windows Updateを手動でインストールした後も問題が発生する場合は、次の手順に従ってWindowsコンポーネントをリセットしてください。

開始するには、最初に管理者特権のコマンドプロンプトを開きます。

次に、次のコマンドを入力し、各コマンドを入力した後にEnterキーを押して、WindowsUpdateおよびその他の関連サービスの実行を停止します。

ネットストップビットネットストップwuauservネットストップappidsvcネットストップcryptsvc

次に、すべてのqmgr * .datファイルをデバイスから削除します。これを行うには、コマンドプロンプトに以下のテキストコードを入力し、Enterキーを押して実行します。

Del "%ALLUSERSPROFILE%\ Application Data \ Microsoft \ Network \ Downloader \ qmgr * .dat"

このとき、システムが確認を求める場合があります。Yと入力して確認してください。

次に、SoftwareDistributionフォルダーとcatroot2フォルダーの名前を変更する必要があります。したがって、コマンドプロンプトウィンドウに次のコマンドを入力し、以下のコマンドを入力してからEnterキーを押します。

Ren%systemroot%\ SoftwareDistribution SoftwareDistribution.bak
Ren%systemroot%\ system32 \ catroot2 catroot2.bak

BITSサービスとWindowsUpdateサービスをデフォルトのセキュリティ記述子にリセットするには、管理者特権のコマンドプロンプトウィンドウに次のコマンドを入力します。また、各コマンドの後にEnterキーを押して、コマンドを実行します。

sc.exe sdsetビットD:(A ;; CCLCSWRPWPDTLOCRRC ;;; SY)(A ;; CCDCLCSWRPWPDTLOCRSDRCWDWO ;;; BA)(A ;; CCLCSWLOCRRC ;;; AU)(A ;; CCLCSWRPWPDTLOCRRC ;;; PU)
sc.exe sdset wuauserv D:(A ;; CCLCSWRPWPDTLOCRRC ;;; SY)(A ;; CCDCLCSWRPWPDTLOCRSDRCWDWO ;;; BA)(A ;; CCLCSWLOCRRC ;;; AU)(A ;; CCLCSWRPWPDTLOCRRC ;;; PU)

その後、以下のコマンドを実行してSystem32ディレクトリに移動します。

cd / d%windir%\ system32

この時点で、BITS(Background Intelligent Transfer Services)ファイルとWindowsUpdate関連のDLLファイルを再登録する必要があります。これを行うには、以下のコマンドを1つずつ入力し、各コマンドの後にEnterキーを押します。

ق32。exe atl.dllق32。exe urlmon.dllق32。exe mshtml.dll属するexe msxml.dll属する.dllق32。exe sccbase.dllテレプテン32.exe slbcsp.dll属するق32。exe wuaueng.dllق32。exe wuaueng1.dll属するexe wucltux.dllق32。exemuweb。dllق32。exe wuwebv.dll

BITSファイルとWindowsUpdate関連のDLLファイルを正常に再登録したら、ネットワーク構成をリセットする必要があります。

したがって、以下のコマンドラインを入力し、それぞれの後にEnterキーを押します。

netshwinsockリセットnetshwinsockリセットプロキシ

次に、バックグラウンドインテリジェント転送サービス、Windows Update、暗号化サービスなどの停止したサービスを再起動します。

したがって、コマンドプロンプトウィンドウに以下のテキストコードを入力し、各コマンドの後にEnterキーを押します。

ネットスタートビットネットスタートwuauservネットスタートappidsvcネットスタートcryptsvc終了

ここで、Exitコマンドは、他のコマンドを実行した後、ウィンドウを自動的に閉じます。

上記の手順を正しく完了したら、コンピュータを再起動して、行った変更を保存します。

Windowsコンポーネントをリセットした後も同じエラーコードが表示される場合は、以下の次の方法に進んでください。

ヒントWindowsUpdateコンポーネントのリセットツールを使用することもできます。

3] WindowsUpdate関連サービスのステータスを確認します

Windows Services Managerを開き、Windows Update、Windows Update Medic、Update OrchestratorServicesなどのWindowsUpdate関連サービスが無効になっていないことを確認します。

スタンドアロンのWindows10PCのデフォルト構成は次のとおりです。

  • Windows Updateサービス–手動(トリガー)
  • Windows Updateメディックサービス–マニュアル
  • 暗号化サービス–自動
  • バックグラウンドインテリジェント転送サービス–マニュアル
  • Windowsインストーラー–手動。

これにより、必要なサービスを確実に利用できるようになります。

たとえば、Windows10コンピューターでBITSを有効にするには:

更新サービスがシャットダウンされたため、インストールを完了できませんでした

  • Press Windows key + R to invoke the Run dialog.
  • In the Run dialog box, type services.msc and hit Enter to open Services.
  • In the Services window, scroll and locate the Windows Update service.
  • Double-click on the entry to edit its properties.
  • In the properties window, click the drop-down on the Startup type and select Automatic.
  • Click Apply >OK to save changes.

Similarly, ensure the proper state for the other Service.

Windows Update fails to install or will not download in Windows 10

4] Run DISM to repair Windows Update components

The Dism.exe tool can be used in different situations, and one of them is to repair corrupted Windows Update files. Do note that you need to run a different command if you want to repair corrupted Windows Update System Files. If you run the usual /RestoreHealth command, it may not necessarily help. DISM will replace potentially corrupted or missing system files with good ones. However, if your Windows Update client is already broken, you will be prompted to use a running Windows installation as the repair source or use a Windows side-by-side folder from a network share, as the source of the files.

You will then be required to run the following command instead:

DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess

破損したWindowsUpdateシステムファイルを修正する

Here you have to replace the C:\RepairSource\Windows placeholder with the location of your repair source.

Once the process is complete, DISM will create a log file in %windir%/Logs/CBS/CBS.log and capture any issues that the tool finds or fixes.

5] Directly download the Windows 10 ISO or use the MCT (Media Creation Tool)

You can directly download the Windows 10 ISO image file from the Microsoft website. Once you have downloaded the ISO to a location (preferably the desktop) on your device, double-click the ISO image to mount it as a virtual drive then double-click the setup.exe file to start the in-place upgrade process.

Alternatively, you may use the Windows 10 Update Assistant to install the Feature Update.

All the best.

Original text