[SOLVED] Windows Update Broken - DISM Error 582; SFC doesn't work

Gardinho

Active member
Joined
Jun 3, 2023
Posts
41
Hi everyone,

There was a thread opened several years ago and I´m experiencing the exact same problem.

(DISM Error 582; SFC doesn't work)​


Basically I can´t get Windows Updates to work. It looks like the components are corrupt but I can´t run the usual tools to fix the store. The specific error I´m getting is:

Error: 582

An invalid character was encountered. In the case of a multi-byte character set, this includes a leading byte with no successive trailing byte. In the case of a Unicode character set, it includes the characters 0xFFFFFF and 0xFFFE.

I read that one of the geniuses here created a specific script to repair this for the particular user. This is happening in our domain on several PCs, but I suspect they all have the same problem as they have the same image.

If somebody could help me solve this I´d be happy to donate. It´s driving me around the bend!

Best wishes,

David
 
Hi and welcome to Sysnative,

Please attach a new copy of the COMPONENTS hive.

Upload your COMPONENTS hive.
  • Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
  • 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.
  • 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.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
Hi Maxtar,

I have attached the file. Thanks for taking the time to look at it.

We are in a large domain and we have 100 or so computers with this error. We contol the images and update deployment through SCCM so I hope that if we can find a solution for 1, we can test it in another machine. I appreciate that it will probably be individual to the machine though.

Thanks again.

David
 

Attachments

Hi,

Step 1. Replace Components Hive Manually

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.

  1. Download COMPONENTS.ZIP and save to your desktop.
  2. Right-click on it and select Extract all.... Make sure the "Show extracted files when complete" is checked and click Extract.
  3. Now we have the COMPONENTS file that we will be using to replace your current one.
  4. Navigate to C:\Windows\System32\config
  5. Right-click on the current COMPONENTS file and select rename. Rename it to COMPONENTS.bad.
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  6. Take the file from the Components folder on your desktop and paste it into C:\Windows\System32\config


Step 2. Reboot the system and download
61f7aba7309a1-ComponentsScanner_Icon.png
ComponentsScanner and save it to your desktop.
  • Right-click ComponentsScanner.exe and select "Run as administrator", click Yes on the UAC (User Account Control) prompt which appears.
  • Follow the on-screen instructions.
  • Once complete, a report will be saved to your desktop called ComponentsScanner.txt.
  • Post the logfile ComponentsScanner.txt as attachment into your next reply.
 

Attachments

I’ll post back as soon as I get access to the users machine. Probably next week now.

Many thanks for your help
 

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

Back
Top