[SOLVED] Windows 10 x64 KB4495667 update reaches 92% and then rolls back

writhziden

Administrator, .NET/UWP Developer
Staff member
Joined
May 23, 2012
Posts
2,943
Location
Colorado
I always feel weird asking for help publicly as an admin, but hopefully it will serve as an example that even those of us who can generally handle our own troubleshooting still have to ask for help with areas outside our expertise.

The scenario I am facing:
  1. The update downloads and installs to the point where a restart is required.
  2. The update reaches 30% before the restart
  3. The update reaches 92% after the restart
  4. Windows stops the update and displays the message dialog: We couldn't complete the updates; Undoing changes; Don't turn off your computer
  5. The error code given in Windows Update after it fails is 0x80070020

I tried several of the usual update fixes, but I've restored my system image to before those were tried to provide the person helping me here with a clean slate. Notable steps that did not work:
  • Clean Boot
  • Windows Update and BITS Troubleshooting through the built in Windows 10 Troubleshooting
  • sfc /scannow found no integrity violations
  • Dism RestoreHealth completed successfully but did not fix the issue
  • SFCFix also did not detect any corruptions

P.S. I would be interested in learning how to fix these issues, both for myself and for others on these forums, once this thread completes.
 

Attachments

Last edited:
Hi!

Thanks for your patience.

Code:
2019-05-10 12:46:29, Info                  CSI    00000394 Begin executing advanced installer phase 31 index 0 (sequence 0)
    Old component: [l:0]''
    New component: [l:0]''
    Install mode: delta
    Smart installer: true
    Installer ID: {c5f0e9d7-e844-4507-89e4-701b5a747221}
    Installer name: 'Boot File Servicing (BFSVC) Installer'
2019-05-10 12:46:29, Info                  CSI    00000395 BFSVC: 'ServiceBootFiles MuiOnly:n Res:n Fonts:n BootMgrOvw:n BootStatOvw:n DbgTrn:n SuspendBDE:n'

2019-05-10 12:46:32, Info                  CSI    00000396 BFSVC: 'Failed to get partition name. Status = 0xc0000452'

2019-05-10 12:46:32, Info                  CSI    00000397 BFSVC: 'Failed to get system partition! Last Error = 0x3bc3'

2019-05-10 12:46:32, Info                  CSI    00000398 BFSVC: 'ServicingBootFiles failed. Error = 0x3bc3'

2019-05-10 12:46:32, Error                 CSI    00000399@2019/5/10:18:46:32.791 (F) onecore\base\wcp\plugins\bfsvcai\bfsvcai.cpp(438): Error HRESULT_FROM_WIN32(15299) originated in function Windows::WCP::WCF::BfsvcInstaller::CommitChanges expression: HRESULT_FROM_WIN32(GetLastError())
[gle=0x80004005]
2019-05-10 12:46:32, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2019-05-10 12:46:32, Info                  CBS    Could not get file name for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2019-05-10 12:46:32, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
2019-05-10 12:46:32, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2019-05-10 12:46:32, Info                  CBS    Not able to add SCM.EVM to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2019-05-10 12:46:32, Info                  CBS    Startup: Changing logon timeout to a static timeout: 10800000
2019-05-10 12:46:34, Info                  CSI    0000039a@2019/5/10:18:46:34.134 CSI Advanced installer perf trace:
CSIPERF:AIDONE;{c5f0e9d7-e844-4507-89e4-701b5a747221};(null);4264823us
2019-05-10 12:46:34, Info                  CSI    0000039b End executing advanced installer (sequence 0)
    Completion status: HRESULT_FROM_WIN32(15299)

2019-05-10 12:46:34, Error      [0x018049] CSI    0000039c (F) Failed execution of queue item Installer: Boot File Servicing (BFSVC) Installer ({c5f0e9d7-e844-4507-89e4-701b5a747221}) with HRESULT HRESULT_FROM_WIN32(15299).  Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]

This indicates one of the following usually:

a) There is either a linux loader present (dual-boot system)
b) There is no free space on your System Reserved partition
c) There is security software interference.
 
This indicates one of the following usually:

a) There is either a linux loader present (dual-boot system)
b) There is no free space on your System Reserved partition
c) There is security software interference.
a) Windows is the only OS installed, but the partition layout changed slightly. The boot partition was originally at the end of the table, so I moved the Windows partition slightly to the right and copied the boot partition before it. Windows boots without issues, but could the partition layout change cause problems with updates installing?

b) System Reserved has 142 MB available

c) Malwarebytes aggressively installed the active monitoring trial version (I miss the opt out option we used to have for the free version; any tricks for that?). I will remove Malwarebytes and try to install the update again while I wait for your thoughts on a)
 
a) I have never seen that happen in practice, but that may be the case if the changes were made just prior to the error occurring as the Boot part is being referenced.

b) Could you please expand it to cca 500 MBs?

c) That option is still around - Deactivate Malwarebytes Premium Trial on Window... | Official Malwarebytes Support

Please try disabling Windows Defender as well. We had an issue with it once.

If that doesn't help, I'd like to see:

a) CBS.log
b) C:\Windows\Inf\setupapi.dev.log
c) Disk Management screenshot

Note: It would be wise to retry after each potential troubleshooting step, so we could determine what the real issue was.

Thanks.
 
I also forgot to mention the original drive was formatted as MBR and converted to GPT. I just noticed when looking at the boot partition that it is FAT32 while my other systems have EFI partitions for the 100 MB portion.

b) The overall size is 500 MB. I was saying that there are 142 MB free.

c) THANKS!!!! Note: Removing Malwarebytes did not resolve the update issue.

I am going to try rebuilding my boot partition and then try the update again. Then I will try your steps if I'm still having issues. Regardless, no need to reply to this post. I will post back with my status in a bit.
 
Problem solved. It was a combination of converting my MBR layout to GPT and moving the System partition. Disk 0 contains my Windows installation. Partition 2 contains my C drive. Partition 3 is the problematic System partition that is used for the boot configuration.
Code:
Diskpart
list disk
select disk 0
list partition
My partition layout looked like:
Code:
Partition ###  Type         Size        Offset
---------------  -----------  ---------  ----------
Partition 1       Recovery    549 MB   1024 KB
Partition 3       Primary     100 MB    550 MB
Partition 2       Primary     463 GB    650 MB
It should look like:
Code:
Partition ###  Type         Size        Offset
---------------  -----------  ---------  ----------
Partition 1       Recovery   549 MB   1024 KB
Partition 3       System     100 MB    550 MB
Partition 2       Primary    463 GB    650 MB
EFI System partition:
c12a7328-f81f-11d2-ba4b-00a0c93ec93b
To make that happen:
Code:
select partition 3
SET ID=c12a7328-f81f-11d2-ba4b-00a0c93ec93b

Voila! Now the updates install again.
 
Thank you for identifying probable causes to push me in the right direction.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top