首页 >系统教程 >Windows系列 >如何在 Windows 11 上手动安装更新

如何在 Windows 11 上手动安装更新

王林
王林原创
2024-08-16 06:37:411119浏览

如果自动更新安装失败,您可以通过其他方式手动更新 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.

发送确认电子邮件

您已达到帐户中关注主题的上限。

以上是如何在 Windows 11 上手动安装更新的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn