Using the DISM Command Prompt Tool to Repair Windows

  Рет қаралды 27,519

Ask Leo!

Ask Leo!

Күн бұрын

Пікірлер: 63
@askleonotenboom
@askleonotenboom 7 ай бұрын
✅ Watch next ▶ Should I Repair or Replace My Computer? ▶ kzbin.info/www/bejne/j5m0lGeraMatgrs
@tangyglover8068
@tangyglover8068 19 күн бұрын
Commands to make copy and paste easier: sfc /scannow DISM /Online /Cleanup-Image /RestoreHealth DISM /Online /Cleanup-Image /CheackHealth DISM /Online /Cleanup-Image /ScanHealth
@atharva3179
@atharva3179 2 күн бұрын
thanks it helped a lot
@DavidM2002
@DavidM2002 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 ай бұрын
I have them in a word doc on my desktop so I can just copy and paste to the command prompt!😁😁
@JasonWestaway
@JasonWestaway 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 ай бұрын
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 5 ай бұрын
Hey, Leo! Thanks! In this day and age it's great to practice a little self help those old DOS Commands
@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.
@bankersgreed
@bankersgreed 4 ай бұрын
Thank you very much Leo very helpful 💯✌
@drescherjm
@drescherjm 7 ай бұрын
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 ай бұрын
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 ай бұрын
@@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 ай бұрын
@@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 ай бұрын
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 ✌😁
@johnoats2698
@johnoats2698 4 ай бұрын
Thanks it found a problem next step is to try and fix before a reinstall 👏🏿👏🏿😭
@charlieponchard4770
@charlieponchard4770 4 ай бұрын
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/
@JarkkoLaitinen211
@JarkkoLaitinen211 6 ай бұрын
A good and informative video 🙂👍 Thank`s
@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.
@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??
@UltraZelda64
@UltraZelda64 7 ай бұрын
I prefer to use a Debian installation disc image to "repair" Windows. Works quite well in my experience.
@dans2971
@dans2971 4 ай бұрын
😂
@Knards
@Knards 7 ай бұрын
I run restorehealth/SFC every Sunday, whether It's raining or not
@C.c_.
@C.c_. 8 сағат бұрын
Why? What does it do?
@Knards
@Knards 6 сағат бұрын
@@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
@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
@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.
@adwans1491
@adwans1491 2 ай бұрын
Seing a vid with a face in it. Definitely heightens my trust in it
@OffiziereDann
@OffiziereDann Ай бұрын
one time i ran dism command and it completely bricked my computer. not sure why
@C.c_.
@C.c_. 8 сағат бұрын
Nah bro what
@MichaelSmith-vg9nv
@MichaelSmith-vg9nv 5 ай бұрын
Thank you sir🤓🤓🤓🤓🤓🤓
@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 😅
@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.
@AnneXiety
@AnneXiety Ай бұрын
mine was stuck at 62.3% RestoreHealth.. 😢
@liowyew
@liowyew 4 ай бұрын
My method is to reformat and reinstall a new fresh Windows OS. This is the easiest and troublesomeless
@gwine9087
@gwine9087 7 ай бұрын
One comment, it is not necessary to use mixed case in the commands.
@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....! =)
@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 ай бұрын
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!
@wallychambe1587
@wallychambe1587 7 ай бұрын
Seems like I have to use it to fix my computer after every other windows crappy update, it find corrupt files!😱😱
@petersack5074
@petersack5074 7 ай бұрын
GOOD ONE ! JUST WHAT THE commom person, needs TO deal with this ........
@lerssilarsson6414
@lerssilarsson6414 7 ай бұрын
Windows repair tools vs. Rescatux?
@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 2 ай бұрын
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 2 ай бұрын
You'll find copy/pasteable versions of the commands in the article referenced in the video: askleo.com/170432
@patshipp9195
@patshipp9195 7 ай бұрын
💖💖🙏🙏👍👍💖💖
Let's Build a Dockerfile for Your Rails Apps From Scratch
1:06:58
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
8 Most Important System Design Concepts You Should Know
6:05
ByteByteGo
Рет қаралды 10 М.
10 Ways To Make Windows 10 And 11 Faster
19:38
Ask Leo!
Рет қаралды 119 М.
Easily fix broken Windows files now with System File Checker
14:55
CyberCPU Tech
Рет қаралды 842 М.
CMD - Command Prompt Training for IT Professionals (Full Course)
3:18:32
Jobskillshare Skills-Based Platform
Рет қаралды 1,5 МЛН
It Was My Time to Reformat and Reinstall
25:40
Ask Leo!
Рет қаралды 18 М.
7 Amazing CLI Tools You Need To Try
18:10
Josean Martinez
Рет қаралды 407 М.
5 Free Windows tools you NEED!
10:08
Liron Segev
Рет қаралды 216 М.
9 Command Prompt Commands You Should Know!
14:22
ThioJoe
Рет қаралды 1,1 МЛН
NEVER install these programs on your PC... EVER!!!
19:26
JayzTwoCents
Рет қаралды 4,3 МЛН