W10 Failed To Boot Due To Updates

less than 1 minute read

Description:

Reboot the computer and select the boot once option (usually F12 on Dell systems) and get to the Safe Mode with Command Prompt option. If you can’t get there, just use a Windows install disc and during the setup choose the option to repair a current installation. We had to do this for a couple W10 machines after a recent update.

To Resolve:

  1. After the Command Prompt launches, run the following to load the software registry hive:

reg load hklm\temp \windows\system32\config\software

Example: reg load hklm\temp c:\windows\system32\config\software

Run the following command to delete the SessionsPending registry key. If the registry value does not exist, proceed to the next step.

reg delete “HKLM\temp\Microsoft\Windows\CurrentVersion\Component Based Servicing\SessionsPending” /v Exclusive

Run the following to unload the registry:

reg unload HKLM\temp

Run the following command, which will list all pending updates:

dism.exe /image: /Get-Packages

Example: dism.exe /image:c:\ /Get-Packages

Run the following command for each packages where “State = Install Pending”:

dism.exe /image: /remove-package /packagename:

Example: dism.exe /image:c:\ /remove-package /packagename:Package_for_RollupFix_Wrapper~31bf3856ad365e35~amd64~~15063.674.1.8

dism.exe /image:c:\ /remove-package /packagename:Package_for_RollupFix~31bf3856ad365e35~amd64~~15063.674.1.8