Maison  >  Article  >  Tutoriel système  >  Comment installer les mises à jour manuellement sur Windows 11

Comment installer les mises à jour manuellement sur Windows 11

王林
王林original
2024-08-16 06:37:411003parcourir

Jika kemas kini automatik gagal dipasang, anda mempunyai cara alternatif untuk mengemas kini PC Windows 11 anda secara manual. Kami akan menunjukkan kepada anda kaedah yang tersedia, supaya anda boleh mendapatkan pembetulan pepijat terkini dan kemungkinan ciri baharu pada komputer anda. Mari mulakan.

Jika Kemas Kini Anda Gagal, Kosongkan Kemas Kini Yang Dimuat Turun Dahulu

Sebelum menggunakan kaedah kemas kini alternatif, alih keluar fail kemas kini yang dimuat turun untuk mengelakkan sebarang kemungkinan isu. Kaedah alternatif akan memuat turun semula fail kemas kini yang diperlukan, jadi anda tidak akan kehilangan apa-apa.

Untuk mengosongkan cache Windows Update, lancarkan Run dengan menekan Windows+R. Taip yang berikut dalam kotak dan tekan Enter atau pilih "OK."

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

Dalam tetingkap Perkhidmatan, cari perkhidmatan "Kemas Kini Windows", kemudian klik kanan perkhidmatan dan pilih "Berhenti." Jika anda tidak menghentikan perkhidmatan ini, Windows tidak akan membenarkan anda mengosongkan cache kemas kini, kerana fail akan "sedang digunakan."

Jika perkhidmatan Kemas Kini Windows gagal dihentikan, mulakan semula PC anda dan cuba lagi.

How to Install Updates Manually on Windows 11

Pastikan tetingkap Perkhidmatan terbuka, kerana anda akan kembali ke sini sebentar lagi. Buka kotak dialog Run sekali lagi dengan menekan Windows+R. Taip laluan berikut dalam kotak dan tekan Enter. Jika anda telah memasang Windows pada pemacu selain daripada C, gantikan huruf pemacu dalam laluan.

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

Anda kini berada dalam folder cache Windows Update. Pilih semua fail di sini dengan menekan Ctrl+A, klik kanan mana-mana fail yang dipilih dan pilih ikon tong sampah.

How to Install Updates Manually on Windows 11

Anda telah mengalih keluar semua fail kemas kini. Tutup Penjelajah Fail, kembali ke tetingkap Perkhidmatan, klik kanan perkhidmatan "Kemas Kini Windows", dan pilih "Mula."

How to Install Updates Manually on Windows 11

Anda sudah bersedia.

Dari Tetapan Windows

Satu cara untuk memaksa kemas kini dipasang adalah dengan menggunakan apl Tetapan. Di sini, anda boleh memilih sama ada untuk memasang kemas kini yang tersedia atau hanya kemas kini tertentu.

Untuk menggunakan kaedah ini, lancarkan Tetapan dengan menekan Windows+i. Di bahagian bawah bar sisi kiri, pilih "Kemas Kini Windows."

How to Install Updates Manually on Windows 11

Pada anak tetingkap kanan, klik "Muat Turun & Pasang Semua" untuk memuat turun dan memasang kemas kini yang tersedia. Untuk memuat turun dan memasang kemas kini tertentu sahaja, klik butang di sebelah kemas kini tersebut.

How to Install Updates Manually on Windows 11

Tunggu sementara Windows memperoleh dan memasang kemas kini yang dipilih, kemudian but semula PC Windows 11 anda.

Daripada Katalog Kemas Kini Microsoft

Katalog Kemas Kini Microsoft ialah tapak di mana anda boleh mencari dan memuat turun sebarang kemas kini Windows yang anda inginkan. Ini membolehkan anda memuat turun kemas kini secara manual dan kemudian memasang kemas kini itu pada PC anda—semuanya tanpa menggunakan ciri Kemas Kini Windows.

Untuk menggunakan kaedah ini, cari nama kemas kini yang ingin anda muat turun. Anda boleh mendapatkan maklumat ini pada Tetapan > Halaman Kemas Kini Windows. Nama kemas kini biasanya bermula dengan KB.

How to Install Updates Manually on Windows 11

Kemudian, lancarkan penyemak imbas web dan pergi ke tapak Katalog Kemas Kini Microsoft. Pilih kotak carian tapak, taip nama kemas kini yang anda nyatakan dan tekan Enter atau pilih "Cari."

How to Install Updates Manually on Windows 11

Pada skrin berikut, cari kemas kini yang tepat dan klik "Muat turun" di sebelah kemas kini itu.

How to Install Updates Manually on Windows 11

Dalam tetingkap terbuka, klik nama kemas kini untuk mula memuat turun kemas kini ke PC anda. Muat turun boleh mengambil masa dari beberapa saat hingga beberapa minit, bergantung pada saiz kemas kini dan kelajuan sambungan internet anda.

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.

Envoyer un e-mail de confirmation

Vous avez atteint le maximum de votre compte pour les sujets suivis.

Ce qui précède est le contenu détaillé de. pour plus d'informations, suivez d'autres articles connexes sur le site Web de PHP en chinois!

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn