System Hacks: Installing Patches Offline is Easier with New Windows Versions

When there is a problem with installing system patches online, we usually use the offline installation method to install the patches. However, during the actual installation process, we often encounter “dependency” problems, such as patch A must be installed before installing a certain patch B, otherwise the installation of patch B cannot be completed successfully. In order to avoid such problems, Microsoft introduced a new feature from Windows 2004 version, that is, the offline patch package contains the previous necessary patches, which can solve the above problem, learn to use this feature can avoid a lot of trouble.

Note: There will be a time gap between offline installation of patches and online installation. For patches with major security vulnerabilities, please use the online upgrade in time or download the specified offline patch package to complete the upgrade in time.

For example, if you need to search for offline patches released since version 2004, then we just need to go to https://www.catalog.update.microsoft.com/ and type in “servicing stack Windows 10, version 2004 and later” as a keyword (if you want to search for other versions, such as the current version 2010, then just change the characters after version). In the search results, you can find all the patches released so far for version 2004. By default, Microsoft releases offline patch packages every month, so we just need to click Download to download the uninstalled patches on our machine, and pay attention to the x86 and x64 versions (Figure 1).

2023A-LXBD-1

Next, on the page that opens, right-click on the download link and select “Save Link As” to download the .msu patch package as prompted, then double-click on the downloaded file to start the installation (Figure 2). For patches after September 2020 (inclusive), you will no longer encounter the “dependency” problem after downloading and installing.

2023A-LXBD-2

By the above method, you can download all the installed patch packages. To improve the installation efficiency, we can copy the downloaded patch files to a non-system partition, such as “d:build”, then start Notepad and create a new batch file named update.bat, also placed to “d:build”, with the following code.

dism /online /add-package /packagepath:d:build

Of course, this offline installation batch can be applied in many other places. For example, most of the downloaded ISO installation files do not integrate the latest patch package, so you can choose to skip the online upgrade during installation and use the offline patch package to quickly install the patch after the installation is completed; or place the offline patch package and batch file in the flash drive to manually upgrade the LAN computer, etc. (Figure 3).

2023A-LXBD-3

For LAN users, you can also create an offline installer with the help of WSUSoffline (https://download.wsusoffline.net/), which is a quasi-green software that can be downloaded and unpacked to any directory, such as D:. Then start “d:wsusofflineUpdateGenerator.exe”, check the patch version you need to download as prompted, and click Start to start downloading the patch package. After completing the patch download, you can copy all of “d:wsusoffline” to a flash drive or shared server, so that you can run “wsusoffline.exe” on other computers and select the patches you need to install! You can finish the offline upgrade (Figure 4).

2023A-LXBD-4

Leave a Comment