How do I uninstall update files in Windows 10?
There are a huge number of documented cases when Windows Update had problems and it could not update the operating system components using previously downloaded files. Perhaps you yourself have encountered such a problem.
What to do in this case? It’s pretty simple: you need to delete the update files and files related to them, and then download and install the updates for the system again. It sounds complicated, but it’s actually simple. So, you need to do the following:
- delete the contents of the Temp folder;
- delete the contents of the SoftwareDistribution folder;
- remove XML files;
- reset the CatRoot2 folder.
Let’s start moving in order. Press the Windows key + R key combination on your keyboard to open the Run program. Next, enter the value “% Temp%” (without quotes) in an empty line and press Enter, after which the folder of the same name will open in front of you. Now press CTRL + A to select the entire contents of the folder, and then press SHIFT + DELETE to delete files without placing them in the Trash.
Now let’s tackle the SoftwareDistribution folder. It’s a little more complicated with it, as you need to do a few things before deleting its contents. Right-click on Start and select “Command Prompt (Admin)”. As soon as the console opens in front of you, run the following two commands in it:
- net stop wuauserv
- net stop bits
Don’t close the Command Prompt as we will need it in the future. Now go to the C: Windows SoftwareDistribution directory and delete all its contents. An alternative method is to rename the SoftwareDistribution folder to SoftwareDistribution.old. What to do is entirely up to you.
Go back to the Command Prompt and enter the following two commands:
- net start wuauserv
- net start bits
Now let’s move on to deleting XML files. These files contain a list of all the downloaded update files that are pending download. Press Windows + R to invoke Run. Enter the C: Windows WinSxS directory in an empty line and press Enter. Use Explorer’s built-in search engine and find all the XML files labeled “pending”. Remove them and restart your computer.
The last thing you need to do is reset and empty the CatRoot2 folder. Call Command Prompt again with administrator rights and run the following two commands in it:
- net stop cryptsvc
- md% systemroot% system32 catroot2.old
- xcopy% systemroot% system32 catroot2% systemroot% system32 catroot2.old / s
Now click go to the C: Windows Windows System32 catroot2 directory and delete its contents. After clearing the folder, enter the net start cryptsvc command at the Command prompt. This completes the work with the CatRoot2 folder. We reboot the computer and try to complete the process of updating our operating system. If you had any problems with the update files for Windows – they should have been resolved.