How to remove updates from Windows Recovery Environment (WinRE)
Now, the only way to solve the problem is to boot the system from Windows Installer Media and uninstall the problematic update with the DISM tool in Command Prompt.
How to uninstall updates in the WinRE and DISM tools.
If the update installation fails, it may cause Windows to fail to boot. In this case, you can delete the offline update, by following the steps below:
Step 1. Boot the system from the Windows installation media.
Step 2. In the screen below, press the SHIFT + F10 keys to launch the Command prompt (or click Next> Repair My Computer> Troubleshoot> Command Prompt ).
Step 3. At the command prompt, find a list of all drives on the system with this command:
wmic logicaldisk get name
Step 4. Then find out which drive contains the "Windows" folder, by typing this command:
dir Tên ổ đĩa:
For example, to see the contents of C: drive , type:
dir C:
If you cannot see the "Windows" folder on C: drive, continue to move on to the next drive (for example, " dir D: ", " dir E: ", etc.), until you see the folder "Windows".
As you can see in the screenshot below, the Windows folder (in this case) is located in drive D :.
Step 5. When you find a drive containing "Windows" (drive D in this example), enter the following command to get a list of installed updates:
dism.exe /Image:D: /get-packages /format:table
Tip : If you don't know the KB name of the update that caused the startup problem, issue the following command to view the installation date of all packages.
dism.exe /Image:D: /get-packages /format:list
Step 6. In the "Package Identity" column , find out the Package Identity of the update you want to delete.
Example: "Package_for_KB4058702 ~ 31bf3856ad364e35 ~ amd64 ~~ 16299.188.1.0"
Step 7. Then enter the following command to remove the problematic update package:
dism /image:D: /Remove-Package /PackageName:PackageName
For example, to delete "Package_for_KB4025376 ~ 31bf3856ad364e35 ~ amd64 ~~ 10.0.1.0 ", enter the following command:
dism /image:D: /Remove-Package /PackageName:Package_for_KB4025376~31bf3856ad364e35~amd64~~10.0.1.0
Step 8. When the deletion process is complete, enter exit to close the Command prompt, then close all windows and turn off the computer.
Step 9. Finally, delete Windows Installer Media and start Windows as usual.
Good luck!
You should read it
- How to delete pending updates on Windows 10
- Windows 10 automatically deletes updates that cause problems
- 7 ways to fix Windows Updates not working error
- How to fix 'Pause Windows Updates' option not available in Windows 11/10
- Steps to uninstall updates on Windows 10 and Windows 11
- Microsoft begins to impose a 'expiry date' for Windows updates
- Microsoft and Intel cooperated to provide microcode updates for the CPU via Windows updates
- Update Windows software
May be interested
- Windows File Recovery: Microsoft's free data recovery applicationwindows file recovery is a data recovery application developed specifically for windows that can help you recover data that you accidentally deleted on your hard drive, flash drive, or memory card.
- This is how to delete Recovery partition and Recovery partition 450 MB on Windows 10recovery partition (recovery partition) is a separate partition on the hard drive on your computer or ssd and used to restore or reinstall the operating system in case the system fails.
- How to create a Windows 10 recovery USB when it fails?the new windows 10 operating system was released, there are certainly many new things that have not been discovered, but also contain errors if the user is not used to the use, or the incompatible hardware system. in the article below, tipsmake.com will introduce you how to create a windows 10 recovery usb in case of an error.
- 7 Windows Recovery Options to Make System Recovery Easywhile windows computers are more reliable than ever, you should still make sure you have enabled and understand the built-in recovery options.
- How to create a Windows 10 recovery USB when it failsyour system doesn't always run smoothly, so you always need backup plans in case your windows 10 has problems. how to create a windows 10 recovery usb through the recovery drive tool is the backup you need to have on your computer.
- Install and use Recovery Console in Win XPwindows recovery console is one of the tools to help restore the system when it doesn't boot as expected or can't boot. in this article we will take a look at some recovery console components including command prompt, command action, rule, recovery console removal method.
- Steps to fix Recovery error on Windows computerthis article will show you how to fix windows error recovery error and on windows 7, vista and windows 10 and how to fix could not find recovery error on windows 10
- Windows 10 updates will be divided into C, B, and D levelsaccording to microsoft, updates to windows 10 will be divided into three categories, b, c, and d (without a), and each version will be released once a month.
- How to create Windows PE rescue diskrescue disks based on pe are a customized windows recovery environment that comes with computer repair tools. this article will guide you how to create windows pe rescue disk offline.
- Spreading hacking tools helps Windows 7 still get updates even after Microsoft has stopped supportingthis hacking tool will basically help your device pass that initial check and can receive updates just like esu customers.