Can't download/install updates. sfc/scannow error. DISM error - WOF Driver Corruption

imkdm

New member
Joined
Mar 1, 2021
Posts
2
I encountered error in upgrading / updating my Desktop Windows 10 (1809) to latest October 2020 edition. Error using windows update was - "A current driver on your PC may be better than the driver we're trying to install. We'll keep trying to install."
Error using Windows Update Assistant / Media Creation Tool was "The installation failed in the SAFE_OS phase"

No external drives was attached. I ran chkdsk in PE Environment and it came out almost clean with few adjustment enties. Also ran surface test for system drive for bad sectors through AOEMI Partition Assistant. But it came out clean.

After chkdsk, I ran sfc/scannow and DISM/online/restorehealth commands in elevated command prompt.

SFC/Scannow completed till almost 100% but finally it gave error that "Windows resource protection could not perform the requested operation".

DISM Online command was unable to proceed through in PE Environment so I re-ran it in normal conditions. It completed till 24.2% and gave the error that "The WOF driver encountered a corruption in the compressed file's Resource Table."

Pls guide. Thanks.
 
Doing a Windows 10 Repair Install or Feature Update Using the Windows 10 ISO file

This is also an instance where, after you have the ISO file in hand, I would suggest disconnecting from the internet and when you run the Feature Update you elect NOT to get the latest updates (which I think is "asked" near the beginning with a link like Change how updates behave). Even if you don't do this, if you have no internet connection the Feature Update process should detect that and install strictly using the contents of the ISO.

After the update has finished, Windows Update will snag any additional updates once internet connectivity has been reestablished.
 
I did as instructed in "Doing a Windows 10 Repair Install or Feature Update Using the Windows 10 ISO file"
I also had removed LAN cable to modem to effectively shut off PC from brown.

But still something happened during reboot. Next screen I got - undoing changes made to your PC.

On startup I was greeted by this error in windows setup window (SS attached)
0x8007001F- 0x20006
The installation failed in SAFE_OS phase with an error during REPLICATE_OC operation.
 

Attachments

  • Error.JPG
    Error.JPG
    38.9 KB · Views: 2
Please perform the following steps:

1) Open administrative command prompt (ACP) and type or copy and paste:
2) sfc /scannow
3) dism /online /cleanup-image /restorehealth

4) When these have completed > right click on the top bar or title bar of the administrative command prompt box > left click on edit then select all > right click on the top bar again > left click on edit then copy > paste into the thread

5) Run the Sysnative log collector > post a share link using one drive, drop box, or google drive
Blue Screen of Death (BSOD) Posting Instructions - Windows 10, 8.1, 8, 7 + Vista

6) Run setupdiag > post a share link using one drive, drop box, or google drive
SetupDiag - Windows Deployment

7) Download and install: voidtools

8) Post share links for these files / folders:
C:\$Windows.~BT\Sources\Rollback
C:\$Windows.~BT\Sources\Panther
C:\Windows\Panther\setupact.log
C:\Windows\Panther\setuperr.log
C:\Windows\inf\setupapi.dev.log
C:Windows\Logs\CBS\CBS.log
 
I have no idea how much UI customization or app and application installation beyond what comes with Windows 10 has been done on the OP's system, but if it's easy enough to back up the user data, take a full system image backup (just in case - you always want to have one if possible), and collect the installers for the installed applications (desktop apps) that would need to be reinstalled, I'd seriously consider:

Doing a Completely Clean (Re)install of Windows 10 Using Media Creation Tool to Fetch the Win10 ISO File

The ISO file should already be in hand since it was obtained in order to attempt the repair install.

Once a system starts displaying this degree of crankiness, it's my opinion that it is a far better thing to start over again with a clean slate. Others, of course, will feel differently, and if trying to run down the root cause is considered preferable, then go for it.

And no matter what direction you do end up going, this is one reason I strongly recommend that anyone keep a log of changes they've made to the myriad Windows 10 settings that you add to as you're making them (or remove if you reverse them). Over time we all forget all the tiny tweaks we have done to make our Windows 10 environment "just so" and if you ever have to do so again, or do so on a separate computer, it's just very handy to be able to run through that list, no matter how long, and know that afterward you have exactly what you're looking for.
 

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

Back
Top