Windows Update continous fails to search for Updates or cannot install them. The source of this problem could be various things as
> Windows Registry
> Windows Filesystem
> Internet access
> Windows Update service
> File corruption
> Misconfiguration
> Adware
> Virus and Malware
> Windows Filesystem
> Internet access
> Windows Update service
> File corruption
> Misconfiguration
> Adware
> Virus and Malware
解決方法:
一、刪除Windows更新的臨時文件
1. 停止"Windows Update"服務。
2. 刪除該目錄下所有文件及目錄:
%windir%\SoftwareDistribution\DataStore
3. 啟動“"Windows Update"服務。
之后,再次檢查在線更新。”Check online updates from Microsoft Update“。
二、修復受損的系統文件
以管理員身份運行CMD,執行sfc /scannow命令。需要等待很長時間。
之后重啟服務器,再次檢查更新。
三、查看並修改注冊表項
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"UseWUServer"=0
"UseWUServer"=0
之后,重啟"Windows Update"服務。
再次檢查更新。
四、關閉網卡IPv6
打開網卡配置,取消勾選IPv6選項。之后再次檢查更新。
五、運行Windows Update Troubleshootor工具進行修復
六、關閉防火牆和其它相關的殺毒軟件。
七、關閉Widows Update服務。
Then, Open
File Explorer and navigate to
C:\Windows\SoftwareDistribution. Then, delete all contents under this directory.
之后再啟動WInodws Update服務,再次檢查更新。
我所遇到的情況是在Windows2016服務器上更新失敗。修改刪除表,重啟Windows更新服務,之后再次在線安裝更新成功。