SFC & DISM unable to complete, mswsock.dll "bad image"

hipaaradius

New member
Joined
Aug 16, 2021
Posts
1
Good day,

I have a Windows 10 Enterprise 20H2 system caught up with 2021-08 updates from Microsoft Update. mswsock.dll is reportedly corrupt, and Internet Explorer is inoperable.

Example error:

Code:
---------------------------
SFCFix.exe - Bad Image
---------------------------
C:\WINDOWS\system32\mswsock.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc0000020. 
---------------------------
OK   
---------------------------

sfc /verifyonly results:

Code:
PS C:\WINDOWS\system32> sfc /verifyonly

Beginning system scan.  This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection found integrity violations.
For online repairs, details are included in the CBS log file located at
windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
repairs, details are included in the log file provided by the /OFFLOGFILE flag.

sfc /scannow results:

Code:
PS C:\WINDOWS\system32> sfc /scannow

Beginning system scan.  This process will take some time.

Beginning verification phase of system scan.
Verification 7% complete.

Windows Resource Protection could not perform the requested operation.

SFCFix crashes with an error.

Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2021-08-16 13:18:23.945
Microsoft Windows 10 Build 19042 - amd64
Not using a script file.




SFCFix version 3.0.2.1 by niemiro has encountered an unhandled exception.
Currently storing 0 datablocks.
Finish time: 2021-08-16 13:18:28.674
----------------------EOF-----------------------

DISM /Online /Cleanup-Image /ScanHealth results:

Code:
PS C:\WINDOWS\system32> Dism.exe /online /Cleanup-Image /ScanHealth

Deployment Image Servicing and Management tool
Version: 10.0.19041.844

Image Version: 10.0.19042.1165

[===================        33.1%                          ]
Error: 4448

The WOF driver encountered a corruption in the compressed file's Resource Table.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

DISM /Online /Cleanup-Image /RestoreHealth results:

Code:
PS C:\WINDOWS\system32> DISM /Online /Cleanup-Image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 10.0.19041.844

Image Version: 10.0.19042.1165

[============               21.2%                          ]
Error: 4448

The WOF driver encountered a corruption in the compressed file's Resource Table.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:D:\Sources.Install.WIM:3 /LimitAccess results, using SW_DVD9_Win_Pro_10_20H2.9_64BIT_English_Pro_Ent_EDU_N_MLF_X22-71896.ISO from VLSC as source media:

Code:
PS C:\WINDOWS\system32> dism /online /cleanup-image /restorehealth /source:wim:d:\sources\install.wim:3 /limitaccess

Deployment Image Servicing and Management tool
Version: 10.0.19041.844

Image Version: 10.0.19042.1165

[============               21.1%                          ]
Error: 4448

The WOF driver encountered a corruption in the compressed file's Resource Table.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

chkdsk /f corrected some free space issues:

Code:
Checking file system on C:
The type of the file system is NTFS.
Volume label is Windows.


A disk check has been scheduled.
Windows will now check the disk.                         

Stage 1: Examining basic file system structure ...
  810752 file records processed.                                                         
File verification completed.
 Phase duration (File record verification): 7.21 seconds.
  13901 large file records processed.                                    
 Phase duration (Orphan file record recovery): 0.00 milliseconds.
  0 bad file records processed.                                      
 Phase duration (Bad file record checking): 0.01 milliseconds.

Stage 2: Examining file name linkage ...
  88385 reparse records processed.                                       
  1071144 index entries processed.                                                        
Index verification completed.
 Phase duration (Index verification): 12.24 seconds.
  0 unindexed files scanned.                                         
 Phase duration (Orphan reconnection): 1.86 seconds.
  0 unindexed files recovered to lost and found.                     
 Phase duration (Orphan recovery to lost and found): 374.51 milliseconds.
  88385 reparse records processed.                                       
 Phase duration (Reparse point and Object ID verification): 145.31 milliseconds.

Stage 3: Examining security descriptors ...
Cleaning up 2504 unused index entries from index $SII of file 0x9.
Cleaning up 2504 unused index entries from index $SDH of file 0x9.
Cleaning up 2504 unused security descriptors.
Security descriptor verification completed.
 Phase duration (Security descriptor verification): 35.11 milliseconds.
  130197 data files processed.                                            
 Phase duration (Data attribute verification): 0.02 milliseconds.
CHKDSK is verifying Usn Journal...
  35985352 USN bytes processed.                                                            
Usn Journal verification completed.
 Phase duration (USN journal verification): 197.46 milliseconds.
CHKDSK discovered free space marked as allocated in the volume bitmap.

Windows has made corrections to the file system.
No further action is required.

 123840440 KB total disk space.
  63120704 KB in 364993 files.
    246556 KB in 130198 indexes.
         0 KB in bad sectors.
    925328 KB in use by the system.
     65536 KB occupied by the log file.
  59547852 KB available on disk.

      4096 bytes in each allocation unit.
  30960110 total allocation units on disk.
  14886963 allocation units available on disk.
Total duration: 22.14 seconds (22146 ms).

Internal Info:
00 5f 0c 00 62 8e 07 00 74 8b 0d 00 00 00 00 00  ._..b...t.......
50 00 00 00 f1 58 01 00 00 00 00 00 00 00 00 00  P....X..........

SMART attributes of the OS SSD:

Code:
*** DiskCheckup V3.4 Build: 1003 Report ***

SysInfo DLL Version:                                                  SysInfo v1.0 Build: 1122
Time of export:                                                       13:12:01 16-Aug-2021

Device information:                                                   
   Device ID:                                                         0
   Interface:                                                         SATA
   Device Capacity:                                                   122103 MB
   Serial Number:                                                     S1ANNSAF509489Y
   Model Number:                                                      Samsung SSD 840 PRO Series

SMART ATTRIBUTES:
 ID    Description                             Status        Value         Worst         Threshold     Raw Value     TEC                 
---------------------------------------------------------------------------------------------------------------------------------------------
  5    Reallocated Sector Count                OK            100           100           10            0             N/A                 
  9    Power On Time                           OK            93            93            0             30381         N/A                 
 12    Power Cycle Count                       OK            98            98            0             1794          N/A                 
177    Used Reserved Block Count (Chip)        OK            93            93            0             230           N/A                 
179    Used Reserved Block Count (Total)       OK            100           100           10            0             N/A                 
181    Program Fail Count (Total)              OK            100           100           10            0             N/A                 
182    Erase Fail Count (Total)                OK            100           100           10            0             N/A                 
183    Runtime bad block (Total)               OK            100           100           10            0             N/A                 
187    Reported Uncorrectable Errors           OK            100           100           0             0             N/A                 
190    Air Flow temperature                    OK            68            36            0             32            N/A                 
195    ECC Error Rate                          OK            200           200           0             0             N/A                 
199    UltraDMA CRC Error Count                OK            99            99            0             1             N/A                 
235    Power Recovery Count                    OK            99            99            0             293           N/A                 
241    Total LBAs Written                      OK            99            99            0             18056747762    N/A

Current CBS file is attached.

Thank you in advance.
 

Attachments

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

Back
Top