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.
- After the Command Prompt launches, run the following to load the software registry hive:
reg load hklm\temp
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:
Example: dism.exe /image:c:\ /Get-Packages
Run the following command for each packages where “State = Install Pending”:
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