Windows 10: When running DISM, I get Error 2

Discus and support When running DISM, I get Error 2 in Windows 10 Ask Insider to solve the problem; Title. I tried fixing some BSOD using DISM but were greeted with error instead. Error 2. submitted by /u/CHiA-ZS [link] [comments]... Discussion in 'Windows 10 Ask Insider' started by /u/CHiA-ZS, Apr 25, 2022.

  1. When running DISM, I get Error 2


    Title. I tried fixing some BSOD using DISM but were greeted with error instead. Error 2.

    submitted by /u/CHiA-ZS
    [link] [comments]

    :)
     
    /u/CHiA-ZS, Apr 25, 2022
    #1

  2. DISM - Parameter "Cleanup-Image" is not known (error 87)

    Hello Eric,

    To troubleshoot your concern, we suggest that you run DISM Restore Health command. Refer to the steps provided below:

    • Open Command Prompt (Administrator).
    • Type the following command:
    DISM /Online /Cleanup-Image /RestoreHealth

    3. Press Enter.

    Let us know how it goes.

    Thank you.
     
    Stephanie Sal, Apr 25, 2022
    #2
  3. Error DISM restorehealth


    Hello i just registered after i read all the pages...so opencl.dll is a problem of a windows update? Because i had no issues running sfc/scannow last month When running DISM, I get Error 2 :)
    **UPDATE**
    Thanks it worked perfectly fine and it fixed any corrupted files.This worked perfectly...it was giving me a headache.Step 3 option 2 converted .esd file to .wim...! Thanks again guys.
    step 1 delete current dism and cbs log files
    step 2 run Image_Health.cmd - option 1 = scanhealth
    step 3 run Image health - option 2 = restorehealth
    step 4 run image health - option 3 = restorehealth /source (OPTIONAL because step 3 already fixed the issue)
     
    stefanosgr19, Apr 25, 2022
    #3
  4. Sayjimwoo Win User

    When running DISM, I get Error 2

    Error DISM restorehealth


    Having being frustrated with having the dism error (0x800f081f error) which was unfixable after a clean Windows 10 install time after time, it was great to find this fix which works a treat and and allows "sfc scannow" to complete error free as well as dism.

    I do have a question though, what causes these errors in the first place? I have had the same thing happen twice in the space of 3 weeks and tonight also. Maybe it is something I am doing which I don't realise is causing it. My system is clean and the latest Windows 10 build and my system shows no symptoms of any kind.
    Again running the "Image health cmd" fixes it. Is it a case of don't worry about it and just carry on?

    Thanks in advance.

    Edit.... I updated my Nvidia drivers tonight. Maybe they are the culprit.
     
    Sayjimwoo, Apr 25, 2022
    #4
Thema:

When running DISM, I get Error 2

Loading...
  1. When running DISM, I get Error 2 - Similar Threads - running DISM Error

  2. When I try to run DISM RestoreHealth, it always gets stuck

    in Windows 10 Gaming
    When I try to run DISM RestoreHealth, it always gets stuck: Hi,When I try to run DISM RestoreHealth, it always gets stuck at 62.3%. I have already reinstalled the os recently and checked system files with sfc /scannow and found no issues.And there's another problem.My folders always keep reverting to read-only mode. I tried to remove...
  3. When I try to run DISM RestoreHealth, it always gets stuck

    in Windows 10 Software and Apps
    When I try to run DISM RestoreHealth, it always gets stuck: Hi,When I try to run DISM RestoreHealth, it always gets stuck at 62.3%. I have already reinstalled the os recently and checked system files with sfc /scannow and found no issues.And there's another problem.My folders always keep reverting to read-only mode. I tried to remove...
  4. Trying to repair Windows with DISM, but running into Error Code 2.

    in Windows 10 Gaming
    Trying to repair Windows with DISM, but running into Error Code 2.: Recently, I have had my harddrive begin failing to the point where I could only get to the welcome screen, but not to the desktop, after which I tried to repair it, but it begun failing faster, so I quickly used Linux Mint's GDDRescue to copy everything I could, as I didn't...
  5. Trying to repair Windows with DISM, but running into Error Code 2.

    in Windows 10 Software and Apps
    Trying to repair Windows with DISM, but running into Error Code 2.: Recently, I have had my harddrive begin failing to the point where I could only get to the welcome screen, but not to the desktop, after which I tried to repair it, but it begun failing faster, so I quickly used Linux Mint's GDDRescue to copy everything I could, as I didn't...
  6. Trying to repair Windows with DISM, but running into Error Code 2.

    in Windows 10 Installation and Upgrade
    Trying to repair Windows with DISM, but running into Error Code 2.: Recently, I have had my harddrive begin failing to the point where I could only get to the welcome screen, but not to the desktop, after which I tried to repair it, but it begun failing faster, so I quickly used Linux Mint's GDDRescue to copy everything I could, as I didn't...
  7. When to stop running DISM

    in Windows 10 Gaming
    When to stop running DISM: I have seen two contrary viewpoints regarding DISM. Run SFC first, and only if SFC finds a problem is it necessary to run DISM. Run SFC first, and — no matter what SFC reports — you might as well run DISM after that. Then, if DISM is run, I have also seen advice that it...
  8. When to stop running DISM

    in Windows 10 Software and Apps
    When to stop running DISM: I have seen two contrary viewpoints regarding DISM. Run SFC first, and only if SFC finds a problem is it necessary to run DISM. Run SFC first, and — no matter what SFC reports — you might as well run DISM after that. Then, if DISM is run, I have also seen advice that it...
  9. I get a shutdown is in progress when I run DISM tools or SFC

    in Windows 10 BSOD Crashes and Debugging
    I get a shutdown is in progress when I run DISM tools or SFC: I was trying to fix my system image in windows 10 v1909 and no DISM tool and SFC was not working and I was gettinga shutdown is in progress error 1115 after it when I used shutdown /a command, it said,"no shutdown was in progress error 1116"". How can I fix this issue....
  10. Received an error when trying to run DISM

    in Windows 10 BSOD Crashes and Debugging
    Received an error when trying to run DISM: My laptop had problems after I accidentally turned the power off without the battery. And found about 50+ corrupted system files by doing "sfc /scannow" in safe mode. I'm currently able to boot into the normal Windows but some functions are still not working, I tried to run...