Rumah >Tutorial sistem >Siri Windows >Cara Memasang Kemas Kini Secara Manual pada Windows 11
If automatic updates have failed to install, you have alternate ways to manually update your Windows 11 PC. We’ll show you the available methods, so you can get the latest bug fixes and possibly new features on your computer. Let’s get started.
Before using alternate update methods, remove the downloaded update files to prevent any potential issues. The alternate methods will re-download the required update files anyway, so you won’t lose anything.
To clear the Windows Update cache, launch Run by pressing Windows+R. Type the following in the box and press Enter or select "OK."
<code class="hljs css">services.msc</code>
In the Services window, find the "Windows Update" service, then right-click the service and choose "Stop." If you don’t stop this service, Windows won’t let you clear the update cache, since the files will be "in use."
If the Windows Update service fails to stop, restart your PC and try again.
Keep the Services window open, as you’ll return here shortly. Open the Run dialog box again by pressing Windows+R. Type the following path in the box and press Enter. If you’ve installed Windows on a drive other than C, replace the drive letter in the path.
<code class="hljs ">C:WindowsSoftwareDistribution</code>
You’re now in the Windows Update cache folder. Select all files here by pressing Ctrl+A, right-click any of the selected files, and choose the trash can icon.
You’ve removed all the update files. Close File Explorer, return to the Services window, right-click the "Windows Update" service, and choose "Start."
You’re set.
One way to force updates to install is by using the Settings app. Here, you can choose whether to install the available updates or only specific ones.
To use this method, launch Settings by pressing Windows+i. At the bottom of the left sidebar, choose "Windows Update."
On the right pane, click "Download & Install All" to download and install the available updates. To only download and install specific updates, click the button next to those updates.
Wait while Windows obtains and installs the selected updates, then reboot your Windows 11 PC.
Microsoft Update Catalog is a site where you can find and download any Windows update you want. This allows you to manually download an update and then install that update on your PC—all without using the Windows Update feature.
To use this method, find the name of the update you want to download. You can find this information on the Settings > Windows Update page. The update names usually start with KB.
Then, launch a web browser and head to the Microsoft Update Catalog site. Select the site’s search box, type the update name you noted, and press Enter or select "Search."
On the following screen, find the exact update and click "Download" next to that update.
In the open window, click the update name to begin downloading the update to your PC. The download can take anywhere from a few seconds to several minutes, depending on the update size and your internet connection speed.
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.
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."
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>
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.
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."
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>
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>
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>
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.
Senden Sie eine Bestätigungs-E-Mail.Sie haben die maximale Anzahl an verfolgten Themen in Ihrem Konto erreicht.
Atas ialah kandungan terperinci Cara Memasang Kemas Kini Secara Manual pada Windows 11. Untuk maklumat lanjut, sila ikut artikel berkaitan lain di laman web China PHP!