首頁  >  文章  >  系統教程  >  如何在 Windows 11 上手動安裝更新

如何在 Windows 11 上手動安裝更新

王林
王林原創
2024-08-16 06:37:41998瀏覽

如果自動更新安裝失敗,您可以透過其他方法手動更新 Windows 11 電腦。我們將向您展示可用的方法,以便您可以在電腦上獲得最新的錯誤修復和可能的新功能。讓我們開始吧。

如果更新失敗,請先清除下載的更新

在使用備用更新方法之前,請刪除下載的更新檔案以防止任何潛在問題。無論如何,替代方法都會重新下載所需的更新文件,因此您不會丟失任何內容。

若要清除 Windows 更新緩存,請按 Windows+R 啟動「運行」。在方塊中鍵入以下內容,然後按 Enter 或選擇「確定」。

<code class="hljs css">services.msc</code> 
How to Install Updates Manually on Windows 11

在「服務」視窗中,找到「Windows Update」服務,然後右鍵點選該服務並選擇「停止」。如果您不停止此服務,Windows 將不會讓您清除更新快取,因為這些檔案將「正在使用中」。

如果 Windows Update 服務無法停止,請重新啟動電腦並重試。

How to Install Updates Manually on Windows 11

保持服務視窗打開,因為您很快就會回到這裡。按 Windows+R 再次開啟「執行」對話方塊。在方塊中鍵入以下路徑,然後按 Enter。如果您將 Windows 安裝在 C 碟以外的磁碟機上,請替換路徑中的磁碟機號碼。

<code class="hljs ">C:WindowsSoftwareDistribution</code> 

您現在位於 Windows 更新快取資料夾中。按 Ctrl+A 選擇此處的所有文件,右鍵單擊任何選定的文件,然後選擇垃圾桶圖示。

How to Install Updates Manually on Windows 11

您已刪除所有更新檔案。關閉檔案總管,返回「服務」窗口,右鍵點選「Windows Update」服務,然後選擇「啟動」。

How to Install Updates Manually on Windows 11

你已經準備好了。

從 Windows 設定

強制安裝更新的一種方法是使用「設定」應用程式。在這裡,您可以選擇安裝可用的更新還是僅安裝特定的更新。

若要使用此方法,請按 Windows+i 啟動「設定」。在左側邊欄的底部,選擇「Windows 更新」。

How to Install Updates Manually on Windows 11

在右側窗格中,按一下「全部下載並安裝」下載並安裝可用更新。若要僅下載並安裝特定更新,請按一下這些更新旁邊的按鈕。

How to Install Updates Manually on Windows 11

等待 Windows 取得並安裝所選更新,然後重新啟動 Windows 11 電腦。

來自 Microsoft 更新目錄

Microsoft 更新目錄是一個網站,您可以在其中尋找和下載所需的任何 Windows 更新。這允許您手動下載更新,然後在您的電腦上安裝該更新,而無需使用 Windows 更新功能。

要使用此方法,請找到您要下載的更新的名稱。您可以在“設定”>“設定”中找到此資訊。 Windows 更新頁面。更新名稱通常以 KB 開頭。

How to Install Updates Manually on Windows 11

然後,啟動 Web 瀏覽器並前往 Microsoft 更新目錄網站。選擇網站的搜尋框,輸入您記下的更新名稱,然後按 Enter 或選擇「搜尋」。

How to Install Updates Manually on Windows 11

在以下畫面上,找到確切的更新,然後按一下該更新旁邊的「下載」。

How to Install Updates Manually on Windows 11

在開啟的視窗中,按一下更新名稱開始將更新下載到您的電腦。下載可能需要幾秒鐘到幾分鐘的時間,具體取決於更新大小和您的網路連線速度。

How to Install Updates Manually on Windows 11

After downloading the update, run the update file and follow the on-screen instructions. The file will extract the update files and install the update on your system.

Using Command Prompt

Command Prompt offers a command that you can use to install an already-downloaded update on your PC. This is a great method to use when your update fails to install via the graphical user interface (GUI).

To use this method, head over to the Microsoft Update Catalog site. Select the search box, type the update name, and press Enter or select "Search."

Find the update to download on the list and click "Download" next to the update. In the open window, select the update name to save the update to your computer.

After successfully downloading the update, open Command Prompt. Do this by pressing the Windows key, typing Command Prompt, and selecting "Run as Administrator."

How to Install Updates Manually on Windows 11

In the User Account Control prompt, select "Yes."

In Command Prompt, type the following command replacing UPDATE with the full path to the update file you downloaded. Then, press Enter.

<code class="hljs sql">wusa UPDATE /quiet /norestart</code> 

As an example, I’ll run the following command to install an update that I’ve downloaded:

<code class="hljs xml">wusa "C:UsersmahesDownloadswindows11.0-kb5040527-x64_4713766dc272c376bee6d39d39a84a85bcd7f1e7.msu" /quiet /norestart</code> 
How to Install Updates Manually on Windows 11

Run the following command to check if the update was successfully installed:

<code class="hljs php">wmic qfe list brief /format:pagele</code> 

If the update was successfully installed, restart your PC by running the following command. This brings the new changes into effect.

Make sure to save any unsaved work before you run the command.

<code class="hljs ">shutdown /r /t 00</code> 

And your Windows PC is now up-to-date.

Using Windows PowerShell

PowerShell allows you to find all the available updates for your PC and then download and install those updates. Unlike with Command Prompt, you don’t need to manually download the updates first.

To use this method, open Windows Search, type PowerShell, and select "Run as Administrator." In the User Account Control prompt, select "Yes."

How to Install Updates Manually on Windows 11

In PowerShell, type the following command (called a cmdlet) and press Enter. This cmdlet installs the Windows Update module to allow you to manage Windows updates from PowerShell.

<code class="hljs sql">Install-Module PSWindowsUpdate</code> 
How to Install Updates Manually on Windows 11

When PowerShell prompts, type Y and press Enter. Then, run the following cmdlet, type Y, and press Enter:

<code class="hljs sql">Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser</code> 

Next up, use the following cmdlet to launch the newly-installed module:

<code class="hljs ">Import-Module PSWindowsUpdate</code> 

Find the available Windows updates by running the following cmdlet:

<code class="hljs ">Get-WindowsUpdate</code> 
How to Install Updates Manually on Windows 11

To download and install all the available updates, use the following cmdlet:

<code class="hljs sql">Install-WindowsUpdate</code> 

To download and install a specific update, use the following cmdlet. Make sure to replace UPDATENUMBER with the update to install in the cmdlet.

<code class="hljs sql">Install-WindowsUpdate -KBArticleID UPDATENUMBER</code> 
How to Install Updates Manually on Windows 11

PowerShell will install all or select updates (as you specified). Then, give your PC a restart to bring the changes into effect.


And that’s how you overcome the automatic update issues and get the latest updates on your Windows 11 computer. Enjoy!

Your changes have been saved

Email is sent

Email has already been sent

Please verify your email address.

Send confirmation email

You’ve reached your account maximum for followed topics.

以上是如何在 Windows 11 上手動安裝更新的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn