Page 1 of 2 12 Last
  1. #1

    Windows Update Error 0x80070246 and Error 582 illegal char

    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

    dism /online /cleanup-image /restorehealth - which errors with the same 582 error that SFCFix.exe hits

    any help would be appreciated!

    ARJay
    Attached Files Attached Files


    • Ad Bot

      advertising
      Beep.

        
       

  2. #2
    Administrator
    Windows Update Instructor
    Security Analyst

    Join Date
    Oct 2014
    Posts
    17,357

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

    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.

  3. #3

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

    Quote Originally Posted by BrianDrab View Post
    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

  4. #4

    Join Date
    Dec 2014
    Posts
    1,919

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

    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.

  5. #5

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

    Hi PeterJ,

    Please find the zipped COMPONENTS file via gdrive:

    COMPONENTS.zip - Google Drive

  6. #6

    Join Date
    Dec 2014
    Posts
    1,919

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

    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 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.
    • 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.
    Attached Files Attached Files

  7. #7

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

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

  8. #8

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

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

  9. #9

    Join Date
    Dec 2014
    Posts
    1,919

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

    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 ?

  10. #10

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

    Windows Update Error 0x80070246 and Error 582 illegal char-dism-jpg

    DISM fails with 582 Illegal Char error

    DISM log:

    dism.zip - Google Drive

  11. #11

    Join Date
    Dec 2014
    Posts
    1,919

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

    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.

  12. #12

    Re: Windows Update Error 0x80070246 and Error 582 illegal char


  13. #13

    Join Date
    Dec 2014
    Posts
    1,919

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

    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 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.
    • 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.
    Attached Files Attached Files

  14. #14

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

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

  15. #15

    Join Date
    Dec 2014
    Posts
    1,919

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

    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 ?

  16. #16

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

    Windows Update Error 0x80070246 and Error 582 illegal char-dism-jpg

    DISM now fails with 0x800f081f error

    DISM log:

    https://drive.google.com/open?id=0B4rKI8d6Nz49eHhXS0NQNnc1a0k

  17. #17

    Join Date
    Dec 2014
    Posts
    1,919

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

    Retrieve the file CBS.log

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

  18. #18

    Re: Windows Update Error 0x80070246 and Error 582 illegal char


  19. #19

    Join Date
    Dec 2014
    Posts
    1,919

    Re: Windows Update Error 0x80070246 and Error 582 illegal char

    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.

  20. #20

    Re: Windows Update Error 0x80070246 and Error 582 illegal char


Page 1 of 2 12 Last

Similar Threads

  1. Windows Update - Error 0x80070246
    By g47 in forum Windows Update
    Replies: 2
    Last Post: 10-07-2015, 12:08 PM
  2. Replies: 8
    Last Post: 06-01-2015, 01:02 AM
  3. Replies: 11
    Last Post: 05-31-2015, 03:44 AM
  4. Replies: 48
    Last Post: 04-29-2015, 04:18 AM

Log in

Log in