因為某些win11電腦透過wsus安裝累績更新時,都會顯示"正在下載 0%",放了好幾個小時也都沒動,所以打算先把更新檔(msu檔)下載到wsus一個共用資料夾,用gpo派送,讓這些電腦一開始登入後,就開始直接用batch檔來安裝,batch檔也是放在wsus共用資料夾。
安裝指令是"wusa.exe "\\wsus_server\offline_install\11\kb5050021.msu" /quiet /norestart"
結果執行失敗,在事件檢視器裡找到下列錯誤: Windows 更新 "KB5050021:Windows 安全性更新" 無法安裝,因為發生錯誤 2149842953 "" (命令列: "wusa.exe "\\wsus_server\offline_install\11\kb5050021.msu" /quiet /norestart")
後來就把batch檔先複製到本機,msu檔一樣是在wsus裡,然後執行本機上的安裝batch檔,就成功安裝了。
Due to some Windows 11 computers showing "Downloading 0%" when installing cumulative updates via WSUS, even after being left for several hours with no progress, I decided to download the update file (MSU file) to a shared folder on the WSUS server. Then, I used GPO to distribute it so that these computers would start running a batch file to install the update directly upon login. The batch file is also stored in the WSUS shared folder.
The installation command used is:
wusa.exe "\\wsus_server\offline_install\11\kb5050021.msu" /quiet /norestart
However, the execution failed. In the Event Viewer, I found the following error:
"Windows update 'KB5050021: Windows Security Update' could not be installed because of error 2149842953"
(Command line: wusa.exe "\\wsus_server\offline_install\11\kb5050021.msu" /quiet /norestart)
Later, I tried copying the batch file to the local machine while keeping the MSU file in the WSUS shared folder. After executing the batch file locally, the installation succeeded.
沒有留言:
張貼留言