Using the DISM Command Prompt Tool to Repair Windows

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ • 65

  • @askleonotenboom
    @askleonotenboom  7 місяців тому +2

    ✅ Watch next ▶ Should I Repair or Replace My Computer? ▶ ua-cam.com/video/YhQc4u3azLY/v-deo.html

  • @tangyglover8068
    @tangyglover8068 26 днів тому +6

    Commands to make copy and paste easier:
    sfc /scannow
    DISM /Online /Cleanup-Image /RestoreHealth
    DISM /Online /Cleanup-Image /CheackHealth

    DISM /Online /Cleanup-Image /ScanHealth

  • @DavidM2002
    @DavidM2002 7 місяців тому +7

    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 7 місяців тому

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

    • @wallychambe1587
      @wallychambe1587 7 місяців тому +1

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

  • @JasonWestaway
    @JasonWestaway 7 місяців тому +7

    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!

  • @allis0
    @allis0 7 місяців тому +9

    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.

  • @donatkinson1647
    @donatkinson1647 6 місяців тому

    Hey, Leo! Thanks! In this day and age it's great to practice a little self help those old DOS Commands

  • @arrowsman
    @arrowsman 5 днів тому

    For ...CheckHealth and ...ScanHealth I get the report that 'The component Store is Repairable. But for ...RestoreHealth I get 'RestoreHealth is not available on this PC. Any solution to this - or is it just Refresh Windows job?

  • @charlieponchard4770
    @charlieponchard4770 4 місяці тому +1

    Leo. I have a problem with a win 11 computer. DISM seems to be broken. How can I replace this with a fresh (newer) version of DISM?

    • @askleonotenboom
      @askleonotenboom  4 місяці тому

      Start with SFC: askleo.com/sfc-system-file-checker/

  • @drescherjm
    @drescherjm 7 місяців тому +5

    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 7 місяців тому +3

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

    • @griffinchandler8027
      @griffinchandler8027 7 місяців тому

      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 7 місяців тому +2

      @@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 7 місяців тому +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 7 місяців тому +2

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

  • @bankersgreed
    @bankersgreed 4 місяці тому

    Thank you very much Leo very helpful 💯✌

  • @robertkushner156
    @robertkushner156 7 місяців тому

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

  • @johnoats2698
    @johnoats2698 4 місяці тому +1

    Thanks it found a problem next step is to try and fix before a reinstall 👏🏿👏🏿😭

  • @tzgaming207
    @tzgaming207 7 місяців тому

    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 😅

  • @Pitrek22
    @Pitrek22 4 місяці тому

    Hi Leo, can you tell me if its good if i Type comannd like this DISM /Online /cleanup-image /Checkhealth did i Type it good ???

    • @JohnKuhles1966
      @JohnKuhles1966 3 місяці тому

      DISM /Online /Cleanup-Image /CheckHealth
      DISM /Online /Cleanup-Image /ScanHealth
      DISM /Online /Cleanup-Image /RestoreHealth

  • @alanmonaghan9194
    @alanmonaghan9194 7 місяців тому

    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.

  • @JarkkoLaitinen211
    @JarkkoLaitinen211 6 місяців тому

    A good and informative video 🙂👍 Thank`s

  • @Knards
    @Knards 7 місяців тому +3

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

    • @C.c_.
      @C.c_. 7 днів тому

      Why? What does it do?

    • @Knards
      @Knards 7 днів тому

      @@C.c_. restore health restores the system files that would be used in fixing or recovering the system. SFC checks for corrupt or missing system files and uses the system image to fix the file system

  • @OffiziereDann
    @OffiziereDann Місяць тому

    one time i ran dism command and it completely bricked my computer. not sure why

    • @C.c_.
      @C.c_. 7 днів тому

      Nah bro what

  • @glasslinger
    @glasslinger 7 місяців тому

    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.

  • @AnneXiety
    @AnneXiety Місяць тому

    mine was stuck at 62.3% RestoreHealth.. 😢

  • @adwans1491
    @adwans1491 3 місяці тому

    Seing a vid with a face in it. Definitely heightens my trust in it

  • @WireSniffer
    @WireSniffer Місяць тому

    **Generally, it's recommended to run the DISM command before the SFC command.**
    Here's why:
    1. **DISM Prepares the System Image:**
    - DISM scans and repairs the Windows System Image, which is a repository of system files.
    - By fixing any corruption in the system image, DISM creates a healthier environment for SFC to operate.
    2. **SFC Repairs Corrupted System Files:**
    - SFC scans and repairs corrupted system files within the Windows System Image.
    - A repaired system image, thanks to DISM, can provide a smoother operation for SFC.
    **So, the ideal sequence is:**
    1. **Run DISM:**
    ```bash
    DISM /Online /Cleanup-Image /RestoreHealth
    ```
    2. **Run SFC:**
    ```bash
    SFC /SCANNOW
    ```
    **Note:**
    * Both commands might take some time to complete.
    * If the DISM command fails to repair the system image, you might need to use a Windows installation media to perform a system repair.
    * Always run these commands with administrative privileges.
    By following this sequence, you increase the chances of successfully identifying and repairing any system file corruption.

  • @UltraZelda64
    @UltraZelda64 7 місяців тому

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

  • @gwine9087
    @gwine9087 7 місяців тому

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

  • @Ozzcaddy
    @Ozzcaddy 7 місяців тому

    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  7 місяців тому

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

    • @Ozzcaddy
      @Ozzcaddy 6 місяців тому

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

  • @MichaelSmith-vg9nv
    @MichaelSmith-vg9nv 5 місяців тому

    Thank you sir🤓🤓🤓🤓🤓🤓

  • @liowyew
    @liowyew 4 місяці тому

    My method is to reformat and reinstall a new fresh Windows OS. This is the easiest and troublesomeless

  • @jalpa9642
    @jalpa9642 5 місяців тому

    Back in the late 70's early 80's my venture w/windows began w/Windows 3.11 For Workgroups. From then until now w/windows 10 it has been nothing but 1 constant hassle.... which is why I gave it up 10 years ago and went w/Linux-Debian. Linux says one can run windows apps on Linux Wine, Play on Linux, and a couple others..... I do not find that true at all.... So, at times, I still run Windows 7 64-bit....! =)

  • @wallychambe1587
    @wallychambe1587 7 місяців тому

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

  • @lerssilarsson6414
    @lerssilarsson6414 7 місяців тому

    Windows repair tools vs. Rescatux?

  • @petersack5074
    @petersack5074 7 місяців тому

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

  • @jtc1947
    @jtc1947 6 місяців тому

    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  6 місяців тому +1

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

    • @jtc1947
      @jtc1947 6 місяців тому

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

  • @ghostshadow1794
    @ghostshadow1794 2 місяці тому

    or just hear me out use medicat after you used DISM commands after medicat do sfc and DISM commands again

  • @Cerbyo
    @Cerbyo 3 місяці тому

    just give us the 2-3 cmds to run in the order to run them. this so frustrating when it can be very painless and easy. in this video u give us 3 cmds when we only need the 1, then u hint at the next cmd FOR SFC but u dont give us IT...and u hint at equivalent but not rly chkdsk. this CAN ALL BE SOLVED BY GIVING THE 2-3 CMDS upfront THEN explaining the variants.
    and a txt outline would be good since most of us r debugging without sound available

    • @askleonotenboom
      @askleonotenboom  3 місяці тому

      You'll find copy/pasteable versions of the commands in the article referenced in the video: askleo.com/170432

  • @patshipp9195
    @patshipp9195 7 місяців тому

    💖💖🙏🙏👍👍💖💖