WSUS Common Issues Summary

環境建議:WSUS 主機記憶體建議有 8G 以上。

Q. WSUS 常常或始終跳出連線錯誤,需要重設伺服器節點。
A1. 先試試下面這篇做法,將 WsusPool(IIS) 的「專用記憶體限制」拿掉。
WSUS Reset Server Node | 老森常譚

A2.如果沒有解決試試將 WsusPool(IIS) 的「失敗間隔(minutes)」、「最大失敗數目」調高

 

A3.如果問題仍在試試最下面的教學重建 WSUS 資料庫的索引

 


Q.Windows 更新時跳出 0x8024401c 錯誤
A1. 先試試下面這篇做法,調整 WsusPool(IIS) 的各項參數
Windows 10 更新出現0x8024401c錯誤 | 老森常譚

A2. 如果問題仍在試試最下面的教學重建 WSUS 資料庫的索引

 

Q.Windows 更新時跳出 0x80244022、0x8024401f 錯誤
試試下面的步驟重建 WSUS 資料庫的索引

 


【重建 WSUS 資料庫索引】

所需工具

sqlcmd
sqlcmd 公用程式SQL Server | Microsoft Docs

ODBC Driver for SQL Server
Download ODBC Driver for SQL Server – ODBC Driver for SQL Server | Microsoft Docs

Reindex Script
Re-index the WSUS Database · GitHub

 

Steps:

◎ Download and install sqlcmd and ODBC Driver for SQL Server。

◎ Download the SQL script set for rebuilding indexes – WsusDBMaintenance.sql。

◎ Here, using Windows Internal Database (WID) 為例:
Windows Server 2012 or a newer version,Execute the following commands:

sqlcmd -S np:\\.\pipe\MICROSOFT##WID\tsql\query -i C:\WsusDBMaintenance.sql

Windows Server 2008 Versions below R2,Execute the following commands:

sqlcmd -S np:\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query -i C:\WsusDBMaintenance.sql

 

◎ After the command succeeds,It will take a few minutes,Once finished, the WSUS index rebuild is complete。

 

I, after rebuilding the indexes,除了解決「重設伺服器節點」「0x80244022」及「0x8024401f」幾個問題外在展開 WSUS 主控台的「更新」及「電腦」等頁面也明顯縮短不少時間

  微軟教學頁面有提到可以將重建索引的指令設到工作排程來定期執行因此管理者可以自行評估是否每隔數週或幾個月,可以進行一次重建索引的動作。

 

【參考連結】

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.