[SOLVED] DISM Error 0x800f081f, unable to do Windows 10 anniversary update

Spacedog

Contributor
Joined
Sep 11, 2016
Posts
8
Hi, my system is working fine but when I try to do the Windows 10 anniversary update or do a refresh install the setup program crashes while checking if I'm ready to install.

I have done Dism /Online /Cleanup-Image /RestoreHealth and it reports that it cannot find a source for 3 files. I have tried adding a source for many different Windows 10 versions, but no luck so far.

The files it is having trouble with are:

(p) CSI Payload Corrupt amd64_pci.inf_31bf3856ad364e35_10.0.10586.0_none_962c62c504c8f83e\pci.inf
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_sdbus.inf_31bf3856ad364e35_10.0.10586.0_none_fe68551c74ae450b\sdbus.inf
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_sdbus.inf_31bf3856ad364e35_10.0.10586.112_none_df0be49b29461935\sdbus.inf
Repair failed: Missing replacement payload.

Any help appreciated!
 
Hi Spacedog and :welcome: to Sysnative :wave:

The best way to upgrade it would be to use the Media Creation Tool:

Upgrading to latest Windows 10 build
We will try to get you upgraded to the latest build using the Windows 10 update tool:
Note: Although the chances of data loss are slim, it is advisable to back up your data

First of all, disable your antivirus

Go to this page: Windows 10
Choose Upgrade This PC
Click Next and follow the onscreen instructions

Let us know if there are any errors/problems when installing this

-CKing
 
Hi, thanks for your reply!

I tried the upgrade as you suggested and in a short amount of time it came back with "Something went wrong" and an error code 0xc1900107

I have tried several other methods to upgrade and they have all come back with an error too.
 
DISM reported those corrupt payload files. SFC is better at handling file corruption than DISM, so lets run it:

SFC Scan
1. Right-click on the Start
w8start.png
button and select Command Prompt (Admin)
2. When command prompt opens, Copy (Ctrl+C) and Paste (Right-click > Paste) the following command into it, then press Enter
Code:
sfc /scannow
3. Once it finishes, copy and paste the following into the command-prompt window and press Enter.
Code:
copy %windir%\logs\cbs\cbs.log "%userprofile%\Desktop\cbs.txt"
4. Once this has completed please go to your Desktop and you will find CBS.txt => Right-click on this file and choose Send To...Compressed (zipped folder). Please upload this zipped file CBS.zip to this thread
Please Note:: if the file is too big to upload to your next post please upload via a service such as Dropbox or One Drive or SendSpace and just provide the link.

-CKing
 
The sfc scan actually fixed a file this time, which it never normally does. Alas the windows 10 update above still failed again.
 

Attachments

Lets give it a different go, using the Media Creation Tool (the Upgrade Now has been replaced with the Windows 10 Upgrade Assistant, and it uses a similar way to upgrade to Windows 10 that Windows Update uses :banghead:):

Upgrading to Windows 10 using Media Creation Tool
We will try to get you upgraded to the latest build using the Windows 10 update tool:
Note: Although the chances of data loss are slim, it is advisable to back up your data

First of all, disable your antivirus

Go to this page: Windows 10
Skip the Upgrade now, and scroll down and click on Download tool now
Run the tool, and proceed to the rest of the steps if you agree to the license.
Click on Upgrade this PC now, and click Next
Follow the on-screen instructions

-CKing
 
Exactly the same crash using that method unfortunately, it gets to "Making sure you're ready to install" then says "Modern Setup Host has stopped working".
 
Hi

Do this one more time, and when it gives an error, then attach these two files:
C:\$Windows.~BT\Sources\Panther\setupact.log
C:\$Windows.~BT\Sources\Panther\setuperr.log

The $Windows.~BT folder will be hidden, so you will probably need to checkmark Show Hidden Files, and then it will show up :) These logs will give me important info created by the setup, including what it was doing when the error happened.

-CKing
 
Hi

Seems to be a problem in one file:
Code:
2016-09-12 23:25:45, FatalError [0x090001] PANTHR Exception (code 0xC0000005: ACCESS_VIOLATION) occurred at 0x00007FFA26823AAB in C:\WINDOWS\system32\msvcrt.dll (+0000000000073AAB).  Minidump attached (139100 bytes).

Lets take a look at this file:

