Using the DISM Command Prompt Tool to Repair Windows

Sdílet
Vložit
  • čas přidán 11. 06. 2024
  • ⚛️ DISM is a tool included with Windows that can repair some types of Windows corruption.
    ⚛️ The DISM Command Prompt tool
    DISM is a tool for Windows repair that lies between the System File Checker (SFC) and a full Windows reinstall in power. It is run in an administrative Command Prompt in three steps:
    - DISM /Online /Cleanup-Image /CheckHealth
    - DISM /Online /Cleanup-Image /ScanHealth
    - DISM /Online /Cleanup-Image /RestoreHealth
    Running DISM is safe even on healthy systems and can stabilize Windows if problems are detected.
    Updates, related links, and more discussion: askleo.com/170432
    🔔 Subscribe to the Ask Leo! CZcams channel for more tech videos & answers: go.askleo.com/ytsub
    ✅ Watch next ▶ Should I Repair or Replace My Computer? ▶ • Should I Repair or Rep...
    Chapters
    0:00 DISM Command Prompt
    1:30 See how DSIM works
    2:10 Checkhealth
    3:00 Scanhealth
    4:20 Restorehealth
    ❤️ My best articles: go.askleo.com/best
    ❤️ My Most Important Article: go.askleo.com/number1
    More Ask Leo!
    ☑️ askleo.com to get your questions answered
    ☑️ newsletter.askleo.com to subscribe to the Confident Computing newsletter.
    ☑️ askleo.com/patron to help support Ask Leo!
    ☑️ askleo.com/all-the-different-... for even more!
    #askleo #DISM #repair
  • Věda a technologie

