Upgrading Windows 8 to Windows 10 failed as 0x80004005

Summary
To upgrade colleague's PC to Windows 10 from Windows 8.

Got the error 0x80004005.

Tried difference way to solve.

Did not work.

Finally, solved it by the SoftwareDistribution rebuilt.


Content
Log Name:      Application
Source:        Windows Error Reporting
Date:          2/18/2022 10:36:25 AM
Event ID:      1001
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      PC0001
Description:
Fault bucket 1700502505081492255, type 5
Event Name: WinSetupDiag02
Response: Not available
Cab Id: 0

Problem signature:
P1: 1
P2: 2
P3: 9
P4: 1
P5: 0x80004005
P6: 0x50015
P7: 9600
P8: winblue_r4
P9: 19041
P10: vb_release

Attached files:
C:\$WINDOWS.~BT\Sources\Panther\setupact.log
C:\$WINDOWS.~BT\Sources\Panther\diagerr.xml

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_1_a21e152bc97e9d9d7d17dafdc45257708e9a6072
_00000000_0f3a02fb

Analysis symbol:
Rechecking for solution: 0
Report Id: 90613c3a-9063-11ec-82da-4437e6c3c492
Report Status: 0
Hashed bucket: 58f5370c51b6d2c557996604cb0b531f


Got the Error 0x80004005 when upgrading colleague's PC to Windows 10.


1.
Followed Microsoft [1] to remove antivirus application
 
Did not solve it
 

2. 
Disabled all non Microsoft apps / services

Did not solve it
 
 
3.
Boot from Disc

Then,  scan /sfs 

Result normal
 
 
4.
Followed [2] to repair Windows 8

Did not solve it


5.
Finally, went to rebuild the  %systemroot%\SoftwareDistribution  [3]

Then, solved it
net stop wuauserv 

rd /s /q %systemroot%\SoftwareDistribution
 
net start wuauserv



Related
Other cases required USB stick & installation offline, https://gayt.blogspot.com/2021/11/upgrade-to-windows-10-from-8-error.html


References



Update