SFCFix Fix
This fix is very specific for Spacedog's computer. Trying this fix on your own computer might damage your computer. If you are after assistance, create a new thread, and you will be assisted shortly.

Download SFCFix.exe (by niemiro) and move the executable on your Desktop.
Download the attached View attachment SFCFixScript.txt and move the archive to your Desktop
Note: Make sure that the file is named SFCFixScript.txt, do not rename it.
Save any work you have open, and close every programs
Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it
1p8eDnI.gif

SFCFix will launch, let it complete
Once done, a file will appear on your Desktop, called SFCFix.txt
Open the file, then copy and paste its content in your next reply

-CKing
 
Ok here it is. I had seen that msvcrt.dll appeared to be the problem file so I have tried reinstalling all of my visual studio runtimes but it has had no effect.
 

Attachments

It did not even pick up the C:\Windows\system32\msvcrt.dll. That's...concerning. Lets replace this.

SFCFix Fix
This fix is very specific for Spacedog's computer. Trying this fix on your own computer might damage your computer. If you are after assistance, create a new thread, and you will be assisted shortly.

Download SFCFix.exe (by niemiro) and move the executable on your Desktop.
Download the attached View attachment SFCFix.txt and move the archive to your Desktop
Note: Make sure that the file is named SFCFix.zip, do not rename it.
Save any work you have open, and close every programs
Drag the SFCFix.zip file over the SFCFix.exe executable and release it
mMabJGT.gif
SFCFix will launch, let it complete
Once done, a file will appear on your Desktop, called SFCFix.txt
Open the file, then copy and paste its content in your next reply

-CKing
 
Scratch the above fix. Run this one:

SFCFix Fix
This fix is very specific for Spacedog's computer. Trying this fix on your own computer might damage your computer. If you are after assistance, create a new thread, and you will be assisted shortly.

Download SFCFix.exe (by niemiro) and move the executable on your Desktop.
Download the attached View attachment SFCFixScript.txt and move the archive to your Desktop
Note: Make sure that the file is named SFCFixScript.txt, do not rename it.
Save any work you have open, and close every programs
Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it
1p8eDnI.gif
SFCFix will launch, let it complete
Once done, a file will appear on your Desktop, called SFCFix.txt
Open the file, then copy and paste its content in your next reply

-CKing
 
The file is in use, so SFCFix resorted to replacing it over boot. That may be interfering with the installation, so lets see what is using this:

Capture Process Monitor Trace
1. Download and run Process Monitor. Leave this running, and run the upgrade from Media Creation Tool again
2. If it fails, Stop Process Monitor. You can simply do this by clicking the magnifying glass on the toolbar as shown below.
11908d1430506241-windows-updates-fail-repeatedly-stop-jpg

3. Select the File menu...Save... and save the file to your desktop. This is likely the default location. The name (unless changed) will be LogFile.PML. Then, attach the LogFile.PML and the C:\$Windows.~BT\Sources\Panther\setupact.log and C:\$Windows.~BT\Sources\Panther\setuperr.log

-CKing
 
Success!!

I've finally cracked it and it turns out it was one of those weird issues that could only have come from our dear Microsoft.

I used Process Monitor as you suggested but it was producing frankly insane amounts of data, nearly 2 million entries per minute for several hours it crashed my PC the first time.

I watched it closely the second attempt, clearing the results as it went so it didn't overload. As it progressed I noticed why it had been taking so long, Modern Setup Host was going through my entire 350GB Documents folder and looking at every single file like some creepy uncle. After a while it got to a folder that contained a copy of an old Windows XP hard drive including it's windows directory. Modern Setup Host seemed to get stuck here and for over an hour I watched as it scanned the directory over and over again, mostly the System32 folder and subfolders.

On a whim I moved the folder out of my documents directory and the program continued trying to scan it but now saying the files were missing. Eventually I had had enough and it was obviously not going to progress so I restarted my machine and tried again with the Windows XP directory left outside of my main Documents folder.

Ran setup again, and to my astonishment the update installed straight off with no further hiccups.

Thanks for your time and patience, I hope this weird story helps in your future troubleshooting!

Also to Microsoft: what business do you have nosing around in my Documents folder when doing an upgrade anyway!?
 
Hi

Thanks for letting us know :) I will be marking this thread as solved. (Edit:Whoops, you have already did it :) ) If you have any other problems, let me know

-CKing
 

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

Back
Top