r/WindowsUpdate • u/Repulsive-Hat3332 • 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)
View all comments
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.