0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

WindowsUpdateが終わらないときの対応 (備忘録)

Posted at

バッチファイルを作成して「管理者として実行」

「WindowsUpdateのキャッシュフォルダを削除」と「Bitsキューを削除」

windows-update.bat
echo 自動更新サービスと BITS サービスの停止
net stop usosvc
net stop dosvc
net stop wuauserv
net stop bits

echo SoftwareDistribution フォルダーのリネーム
ren %SystemRoot%\SoftwareDistribution SoftwareDistribution.old
ren %systemroot%\System32\catroot2 catroot2.old

rem BITS のジョブを削除
rem del %AllUsersProfile%\Microsoft\Network\Downloader\qmgr0.dat
rem del %AllUsersProfile%\Microsoft\Network\Downloader\qmgr1.dat
del /q %AllUsersProfile%\Microsoft\Network\Downloader\*

echo 自動更新サービスと BITS サービスの開始
net start bits
net start wuauserv
net start dosvc
net start usosvc

手動でインストールも可能

「KB〜〜〜」で検索してダブルクリックしてインストールする

Windows Update に関する参考サイト

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?