Komentáře • 38

  • @askleonotenboom
    @askleonotenboom  Před 24 dny

    ✅ Watch next ▶ Should I Repair or Replace My Computer? ▶ czcams.com/video/YhQc4u3azLY/video.html

  • @JasonWestaway
    @JasonWestaway Před 25 dny +3

    Great video!
    What I would suggest is after RestoreHeath, just one more scan I'd recommend doing the "SFC /scannow"
    (How I was taught the SFC /scannow after the DISM scans)
    Just to be sure everything is done well.
    Till next time!

  • @DavidM2002
    @DavidM2002 Před 26 dny +4

    What comes to mind after watching this is to go back and re-learn how to write batch files like we did with DOS and put them on the desktop to be run regularly. Thanks once again Leo.

    • @aaronbeaty3980
      @aaronbeaty3980 Před 26 dny

      Moreover, in work-group (non-domain) mode, make a .CMD that does it, minimized, and attach it to task scheduler.

    • @wallychambe1587
      @wallychambe1587 Před 20 dny

      I have them in a word doc on my desktop so I can just copy and paste to the command prompt!😁😁

  • @allis0
    @allis0 Před 25 dny +1

    The quickest and surest (although still not bound to work) way to fix corruption is to first run:
    dism /online /cleanup-image /restorehealth
    Then run:
    sfc /scannow
    Often if you run sfc first it cannot repair files but is almost bound to if you successfully run the aforementioned dism command.
    Thanks for great, very well explained content Leo.

  • @JarkkoLaitinen211
    @JarkkoLaitinen211 Před 3 dny

    A good and informative video 🙂👍 Thank`s

  • @robertkushner156
    @robertkushner156 Před 26 dny

    Hi Leo!! Will this procedure work with Windows 10 ENTERPRISE? Or, does it not matter what version of Windows 10 you are using? The commands are the same??

  • @UltraZelda64
    @UltraZelda64 Před 26 dny

    I prefer to use a Debian installation disc image to "repair" Windows. Works quite well in my experience.

  • @Knards
    @Knards Před 26 dny +1

    I run restorehealth/SFC every Sunday, whether It's raining or not

  • @alanmonaghan9194
    @alanmonaghan9194 Před 26 dny

    Hi Leo
    When I have any serious issues with my Windows 10 setup I normally try the following.
    SFC /SCANNOW
    DISM (as per this video)
    Then if still not working correctly.
    System Restore
    Last resort option
    Inline Reinstall of Windows 10
    The last one has helped me out of a whole lot of problems in the past. Any chance of doing a video on this option, as I think it could be really useful for some of your viewers? The advantage of this is you don't lose any files or installed applications.
    I'm aware there are caveats, mainly Windows needs to be able to be launched in order to do this option, and a copy of Media Creation Tool will be required.
    I make a point of creating an image file using this tool after every major Windows update just in case.

  • @glasslinger
    @glasslinger Před 26 dny

    Seems sort of extra. If I suspect any problem I immediately get my backup disk and do a clone restore. Takes about 10 minutes but the whole system is back to clean.

  • @drescherjm
    @drescherjm Před 26 dny +4

    How often do you find that DISM or SFC actually fixes the problem? As a person in IT responsible for dozens of machines at work and otherwise my success rate with either of these have been very very low.

    • @Knards
      @Knards Před 26 dny +2

      Works for me every time. Always run restore health first, then SFC

    • @griffinchandler8027
      @griffinchandler8027 Před 26 dny

      I haven’t had to use dism on any computers in my career yet. I’d say that sfc works for me about 1/10 times or so

    • @Knards
      @Knards Před 26 dny +1

      @@griffinchandler8027 SFC depends on DISM. If DISM isnt not up to date, SFC doesnt have the files to repair corrupted ones. Run dism restore health, then run SFC

    • @griffinchandler8027
      @griffinchandler8027 Před 26 dny +1

      @@Knards I’m aware of how it works. I was saying that the onlt results I get are that it didn’t find any issues (9/10 times) or that it found issues and wasn’t able to fix them (the other 1/10 times). I have had my dism notes standing by for the day that I get a laptop that says an sfc didn’t work lol

    • @tzgaming207
      @tzgaming207 Před 25 dny +1

      It's a standard troubleshooting step for me (IT support 30+ yrs). Got a Windows load behaving wonky? DISM, SFC, CHKDSK, then if still having problems, bios, firmwares, drivers. You'd be amazed how much some TLC will resolve. Does it fix everything? No, of course not, but it fixes more than enough frequently enough that to me, if I'm not doing these steps, I'm not doing my job right. Always kills me when young guys jump right to reimaging, they can't tech their way out of a paper bag. I'm guessing your perceived success/fail rate is limited by your low number of machnes; your sample size is too small ✌😁

  • @tzgaming207
    @tzgaming207 Před 25 dny

    Hi Leo, got any suggestions for when Windows Update service goes belly up? Typical scenario I encounter is individual KBs install fine, but at some point Windows will just keep failing on any Cumulative update. Eventually it will become so far behind everything just stars falling apart. I've tried numerous variations of rebuilding Windows update services, & using Windows install media to attempt a repair has never been useful for me in environments where encryption is in play; just never succeeds. I hate having to reimage machines that shouldn't need it, feels like concession of failure 😅

  • @gwine9087
    @gwine9087 Před 25 dny

    One comment, it is not necessary to use mixed case in the commands.

  • @Ozzcaddy
    @Ozzcaddy Před 24 dny

    Hi Leo, enjoy your videos as they are informative and easy to understand and follow. I'm asking if what you explained in this video would resolve a Windows Update problem I am having with the recent Windows Cumulative update May 14, 2024 WIndows 10 Version 22H2 for x64based system -KB5037768, in which I receive the following error message after 100% install - Failed to install on ‎19/‎05/‎2024 - 0x800f0905.
    I have Windows 10 Home. I have used Troubleshooter for WIndows Update which did not resolve the problem. It is now the 5th time it has failed to install since May 15, 3 times it has run automatically (Auto Windows Update turned off) and I have run it manually twice. As it is an automatic update it will continually try and update without my prompting. Any guidance would be appreciated.

    • @askleonotenboom
      @askleonotenboom  Před 23 dny

      I'd start you here: askleo.com/fix-windows-update/

    • @Ozzcaddy
      @Ozzcaddy Před 11 dny

      @@askleonotenboom
      Hi Leo, thanks for the link to your Windows Update video. After trying Update Troubleshooter again first without success, I then went to your Window Update video and commenced in order. Microsoft’s “If all else fails” after entering and running the 3 command prompts, rebooting the computer, the windows error update still occurred.
      I then went to the next step Finally: fix Windows Update manually - I had no issue running the first 2 commands, but when I ran net stop cryptsvc it could not run, but returned that software I have install Acronis Image 2021 was accessing cryptsvc. I was unable to stop all Acronis Image 2021 files from accessing cryptsvc. So, I was unable to proceed further.
      I decided to reinstall Windows 10 using Windows 10 Media Creation Tool 22H2 on a USB drive and using the option of reinstalling Windows 10 whilst Windows 10 was running, keeping my Apps, Data and Files. I opened File Explorer and ran the setup file within the Media Creation Tool. The reinstallation of Windows 10 was successful, and all my Apps, Data, Files and Settings remained unchanged. Windows update now works as normal.
      Thank you again for your assistance.

  • @petersack5074
    @petersack5074 Před 26 dny

    GOOD ONE ! JUST WHAT THE commom person, needs TO deal with this ........

  • @wallychambe1587
    @wallychambe1587 Před 20 dny

    Seems like I have to use it to fix my computer after every other windows crappy update, it find corrupt files!😱😱

  • @lerssilarsson6414
    @lerssilarsson6414 Před 26 dny

    Windows repair tools vs. Rescatux?

  • @patshipp9195
    @patshipp9195 Před 25 dny

    💖💖🙏🙏👍👍💖💖

  • @jtc1947
    @jtc1947 Před 2 dny

    Definitely NOT into WIN 11 ! having to use WIN 10 because my old and BE-LOVE-ED WIN 7 machine started going down the hatch! Can PLEASE do a vid on WIN 10 and DISM??? If you have already done so, pls show link?? Thank You!

    • @askleonotenboom
      @askleonotenboom  Před dnem +1

      It's basically this video. The steps are the same.

    • @jtc1947
      @jtc1947 Před dnem

      @@askleonotenboom I will have to go back and look. Thank You VERYMUCH!