5 Fixes for “Not All of the Updates Were Successfully Uninstalled” Error on Windows
Pankil is a Civil Engineer turned freelance writer. Since his arrival at Guiding Tech in 2021, he delves into the world of how-tos, and troubleshooting guides for Android, iOS, and Windows. Besides his new-found love for mechanical keyboards, he’s a disciplined footfall fan and loves international travel with his wife.
Fix 1: Use the DISM Tool to Remove the Update
Deployment Image Servicing and Management (or DISM) is a useful tool for fixing corrupt system files on your PC. Additionally, you can also use this tool to uninstall stubborn Windows updates that won’t go away. Here’s how.
Step 1:Right-click theStart iconand selectTerminal (Admin)from the Power User menu.
Step 2:Type the following command and pressEnter:
Step 3:The output of the command will be copied to your clipboard. Press theWindows + Skeyboard shortcut to open the search menu, type inNotepad, and pressEnter.
Step 4:Press theCtrl + Vkeyboard shortcut to paste the output of the DISM command. Then, locate the update you want to remove and copy the value next toPackage Identity.
Step 5:Return to the Command Prompt window, paste the following command, and pressEnter.
ReplacePackage_IDin the above command with the value copied in the last step.
Fix 2: Use Command Prompt or PowerShell to Uninstall the Update
Another thing you can do is use Command Prompt or PowerShell to remove the problematic update that won’t get uninstalled.
Step 1:Click thesearch iconon the taskbar, type incmdorPowerShell, and selectRun as administrator.
Step 2:In the console, paste the following command and pressEnterto view the Windows update history:
Step 3:Note down the KB number under HotfixID of the Windows update you’d like to uninstall.
Step 4:Run the following command to remove the Windows update:
Replacenumberin the above command with the KB number noted in the previous step.
Step 5:HitYesto proceed when the confirmation prompt appears.
Fix 3: Modify Registry Files
Incorrectly configured registry entries can also prevent you from uninstalling updates on your Windows 10 or Windows 11 PC, triggering such errors. Therefore, it’s advisable to review the relevant registry entries and make necessary changes if needed.
Step 1:Press theWindows + Rkeyboard shortcut to open the Run dialog box. Typeregeditin the box and pressEnter.
Step 2:Paste the following path in the address bar at the top and pressEnter.
Step 3:Locate theRPCAuthnLevelPrivacyEnabledentry in the right pane. If you can’t find it, right-click on thePrintkey, go toNew, and selectDWORD (32-bit) Valuefrom the submenu. Name itRPCAuthnLevelPrivacyEnabled.
Step 4:Double-click the newly created DWORD, enter0in the Value data field, and hitOK.
Restart your PC after this and try uninstalling Windows updates one more time.
Fix 4: Reset Windows Update Components
Problems with the Windows update components can result inerrors while installingor removing updates. If that’s the case, resetting the Windows update components should help fix the problem.
Step 1:Click thesearch iconon the taskbar, type inwindows powershell, and selectRun as Administrator.
Step 2:Run the following commands one by one and pressEnterafter each command:
After resetting the Windows update components, you should be able to uninstall updates without any issues.
Fix 5: Try Clean Boot
If the above tips don’t work, a third-party app or program on your PC may be disrupting Windows processes and causing problems. To avoid any interference, you can try uninstalling Windows updates in a clean boot state.
Step 1:Press theWindows + Rkeyboard shortcut to open the Run dialog. Typemsconfigin the box and pressEnter.
Step 2:Under theServicestab, tick theHide all Microsoft servicescheckbox and click theDisable allbutton.
Step 3:Switch to theStartuptab and click onOpen Task Manager.
Step 4:In theStartuptab, select a third-party app or program and click theDisableoption at the top. Repeat this step to disable all third-party apps and programs.
Restart your PC to enter a clean boot state and try to uninstall Windows updates again.
Was this helpful?
Last updated on 26 June, 2024
Leave a ReplyCancel reply
Your email address will not be published.Required fields are marked*
Name*
Email*
Comment*
Δ
Read Next
The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.
More in Windows
4 Quick Ways to Check Hardware ID (HWID) of a Device in Windows 11
6 Ways to Fix “This Installation Is Forbidden by System Policy” Error in Windows 11
JOIN THE NEWSLETTER
Get Guiding Tech articles delivered to your inbox.
© 2024 Guiding Tech Media. All Rights Reserved.