Experiencing difficulties while installing Windows updates is nothing new but there are ways to keep it to a bare minimum and prevent it from impacting user experience. So, when you find your Windows Update Standalone Installer stuck each time on Copying packages to the Windows Update cache step, follow these troubleshooting steps.
Copying packages to the Windows Update cache
If you are not aware, the Update Cache is a special folder that stores update installation files. If there’s an error related to it, you might not be able to download or install the updates manually and leaving you waiting at 10% or 25%.
To fix the issue, open a Windows command prompt with administrative privileges. For this type CMD in the search box on the Taskbar. When the Command Prompt option appears, right-click it and select ‘Run as administrator’. This will allow you to open the Command Prompt with Administrator privileges.
Next, run the commands as in the given order –
What we are doing is resetting the SoftwareDistribution and the catroot2 folders, renaming the pending.xml file, and deleting some data & log files, after stopping and restarting some Services.
Following this, try installing the update.
What is the catroot2 folder?
Catroot and catroot2 are 2 important folders in the Windows operating system required for the Windows Update process. Whenever you attempt to run a Windows Update after downloading it, it is this catroot2 folder that stores the signatures of the package and helps in its installation.
What does clearing Windows update cache do?
Clearing Windows update cache clears old update files and downloads fresh update files from the Microsoft server. Besides, it also helps in installing the updates that failed earlier due to some unknown issues.
This content was originally published here.