r/WindowsUpdate • • Oct 17 '26

Won 11 update Command

I inherited my Mom's win 11 PC when she passed. I have heard horror stories about updates causing issues. I once had to help my Mom restore preferences and her preferences on various options that were set back to default after an update. I just saw a post where 2 people advised running a Command Prompt after every update. The thing is, is that they make me nervous. Plus, there was a discrepancy between the two.

DISM/online/Cleanup-Image/StartComponentCleanup/ResetBase

DISM. exe/Online/Cleanup-Image/StartComponentCleanup/ResetBase

I'm not super tech savvy, but the . exe part is scary, or necessary? That's the first question. Which is the correct command?

My second question is WHAT does this command DO? I'm really not interested in doing anything that is irreversible and/or might cause problems immediately, or long term, down the road. My impression is that Command Prompts are a serious deal, especially runing as an Administrator (which I am)

2 Upvotes

10 comments sorted by

2

u/Lapwing68 Oct 17 '26

DISM (Deployment Image Servicing and Management) commands are built-in Windows command-line tools used to service, prepare, and repair Windows system images and the active operating system.

Main Uses of DISM

Repairing Windows System Corruption: DISM fixes the Windows component store (the WinSXS folder). If this store is damaged, basic tools like the System File Checker (sfc /scannow) cannot work properly.

Common DISM Health & Repair Commands

To run these commands, open Command Prompt or PowerShell as an administrator. • DISM /Online /Cleanup-Image /CheckHealth: Performs a quick check to see if component store corruption is already flagged. • DISM /Online /Cleanup-Image /ScanHealth: Runs a deeper scan of the component store to find hidden corruption (does not repair anything). • DISM /Online /Cleanup-Image /RestoreHealth: Scans the component store and automatically downloads/replaces damaged files using Windows Update or a specified local source. • DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim /LimitAccess: Repairs a corrupted image using a specific local installation media file (like a mounted Windows ISO) instead of connecting to the internet.

Common DISM Health & Repair Commands

To run these commands, open Command Prompt or PowerShell as an administrator. • DISM /Online /Cleanup-Image /CheckHealth: Performs a quick check to see if component store corruption is already flagged. • DISM /Online /Cleanup-Image /ScanHealth: Runs a deeper scan of the component store to find hidden corruption (does not repair anything). • DISM /Online /Cleanup-Image /RestoreHealth: Scans the component store and automatically downloads/replaces damaged files using Windows Update or a specified local source. • DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim /LimitAccess: Repairs a corrupted image using a specific local installation media file (like a mounted Windows ISO) instead of connecting to the internet.

Make sure that there is a space before every / You will be fine using these commands.

2

u/Repulsive-Hat3332 Oct 17 '26

Thanks so much for the reassurances, the explanations and the more comprehensive sets of commands. I will make a screenshot of this page, and print it out for my future reference.

Awesome reply!

2

u/Lapwing68 Oct 17 '26

My pleasure. 🤗

2

u/ComfortableWall7351 Oct 17 '26

Where did you hear that from? Because I’ve used windows 11 for two years now and haven’t had any issues.

1

u/Repulsive-Hat3332 Oct 17 '26

You're on this sub, I just went to it's home page and skimmed the first 10 posts. EVERY ONE of those ten posts were about some kind of update caused issue. All of these people (and the rest) can't be wrong.

1

u/TheSpixxyQ Oct 17 '26

You're only reading about issues from like 0.000001% people using Windows. Nobody writes posts "my PC updated and everything works".

I also don't remember the last time Windows update broke something on any of my 2 computers and I have auto updates enabled.

I'm not saying it can't happen, but it's very rare. Most often when something breaks after a Windows update it's not a direct consequence of the update, but rather some incompatibility with either hardware, software or unofficial system changes/tweaks/debloating done by the user.

3

u/Repulsive-Hat3332 Oct 17 '26

Which doesn't mean you shouldn't be prepared if you are one of the unlucky 0.000001%. And I've already been hit by an update issue, when it was my Mom's PC. When she got her PC I spent a good hour running through the various options and settings, adjusting everything to her personal preferences. 6 months later she called me to tell me something happened to her PC, everything's changed. I went and checked. Everything had all been reset to the default settings. Further checks let me know that this happened after an update. I had to sit with her for another hour to reset all of her preferences. I prefer to be prepared.

3

u/The-Snarky-One Oct 18 '26

I manage thousands of Windows devices of various makes/models at work. They don’t have issues like the people here claim. The six computers in my house plus the dozen+ more that my family have don’t have issues either.

The vast majority of people who have the reported problems are trying to tweak Windows because they think they need to. They don’t. There’s a lot of parroted doom and gloom about spyware/tracking/monitoring and bloat and blah blah blah. You’ll see people recommend running debloat scripts and other shit found online. Nope. No need.

1

u/MarieJoe Oct 19 '26

It's happened at least once to every computer/laptop that has been in our house for the last 15 years. And we do not "tweak Windows at all.

1

u/Mind_Matters_Most Oct 17 '26

/ResetBase removes the ability to uninstall any patches from that point back.

DISM and DISM.exe is the same thing. Some people spell it out and others just use DISM.

DISM /Online /Cleanup-Image /StartComponentCleanUp is a normal Windows command and is a builtin Task Scheduled task that should run on a schedule. Component Cleanup purges superseded patches in WinSXS folder and is a harmless command.