[SOLVED] [WinServer2012 x64] WU 80070246. DISM Error: 582 illegal character was encountered.

jwolber

Contributor
Joined
Jul 31, 2017
Posts
46
I am running Windows Server 2012 Standard on a server in our office. Was trying to run windows updates, after a few went through and succeeded I started to receive Error Code 80070246. Upon trying to run dism.exe /online /cleanup-image /restorehealth I receive error code 582 An illegal character was encountered. For a multi-byte character set this includes a lead byte without succeeding trail byte. For the Unicode character set this includes the characters 0xFFFF and 0xFFFE. After days of trying several different repairs I finally stumbled upon your amazing website. I tried running your SFCFix.exe tool and the log is below;

SFCFix version 3.0.0.0 by niemiro.
Start time: 2017-07-31 16:43:38.263
Microsoft Windows Server 2012 - amd64
Not using a script file.




AutoAnalysis::
WARNING: Unicode Registry Corruption Detected: HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\x86_microsoft-windows-ie-ieadvpack.resources_31bf3856ad364e35_10.0.9200.(384_en-us_20d5b3bc9cee8844




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




Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2017-07-31 16:48:07.811
-------------------------------------------------------------------------------------------------------------------------------------------------------------------

I need to state that the tool did not complete on it's own, as I once again encountered the 582 error code. I used Ctrl C; and this log was then generated on the desktop. After browsing your site a little more I thought it would benefit to run the BitShift:: script for which I received the following log which seemed to list several more corrupt registry entries. that log is below;

SFCFix version 3.0.0.0 by niemiro.
Start time: 2017-07-31 17:04:20.676
Microsoft Windows Server 2012 - amd64
Using .txt script file at C:\Users\Administrator\Desktop\SFCFixScript.txt [2]




BitShift::
Corrupt Registry Key Detected: HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\x86_microsoft-windows-ie-ieadvpack.resources_31bf3856ad364e35_10.0.9200.(384_en-us_20d5b3bc9cee8844
Corrupt Registry Value Detected: HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Deployments\rndiscmp.in..anguagepack_31bf3856ad364e35_6.2.9200.16384_aac1453fc09ffe2d:?!CBS_microsoft-windows-server-drivers-package-net~31bf3856ad364?3_ff03c47a8ae09c21
Corrupt Registry Value Detected: HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Deployments\rndiscmp.inf_31bf3856ad364e35_6.2.9200.16384_72aea951eb8c3566:?!CBS_microsoft-windows-servercore-drivers-package-net~31bf3856ad3_3c078af534a0d1e2
Corrupt Registry Value Detected: HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Deployments\rndiscmp.inf_31bf3856ad364e35_6.2.9200.16384_72aea951eb8c3566:s!CBS_microsoft-windows-server-d?ivers-package-net~31bf3856ad364e3_59d33bbfdf37a66b
Corrupt Registry Value Detected: HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\VersionedIndex\6.2.9200.16455 (win8_gdr.121109-1506)\ComponentFamilies\wow64_microsoft-windows-f..lications.resources_31bf3856ad364e35_en-us_87a9f4904b24d3d3\v!6.2.9200.16384:?CP_2cfe21a2
BitShift:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2017-07-31 17:04:39.172
Script hash: hBI6Mql4H4Bclpn1EppfVE6OvuMnGbPTS9YilWvhfmA=
----------------------EOF-----------------------

I tried uploading the CBS logs per instructions but it appears to be too large. I have them in my OneDrive - the link to that is right here;

https://netorg2466719-my.sharepoint...111322527a6cf&authkey=AUWbqr8aNAWRClt8Re7UkrU

I am willing to try anything to get this fixed as I need to get this server updated to R2 as well as updating all of my .net components. Thanks for any help that is provided!

Jacob Wolber
TruLuc Holdings, LLC
 
Re: Windows Update Error 80070246 dism.exe Error: 582 illegal character was encounter

I just wanted to check in to see if there was anything else I needed to gather to start getting help with this issue. If there is anything I missed please let me know, thanks again!
 
Re: Windows Update Error 80070246 dism.exe Error: 582 illegal character was encounter

Is there anyone still out there that can help me with this issue? That DONATE button is looking pretty tempting right now. I'm just saying if someone could help me get this fixed instead of having to do a complete re-install it would be worth a great amount to me in donations! Just let me know at least one way or the other, thanks again!!
 
Not a problem at all! Yes, if you would be willing to help me resolve this it would be great! Just let me know what else you need and I will provide what I can. Thank you!
 
Hello and welcome

Due to the precise nature of your corruption, you will receive help from a user named softwaremaniac. He's one of our senior trainees here who's in his final phase 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.
 
That is perfectly fine with me. Being in IT I understand the importance of training so I think this is fantastic. Looking forward to working with you both!
 
Hello and welcome!

Has the memory in the server ever been tested? Was there memory added or removed at some point?

Step#1 - 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.
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.
 
We added an additional 16 GB of memory almost 2 years ago, have never had an issue with this. I have run multiple memory tests on this server using the Dell Diagnostics as well as with MEMTEST64 and all come back with no errors.

Since I have my onedrive sharing all set up I already have the components file zipped and shared through there, here is the link https://1drv.ms/u/s!ApXQPkccCYGla_nn48jA4hhMiKU - if this is not sufficient I can send it through sendspace just let me know. Thank you!
 
Step#1 - Replace Components hive
1. Navigate to C:\Windows\System32\Config and rename the COMPONENTS file to COMPONENTS.BAD. Note: If the system doesn't allow you to, reboot and then try again. It should work at this point.
2. Please download COMPONENTS.zip to your desktop.
3. Right-click on the downloaded file and select Extract All...
4. Make sure the "Show extracted files when complete" checkbox is checked and then click the Extract button.
5. You will now see the COMPONENTS file. Right-click on this file and select Copy.
6. Navigate to C:\Windows\System32\Config and then Paste in this file.
 
SFC Scan



  1. Click on the Start button and in the search box, type Command Prompt
  2. When you see Command Prompt on the list, right-click on it and select Run as administrator
  3. When command prompt opens, copy and paste the following commands into it, press enter after each

    sfc /scannow

    Wait for this to finish before you continue

    copy %windir%\logs\cbs\cbs.log %userprofile%\Desktop\cbs.txt
  4. This will create a file, cbs.txt on your Desktop. Please zip and attach this to your next post.
 
I ran the SFC /SCANNOW it reported that it found corrupt files but was able to repair them, this never worked before it always gave me a windows system protection error. Here is a link to the new CBS logs. I am going to reboot now and try running windows updates again. So far I think we are on the right track, Sever Manager is even working again!

https://netorg2466719-my.sharepoint...e66b302036d97&authkey=Ac2nW1wsnxY3UMcnQLmSWkg
 
After rebooting and running Windows Updates it said their were 88 important updates available - when I went to bed it was at 76% downloaded, it was still at the same spot when I woke up. I rebooted the server again and this time went ahead and ran a DISM /Online /Cleanup-Image /Restorehealth - I received an error: 14005 - The Manifest file contains one or more syntax errors. Here is my DISM log file - https://netorg2466719-my.sharepoint...66a4ab39b4724&authkey=ATEPC9yyzhZelEN3ikIKFjw - please let me know my next steps to take. Thanks again for everything so far!
 
DISM /RestoreHealth Scan
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. Right-click on the Start 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
    Dism /Online /Cleanup-Image /RestoreHealth
  3. Once it finishes, copy and paste the following into the command-prompt window and press Enter. If prompted to overwrite the existing file go ahead.
    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 => Please zip/upload to this thread.
    Please Note:: if the file is too big (over 7MB) to upload to your next post, please upload via a service such as Dropbox or One Drive or SendSpace and just provide the link.

 
New CBS log is now attached.

Results of running DISM /Online /Cleanup-Image /RestoreHealth

Error: 14005
The Manifest file contains one or more syntax errors.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

I uploaded my DISM log just for good measure, if you need anything else please let me know.
 

Attachments

Step#1 - Capture Process Monitor Trace
1. Download and run Process Monitor. Leave this running while you perform the next steps.
2. Attempt to run DISM just like you have in the past.
3. Stop Process Monitor as soon as DISM fails. You can simply do this by clicking the magnifying glass on the toolbar as shown below.
11908d1430506241-windows-updates-fail-repeatedly-stop-jpg


4. 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. This is fine.
5. Zip up and attach the LogFile.PML file as well as your CBS.log.
 

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

Back
Top