Windows Update Error 0x80070246 and Error 582 illegal char

ARJay

Member
Joined
Aug 30, 2016
Posts
16
Hi there,

I just noticed that windows update has been failing for a long while, and when I tried to run some fixes I hit a 582 error.

I replaced some faulty RAM a couple of months back, but looks like there was some corruption I didn't notice.

Things I have tried:

Running the windows update troubleshooter - which reports that issues were found and corrected.

src /scannow - which errors with Windows Resource Protection could not perform the requested operation

[FONT=&quot]dism /online /cleanup-image /restorehealth - which errors with the same 582 error that SFCFix.exe hits

any help would be appreciated!

ARJay[/FONT]
 

Attachments

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

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.

Thank you BrainDrab, no worries with the training, happy for all the help I can get!

Cheers
 
Hello and welcome,

We need some more information.

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.
 
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

SFCFix version 3.0.0.0 by niemiro.
Start time: 2016-09-05 09:48:03.067
Microsoft Windows 10 Build 10586 - amd64
Using .txt script file at C:\Users\ARJay\Desktop\SFCFixScript.txt [0]








RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..minkernel.resources_31bf3856ad36´e35_10.0.10586.0_en-us_F612e0014c0355d.


Successfully imported registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..minkernel.resources_31bf3856ad364e35_10.0.10586.0_en-us_F612e00184c0355d.
WARNING: Failed to create backup for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..minkernel.resources_31bf3856ad36´e35_10.0.10586.0_en-us_F612e0014c0355d.


Successfully deleted registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..minkernel.resources_31bf3856ad36´e35_10.0.10586.0_en-us_F612e0014c0355d.


Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..minkernel.resources_31bf3856ad364e35_10.0.10586.0_en-us_F612e00184c0355d.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components.
Failed to open registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..minkernel.resources_31bf3856ad36´e35_10.0.10586.0_en-us_F612e0014c0355d with error code ERROR_FILE_NOT_FOUND.
RegistryScript:: directive failed to complete successfully.








Failed to process all directives successfully.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 3 datablocks.
Finish time: 2016-09-05 09:48:04.071
Script hash: z+60kzlzkbKK3mgfukp2tuMNzJz7UkMxW3OLOMGkA2U=
----------------------EOF-----------------------
 
Looks like there was a stray apostrophe in that script on line 15 I removed it and tried it again:

SFCFix version 3.0.0.0 by niemiro.
Start time: 2016-09-05 09:59:21.295
Microsoft Windows 10 Build 10586 - amd64
Using .txt script file at C:\Users\ARJay\Desktop\SFCFixScript.txt [0]








RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..minkernel.resources_31bf3856ad364e35_10.0.10586.0_en-us_F612e00184c0355d.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components.


Successfully imported registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..minkernel.resources_31bf3856ad364e35_10.0.10586.0_en-us_F612e00184c0355d.
Successfully deleted registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..minkernel.resources_31bf3856ad36e35_10.0.10586.0_en-us_F612e0014c0355d.


Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..minkernel.resources_31bf3856ad364e35_10.0.10586.0_en-us_F612e00184c0355d.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components.
RegistryScript:: directive completed successfully.








Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 3 datablocks.
Finish time: 2016-09-05 09:59:21.405
Script hash: FVRY6sjNy0eX/7+uHClPcnfxzXEGZo7YmSgRIcN/3LM=
----------------------EOF-----------------------
 
Follow the instructions below to run a scan with the DISM tool again and provide a log.

  1. Right-click the Start button and click Command prompt(Administrator).
  2. If you get a popup about UserAccountControl, allow the program to run.
  3. When command prompt opens, copy and paste the following commands into it, press enter after each.

    Code:
    dism /Online /Cleanup-Image /RestoreHealth
    Wait for this to finish before you continue

    Code:
    copy %windir%\logs\dism\dism.log %userprofile%\Desktop\dism.txt
  4. This will create a file, dism.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.

Does the dism tool run successfully ?
 
Follow the instructions below.

Retrieve Components Hive
1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
2. Please copy this file to your desktop. You may replace the existing one.
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.
 
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 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

SFCFix version 3.0.0.0 by niemiro.
Start time: 2016-09-07 00:42:46.401
Microsoft Windows 10 Build 10586 - amd64
Using .txt script file at C:\Users\ARJay\Desktop\SFCFixScript2.txt [0]








RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..minkernel.resources_31bf3856ad364e35_10.0.10586.0_en-us_F612e00184c0355d.


Successfully imported registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..minkernel.resources_31bf3856ad364e35_10.0.10586.0_en-us_F612e00184c0355d.


Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..minkernel.resources_31bf3856ad364e35_10.0.10586.0_en-us_F612e00184c0355d.
RegistryScript:: directive completed successfully.








Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 3 datablocks.
Finish time: 2016-09-07 00:42:47.330
Script hash: TpqkMIiO5+jBnc59Sm4du+NDSgyGldLUpLOD5AVnAXM=
----------------------EOF-----------------------
 
Follow the instructions below to run a scan with the DISM tool again and provide a log.


  1. Right-click the Start button and click Command prompt(Administrator).
  2. If you get a popup about UserAccountControl, allow the program to run.
  3. When command prompt opens, copy and paste the following commands into it, press enter after each.

    Code:
    dism /Online /Cleanup-Image /RestoreHealth
    Wait for this to finish before you continue

    Code:
    copy %windir%\logs\dism\dism.log %userprofile%\Desktop\dism.txt
  4. This will create a file, dism.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.


Did the dism tool ran successfully ?
 
dism.jpg

DISM now fails with 0x800f081f error

DISM log:

https://drive.google.com/open?id=0B4rKI8d6Nz49eHhXS0NQNnc1a0k
 
Retrieve the file CBS.log

  1. Click on the Start
    Start%20Orb.jpg
    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 command into it, press enter after each

    Code:
    copy %windir%\logs\cbs\cbs.log %userprofile%\Desktop\cbs.txt
  4. 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.
 
The current CBS.log isn't usable.
Follow the instructions below to run a scan with the DISM tool and provide a CBS.log.

  1. Right-click the Start button and click Command prompt(Administrator).
  2. If you get a popup about UserAccountControl, allow the program to run.
  3. When command prompt opens, copy and paste the following commands into it, press enter after each.

    Code:
    dism /Online /Cleanup-Image /RestoreHealth
    Wait for this to finish before you continue

    Code:
    copy %windir%\logs\cbs\cbs.log %userprofile%\Desktop\cbs.txt
  4. 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