[SOLVED] DISM error 582, SFC

alocke

Contributor
Joined
Dec 31, 2016
Posts
14
Hi Sysnative, looks like this is the best place to ask for advice on the issue I'm having on my notebook

SFC /scannow
gives the following error:
Code:
Windows Resource Protection could not perform the requested operation


DISM /Online /Cleanup-Image /RestoreHealth gives the following error:
Code:
Deployment Image Servicing and Management toolVersion: 10.0.10586.0


Image Version: 10.0.10586.0


[==========================100.0%==========================]


Error: 582


An illegal character was encountered. For a multi-byte character set this includes a lead byte without a succeeding trail byte. For the Unicode character set this includes the characters 0xFFFF and 0xFFFE.


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

Here are the CBS, DISM and Performance Monitor (terminated immediately after failed DISM) logfiles - Dropbox - alocke.zip

Issues seems similar to this recent post - https://www.sysnative.com/forums/windows-update/21964-dism-error-582-sfc-doesnt-work.html

Any help greatly appreciated!
 
SFCFix comes up with Attempting repairs stage 1, 2, 3 then says Due to the nature of your corruptions scan times have been extended...

It then runs DISM and has the same error 582, however it ultimately says that no corruptions have been detected.

Log:
Code:
SFCFix version 3.0.0.0 by niemiro.Start time: 2016-12-31 11:18:38.919
Microsoft Windows 10 Build 10586 - amd64
Not using a script file.


AutoAnalysis::
SUMMARY: No corruptions were detected.
AutoAnalysis:: directive completed successfully.


Successfully processed all directives.


Failed to generate a complete zip file. Upload aborted.




SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2016-12-31 11:32:51.828
----------------------EOF-----------------------
 
Hello and welcome

Due to the precise nature of your corruption, you will receive help from a user named PeterJ. He's one of our senior trainees here who's in his final phrase of his studies and needs to gain some real world experience in specific areas of Windows Update. This means that he'll be assisting you, but that I will first need to double check and approve his fixes before he posts them to you. If anything this is a good thing for you because it means that you've got at least two of us watching over your thread, but it will unfortunately add a slight delay between each reply. I hope that you understand and can accept the need for us to train up new members in this way in order to carry on doing what we do here, however, if for any reason you object to this setup, I will happily take on your thread myself.

Thank you very much for your understanding. We'll be with you very shortly.
 
Hello and welcome,

Follow the instructions below please.

WARNING! The following fix is specific to the user's system in this thread only. No one else should follow these instructions, as it could damage your system. If you need assistance with an issue, please start a new thread and someone will assist you shortly.


  • Download
    myjIXnC.png
    SFCFix and move the executable to your desktop.
  • Download the attachment SFCFixScript.txt and save it on your desktop.
  • Save any work you have open, and close all 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.
 

Attachments

Hi Peter, thanks for your help. I've run that script, which gave the following logfile:

Code:
SFCFix version 3.0.0.0 by niemiro.Start time: 2017-01-04 10:12:48.822
Microsoft Windows 10 Build 10586 - amd64
Using .txt script file at C:\Users\Al\Desktop\SFCFixScript.txt [0]








BitShift::
No corruptions detected.
BitShift:: directive completed successfully.








Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2017-01-04 10:13:08.831
Script hash: hBI6Mql4H4Bclpn1EppfVE6OvuMnGbPTS9YilWvhfmA=
----------------------EOF-----------------------

However when I run SFC and DISM I get the same errors as in the original post :(
 
Please do following:

Retrieve Components Hive
1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
2. Please copy this file to your desktop.
Note: If you receive an error that this file is in-use, simply reboot your computer and try again. Note: If you find that you need to reboot and are unable to because this is a server then try Option#2 below.
3. Right-click on this file on your desktop and select Send To...Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
4. The file will likely be too large to upload here so please upload to SendSpace and just provide the link here.



Option#2 (only if you are unable to follow the previous instructions)


  • Please download the Freeware RegBak from here: Acelogix Software - Download products
    You will find it at the bottom of the page that the link brings you to.
  • Go ahead and install this program and accept all the defaults. After the last install screen the program should open.
  • Click the New Backup button. Accept the defaults and simply click Start.
  • When it says Finished successfully, click the Close button.
  • This will bring you back to the main screen of the program. You will see one entry in this list with the date that you did it. Right-click on this line-item and select Explore Backup...
  • This will bring you into the folder where the backup was made. You should see a Users folder and a Windows folder along with a couple other files. Double-click on the Windows folder to open it. Then open the System32 folder and then config folder. You should see around 6 files in here, one of which is named COMPONENTS.
  • Copy the COMPONENTS file to your Desktop. If the COMPONENTS file does not exist, please fetch it instead from C:\Windows\System32\config\COMPONENTS.
  • Now right click on the COMPONENTS file that is on your desktop and select Send to > Compressed (zipped) folder.
  • Then please upload the zip file (COMPONENTS.zip) to your favourite file sharing website (it will be too big to upload here). Examples of services to upload to are Dropbox or One Drive or SendSpace and then just provide the link in your reply.
  • You can close any open windows you have as well as the RegBak program now.
 
Please do following.

WARNING! The following fix is specific to the user's system in this thread only. No one else should follow these instructions, as it could damage your system. If you need assistance with an issue, please start a new thread and someone will assist you shortly.


  • Download
    myjIXnC.png
    SFCFix and move the executable to your desktop.
  • Download the attachment SFCFixScript1.txt and save it on your desktop.
  • Save any work you have open, and close all programs.
  • Drag the SFCFixScript1.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.
 

Attachments

With that fix file I get this error from SFCFix
Code:
SFCFix version 3.0.0.0 by niemiro.Start time: 2017-01-07 14:57:47.855
Microsoft Windows 10 Build 10586 - amd64
Using .txt script file at C:\Users\Al\Desktop\SFCFixScript1.txt [0]


RegistryScript::
Failed to import registry key HKEY_LOCAL_MACHINE\DerivedData\Components\msil_system.web.mobile_b03f5f7f11d50a3a_10.0.10586.0_none_870e38797c52fa5f. A root key cannot be created under this hive.
RegistryScript:: directive failed to complete successfully.


Failed to process all directives successfully.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2017-01-07 14:57:47.886
Script hash: 2h/gDpZK+U9CTsL7v45Qd/YJ+WnuxZ5xr/nBTW9Obes=
----------------------EOF-----------------------
 
Please do following.

WARNING! The following fix is specific to the user's system in this thread only. No one else should follow these instructions, as it could damage your system. If you need assistance with an issue, please start a new thread and someone will assist you shortly.


  • Download
    myjIXnC.png
    SFCFix and move the executable to your desktop.
  • Download the attachment SFCFixScript2.txt and save it on your desktop.
  • Save any work you have open, and close all programs.
  • Drag the SFCFixScript2.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.
 

Attachments

That seems to have done something, as SFC /scannow now begins to verify (which it didn't do before) but fails at 54%. This was the log from SFCFix when running the script:
Code:
SFCFix version 3.0.0.0 by niemiro.Start time: 2017-01-08 12:07:28.494
Microsoft Windows 10 Build 10586 - amd64
Using .txt script file at C:\Users\Al\Desktop\SFCFixScript2.txt [0]




RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\msil_system.web.mobile_b03f5f7f11d50a3a_10.0.10586.0_none_870e38797c52fa5f.


Successfully imported registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\msil_system.web.mobile_b03f5f7f11d50a3a_10.0.10586.0_none_870e38797c52fa5f.


Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\msil_system.web.mobile_b03f5f7f11d50a3a_10.0.10586.0_none_870e38797c52fa5f.
RegistryScript:: directive completed successfully.


Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2017-01-08 12:07:32.360
Script hash: tcOWErPYzDN5Hji9Lm5/DkONeCUmr3yx41Q9n9wP1KI=
----------------------EOF-----------------------

When I run SFC /scannow I get this:
Code:
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.


C:\WINDOWS\system32>sfc /scannow


Beginning system scan.  This process will take some time.


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


Windows Resource Protection could not perform the requested operation.

DISM then gives a different error to before:
Code:
C:\WINDOWS\system32>DISM /Online /Cleanup-Image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 10.0.10586.0


Image Version: 10.0.10586.0


[==========================100.0%==========================]


Error: 605


The specified buffer contains ill-formed data.


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

CBS, DISM and process monitor log files here (apologies for the size) - Download alocke.zip from Sendspace.com - send big files the easy way

To add a little more information to the topic which may be relevant, the fault which lead me down the path of using the SFC is that when I try to install a new application Explorer just drops out and restarts immediately. Programs which were running already continue to run normally but the new installation fails to initiate.
 
Warning: This script was written specifically for this user, for use on that particular machine. Do not run this script on another machine.

1. Download the Farbar Recovery Scan Tool and save it to your Desktop:
32-bit: Downloading Farbar Recovery Scan Tool
64-bit: Downloading Farbar Recovery Scan Tool

2. Download the attachment fixlist.txt and save it to your desktop.
3. Right-click on FRST.exe and select "Run as administrator".
4. Press the Fix button.
5. The tool will now process fixlist.txt.
6. If for some reason the tool needs a restart, please make sure you let the system restart normally. After that let the tool complete its run.
7. When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
8. Post the logfile Fixlog.txt as attachment in your next reply.

Note: Do not use any other tools. Please wait for a reply.
 

Attachments

Thanks, FRST log below:
Code:
Fix result of Farbar Recovery Scan Tool (x64) Version: 12-01-2017Ran by Al (13-01-2017 14:58:34) Run:1
Running from C:\Users\Al\Desktop
Loaded Profiles: Al (Available Profiles: Al)
Boot Mode: Normal
==============================================


fixlist content:
*****************
CloseProcesses:
C:\Windows\WinSxS\amd64_microsoft-windows-webservices_31bf3856ad364e35_10.0.10586.0_none_9b01f091d9097303\webservices.dll
*****************


Processes closed successfully.
C:\Windows\WinSxS\amd64_microsoft-windows-webservices_31bf3856ad364e35_10.0.10586.0_none_9b01f091d9097303\webservices.dll => moved successfully




The system needed a reboot.


==== End of Fixlog 14:58:36 ====
 
Please do following only.

SFC Scan

  1. Rightclick the Start button and select Command Prompt (administrator)
  2. When command prompt opens, copy and paste the following commands into it, press enter after each

    Code:
    sfc /scannow
    Wait for this to finish before you continue

    Code:
    copy %windir%\logs\cbs\cbs.log %userprofile%\Desktop\cbs.txt
  3. This will create a file, cbs.txt on your Desktop. Please attach this to your next post.
    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 download link.
 
Follow the instructions below please.

WARNING! The following fix is specific to the user's system in this thread only. No one else should follow these instructions, as it could damage your system. If you need assistance with an issue, please start a new thread and someone will assist you shortly.


  • Download
    myjIXnC.png
    SFCFix and move the executable to your desktop.
  • Download the attachment SFCFix.zip and save it on your desktop.
  • Save any work you have open, and close all programs.
  • Drag the SFCFix.zip 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.
 

Attachments

Code:
SFCFix version 3.0.0.0 by niemiro.Start time: 2017-01-17 12:56:27.890
Microsoft Windows 10 Build 10586 - amd64
Using .zip script file at C:\Users\Al\Desktop\SFCFix.zip [0]








PowerCopy::
Successfully took permissions for file or folder C:\WINDOWS\winsxs\amd64_microsoft-windows-webservices_31bf3856ad364e35_10.0.10586.0_none_9b01f091d9097303


Successfully copied file C:\Users\Al\AppData\Local\niemiro\Archive\amd64_microsoft-windows-webservices_31bf3856ad364e35_10.0.10586.0_none_9b01f091d9097303\webservices.dll to C:\WINDOWS\winsxs\amd64_microsoft-windows-webservices_31bf3856ad364e35_10.0.10586.0_none_9b01f091d9097303\webservices.dll.


Successfully restored ownership for C:\WINDOWS\winsxs\amd64_microsoft-windows-webservices_31bf3856ad364e35_10.0.10586.0_none_9b01f091d9097303
Successfully restored permissions on C:\WINDOWS\winsxs\amd64_microsoft-windows-webservices_31bf3856ad364e35_10.0.10586.0_none_9b01f091d9097303
PowerCopy:: directive completed successfully.








Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 2 datablocks.
Finish time: 2017-01-17 12:56:29.020
Script hash: KAM/BfeRw5lh8/UDrGhmFfEuDrNK+eymi4zG/6VpnSM=
----------------------EOF-----------------------
 
Perform a new SFC scan and post the result:

SFC Scan

  1. Rightclick on the Start button and select Command Prompt (administrator)
  2. When command prompt opens, copy and paste the following commands into it, press enter after each

    Code:
    sfc /scannow
    Wait for this to finish before you continue

    Code:
    copy %windir%\logs\cbs\cbs.log %userprofile%\Desktop\cbs.txt
  3. This will create a file, cbs.txt on your Desktop. Please attach this to your next post.
    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 download link.
 

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

Back
Top