Deployment Image Servicing and Management
The DISM (Deployment Image Servicing and Management) command is a powerful tool for servicing Windows images. It can be used to repair system files, manage Windows features, service drivers, and prepare Windows images for deployment.
Think of DISM as a system doctor that can diagnose and fix Windows image problems. It goes deeper than SFC (System File Checker) and can repair the component store that SFC relies on. It's essential for system administrators managing Windows deployments and troubleshooting corrupted systems.
Advertisement
[ Insert Google AdSense Banner Code Here ]
Fix Windows component store corruption that prevents SFC from working.
Enable or disable Windows features like .NET Framework, Hyper-V, IIS.
View, add, or remove third-party drivers from Windows images.
Prepare and manage Windows images for enterprise deployment.
DISM /Online /Cleanup-Image /CheckHealth Quickly check if the image has been flagged as corrupted (no repair).
DISM /Online /Cleanup-Image /ScanHealth Scan the image for component store corruption (takes longer).
DISM /Online /Cleanup-Image /RestoreHealth Scan and repair the image by downloading files from Windows Update.
DISM /Online /Get-Features List all Windows features and their current state (enabled/disabled).
DISM /Online /Enable-Feature /FeatureName:NetFx3 Enable .NET Framework 3.5 (or any other Windows feature).
DISM /Online /Get-Drivers Display information about all third-party drivers installed on the system.
When troubleshooting system corruption, always run DISM before SFC:
1. DISM /Online /Cleanup-Image /RestoreHealth 2. sfc /scannow DISM fixes the component store that SFC uses as a reference. If DISM reports corruption it can't fix, you may need to use an install.wim file as a repair source.
Practice DISM commands in the interactive terminal below: