dism.exe /online /cleanup-image /restore health failed error code 0x80246007

Anonymous
2012-12-04T03:03:03+00:00

I can't update my Windows 8 Apps in start screen. Tried all steps and get stuck on this DISM Command. The /scanhealth completed successfully though but this /restorehealth didn't. It says DISM Failed. No Operation Was Performed. For More Information, Please Review the Log File.

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2012-12-04T21:04:07+00:00

Hi,

Thank you for choosing Windows 8 and thanks for providing us an opportunity to assist you.

As per the description provided I understand that you are unable to perform app update, it would be grateful if you can reply to this question in order to assist you further.

·         Have you made any changes to the computer to this issue?

This problem may occur if the Windows Update database is corrupted. I would suggest you to try the following methods and check if it helps.

Method 1:

I would suggest you to run the Windows update troubleshooter and check if it helps.

a) Press the ‘Windows + W’ key on the keyboard.

b) Type troubleshooter in the search box and then press enter.

c) Select Troubleshooting. Click on view all and select Windows Update and follow the on-screen instructions.

Method 2:

You may disable the Proxy setting and check if it helps:

a. Follow these steps and check if it helps.

a. **** Press Windows Key +R, typeinetcpl.cpl and press enter.

b. **** Click the Connections tab, and then click LAN settings.

c. Uncheck the Use a proxy server for your LAN check box.

d. Click Ok.

Method 3:

  1. Type Notepad on start screen, and press enter.
  2. Copy the following text, and then paste the text into Notepad.

net stop wuauserv

cd %systemroot%\SoftwareDistribution

ren Download Download.old

net start wuauserv

net stop bits

net start bits

net stop cryptsvc

cd %systemroot%\system32

ren catroot2 catroot2old

net start cryptsvc

  1. Click File, click Save As, and then type Repair.bat.
  2. In the Save as type box, click All Files.
  3. In the Save in box, click Desktop, and then click Save.
  4. On the File menu, click Exit.
  5. Double-click the Repair.bat file that you saved in step 5.

Try to install the updates again. If you can install the updates, delete the Repair.bat file. To do this, right-click Repair.bat, click Delete, and then click Yes.

Please follow all the steps and if the issue persists, revert back and we will be glad to help you.

Was this answer helpful?

100+ people found this answer helpful.
0 comments No comments

94 additional answers

Sort by: Newest
  1. Anonymous
    2015-08-17T17:02:46+00:00

    Give this a shot it has always worked for me:

    1. Open an elevated command prompt(as administrator).
    2. In the elevated command prompt, copy and paste the command below, and press Enter.

    Dism.exe /online /Cleanup-Image /StartComponentCleanup

    1. In the elevated command prompt (as administrator)  copy and paste the command below, and press Enter.

    Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

    1. Exit command prompt and do a restart after you have restarted Open elevated command prompt (as administrator).  Dism.exe /online /Cleanup-Image /RestoreHealth administrator

    Micky :)

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2015-08-17T15:24:53+00:00

    Here's further update after running Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase :

    Microsoft Windows [Version 6.3.9600]

    (c) 2013 Microsoft Corporation. All rights reserved.

    C:\Windows\system32>Dism.exe /online /Cleanup-Image /StartComponentCleanup

    Deployment Image Servicing and Management tool

    Version: 6.3.9600.17031

    Image Version: 6.3.9600.17031

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

    Error: 14098

    The component store has been corrupted.

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

    C:\Windows\system32>Dism.exe /online /Cleanup-Image /StartComponentCleanup /Rese

    tBase

    Deployment Image Servicing and Management tool

    Version: 6.3.9600.17031

    Image Version: 6.3.9600.17031

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

    Error: 14098

    The component store has been corrupted.

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

    C:\Windows\system32>

    So what is the next step?  I REALLY don't want to send my computer back to HP nor do a System Refresh and have to reload everything.  Surely there has to be another workaround???

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-08-17T13:22:50+00:00

    This is the error message I'm getting.  Any thoughts on how to correct?  HP is wanting me to send my laptop IN for repair...

    Microsoft Windows [Version 6.3.9600]

    (c) 2013 Microsoft Corporation. All rights reserved.

    C:\Windows\system32>CHKDSK /scan /perf

    The type of the file system is NTFS.

    Volume label is Windows.

    Stage 1: Examining basic file system structure ...

      527360 file records processed.

    File verification completed.

      7688 large file records processed.

      0 bad file records processed.

    Stage 2: Examining file name linkage ...

      670998 index entries processed.

    Index verification completed.

      0 unindexed files scanned.

      0 unindexed files recovered.

    Stage 3: Examining security descriptors ...

    Security descriptor verification completed.

      71820 data files processed.

    CHKDSK is verifying Usn Journal...

      39258800 USN bytes processed.

    Usn Journal verification completed.

    Windows has scanned the file system and found no problems.

    No further action is required.

     952642559 KB total disk space.

     244423772 KB in 372550 files.

        222884 KB in 71821 indexes.

             0 KB in bad sectors.

        666959 KB in use by the system.

         65536 KB occupied by the log file.

     707328944 KB available on disk.

          4096 bytes in each allocation unit.

     238160639 total allocation units on disk.

     176832236 allocation units available on disk.

    C:\Windows\system32>Dism /Online /Cleanup-Image /RestoreHealth

    Deployment Image Servicing and Management tool

    Version: 6.3.9600.17031

    Image Version: 6.3.9600.17031

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

    Error: 0x800f081f

    The source files could not be found.

    Use the "Source" option to specify the location of the files that are required t

    o restore the feature. For more information on specifying a source location, see

     http://go.microsoft.com/fwlink/?LinkId=243077.

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

    C:\Windows\system32>

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2015-06-08T16:13:01+00:00

    After running all of these commands more time (including many times of restarting), the Windows Update started to work correctly.

    From this point of view I do not know which command really helped. I used:

    stopping serviceswuauserv and bitsand cryptsvc

    deleting content of C:\Windows\SoftwareDistribution\Download and DataStore

    deleting content of C:\Windows\System32\catroot2

    starting serviceswuauserv and bitsand cryptsvc

    CHKDSK C: /X /F

    SFC /scannow

    Dism.exe /online /Cleanup-Image /StartComponentCleanup

    Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

    Dism.exe /online /Cleanup-Image /RestoreHealth

    Ignore error and warning messages as these are actually problems of Microsoft and not of your computer (as you can see e.g. here Error running DISM).

    Was this answer helpful?

    0 comments No comments