If you can’t use the universal way to uninstall Windows updates due to An error has occurred, Not all of the updates were successfully uninstalled, you can try the methods mentioned in the MiniTool post to solve the issue.

An Error Has Occurred, Not All of the Updates Were Successfully Uninstalled

Windows updates always contain some bug fixes, improvements, and new features. However, Windows updates can also bring trouble to you. For example, the new update may slow down your computer, or the update may corrupt your VPN or network connection. To solve the issue, you can choose to uninstall the update.

However, you may encounter an error saying: An error has occurred. Not all of the updates were successfully uninstalled when you uninstall a Windows update. The following screenshot is an example:

An error has occurred. Not all of the updates were successfully uninstalled

To solve the issue, you can use another way to uninstall the Windows update. In this post, we will show you 3 ways you can try.

Fix 1: Uninstall Windows Update Using DISM

To uninstall Windows updates using DISM, you can use these steps:

Step 1: Type cmd into Windows search, then right-click Command Prompt from the search result and select Run as administrator.

Step 2: Type dism /online /get-packages | clip into Command Prompt and press Enter.

Step 3: The output will be automatically copied to your clipboard. You need to open a Notepad and paste the output to it.

Step 4: Find the update you want to remove, then copy its package identity.

copy Windows update package identity

Step 5: Type the following command into Command Prompt and press Enter. In this step, you need to replace PACKAGE_ID with the package identity you just copy.

dism /Online /Remove-Package /PackageName:PACKAGE_ID

Step 6: Type Exit and press Enter to close Command Prompt.

After these steps, the target update is removed from your PC.

Fix 2: Uninstall Windows Updates Using Command Prompt

You can also use Command Prompt to uninstall Windows updates when you encounter an error has occurred, Not all of the updates were successfully uninstalled.

Step 1: Run Command Prompt as administrator.

Step 2: Run this command wmic qfe list brief /format:table in CMD.

Step 3: Find the update you want to uninstall and remember its KB number.

Step 4: Run WUSA /UNINSTALL /KB:NUMBER in CMD.

uninstall updates using CMD

Step 5: A prompt will appear to ask you if you want to uninstall the update, you need to click Yes to continue.

Step 6: Restart your computer.

If an error has occurred, Not all of the updates were successfully uninstalled persists, you can make some changes in Registry Editor.

Step 1: Open Registry Editor on your Windows computer.

Step 2: Go to this path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print.

Step 3: Create a new DWORD (32-bit) value and name it RPCAuthnLevelPrivacyEnabled.

Step 4: Open the value and change the value data to 0.

create a new key in Registry Editor

Step 5: Click OK to save the change.

Step 6: Restart your computer.

After these steps, you can go to uninstall the Windows update again and see if the error disappears.

What if a Windows Update Deleted Your Files?

If some of your files are missing after you install a new Windows update, you can use professional data recovery software like MiniTool Power Data Recovery to rescue them as long as they are not overwritten by new data.

Free Download

Bottom Line

Bothered by An error has occurred. Not all of the updates were successfully uninstalled when uninstalling Windows updates? You can try the methods mentioned in this post to help you out. Should you have other related issues, you can let us know in the comments.

  • Linkedin
  • Reddit