If Outlook is crashing, freezing, or showing errors like “Cannot start Microsoft Outlook” or “The file .ost is not an Outlook data file,” the problem is often a corrupted inbox file, and running DISM (Deployment Imaging Service and Management) in Windows can fix the underlying system issues that cause it. DISM repairs Windows system image corruption that can destabilize Outlook, and while it does not directly repair the .pst or .ost file itself, it is the first step in a reliable repair sequence. This guide explains when to use DISM, how to run it correctly, and what to do if the inbox corruption persists.
What Causes Inbox Corruption in Outlook
Inbox corruption usually means the Outlook data files (.pst for POP/IMAP, .ost for Exchange/Office 365) have become damaged. Common causes include:
- Forced shutdowns or power outages while Outlook is writing data
- Disk errors on the drive storing the data file
- Antivirus software scanning or locking the file mid-write
- Windows system file corruption that affects Outlook’s dependencies
- Reaching the 2 GB limit on older .pst formats (pre-Outlook 2003)
- Sync errors with a mail server, especially with large folders
When Windows system files are corrupted, Outlook can fail to load properly even if the data file itself is fine. DISM addresses that root cause, which is why it is recommended before running Outlook’s own repair tool.
How DISM Repairs Windows System Files
DISM is a command-line tool built into Windows 10 and Windows 11. It checks the Windows system image for corruption and repairs it using files from Windows Update or a local source. The command DISM /Online /Cleanup-Image /RestoreHealth scans the component store and replaces damaged system files. This is different from the System File Checker (sfc /scannow), which repairs individual protected system files. DISM fixes the underlying image that SFC relies on, so you should run DISM first, then SFC, for the most thorough repair.
Why does this matter for Outlook? Outlook depends on many Windows components—C++ runtime libraries, .NET Framework, and the Windows Registry. If any of these are corrupted, Outlook may crash or fail to open its data files. DISM restores these dependencies, which can resolve the inbox corruption without touching your emails.
Step-by-Step: Run DISM to Repair Inbox Corruption
- Close Outlook and any other Office apps. Right-click the Outlook icon in the system tray and choose “Exit” to ensure no process is running.
- Open Command Prompt as Administrator. Press the Start button, type
cmd, right-click “Command Prompt,” and select “Run as administrator.” Confirm the UAC prompt. - Run DISM with RestoreHealth. Type the following and press Enter:
DISM /Online /Cleanup-Image /RestoreHealth
This scan can take 15–30 minutes. It will report “The restore operation completed successfully” if fixes were applied, or “No component store corruption detected” if nothing was wrong. - Run System File Checker. After DISM finishes, type
sfc /scannowand press Enter. This verifies and repairs protected system files. It may take another 10–20 minutes. - Restart your computer. A reboot is required for the repairs to take full effect.
- Open Outlook and check if the inbox loads correctly. If the error persists, proceed to the Outlook repair tools below.
If DISM fails to download repair files from Windows Update, you can specify a source using a Windows installation media (USB or ISO). Run the command with /Source pointing to the install.wim file, for example:DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\Sources\install.wim
When to Use Outlook’s Built-In Repair Tools
DISM fixes the system, but if the .pst or .ost file itself is damaged, you need Outlook’s own tools. The built-in repair tool (SCANPST.EXE) works for .pst files, while the newer Inbox Repair Tool in Outlook 2016 and later also handles .ost files. Here’s how to use them:
- SCANPST.EXE for .pst files: Locate it in
C:\Program Files\Microsoft Office\root\Office16\(the folder number may vary). Run it, browse to your .pst file (usually in%LocalAppData%\Microsoft\Outlook), and click “Start.” It will scan and offer to repair errors. Back up the file first. - Inbox Repair Tool for .ost files: In Outlook, go to File > Account Settings > Account Settings, select your email account, click “Repair,” and follow the prompts. This re-syncs the .ost from the server, which can clear corruption.
- Create a new profile: If repair tools fail, go to Control Panel > Mail > Show Profiles, create a new profile, and add your email account. This rebuilds the .ost from scratch.
Common Mistakes When Running DISM for Outlook
Several errors can derail the repair process. Avoid these pitfalls:
- Running without administrator privileges: DISM will fail with error 740 or “Access denied.” Always use an elevated Command Prompt.
- Skipping the SFC step: DISM repairs the image, but SFC fixes the actual system files. Running both is essential for a complete repair.
- Not closing Outlook: If Outlook is running, its data file is locked, and DISM may not be able to repair related components. Close it completely.
- Using the wrong DISM syntax: The command is case-insensitive but must be typed exactly. A typo like “/Cleanup-Image” instead of “/Cleanup-Image” will cause an error.
- Interrupting the scan: Let DISM run to completion. Canceling it mid-scan can leave the system in an inconsistent state.
Alternatives to DISM for Inbox Corruption
If DISM and SFC do not resolve the issue, consider these alternatives:
- Windows Disk Check: Run
chkdsk /fon the drive containing the Outlook data file to fix bad sectors and file system errors. This requires a restart. - Reinstall Microsoft 365 or Office: A repair install (via Settings > Apps > Microsoft 365 > Modify > Online Repair) can replace corrupted Office files without removing your data.
- Use a third-party PST repair tool: If SCANPST fails, specialized tools can recover emails from severely damaged files. Only use reputable software and always work on a copy.
- Export and re-import: If the file is readable but Outlook is unstable, export the mailbox to a new .pst via File > Open & Export > Import/Export, then create a new profile.
Safety and Precautions
Before running any repair, back up your Outlook data file. Copy the .pst or .ost file to an external drive or cloud storage. DISM itself is safe and does not delete personal files, but the Outlook repair tools can modify data files. Always work on a copy if possible. Also, ensure your Windows is fully updated before running DISM, as the tool relies on update files. If you are unsure about any step, consult a qualified IT professional—especially if you are on a work computer with managed policies.
Frequently Asked Questions
Can DISM fix a corrupted .pst file directly?
No. DISM repairs Windows system files, not Outlook data files. It can fix the system-level issues that prevent Outlook from opening, but a damaged .pst requires SCANPST.EXE or a third-party tool.
How long does DISM take to run?
Typically 15–30 minutes, but it can take longer on older systems or if it needs to download repair files. Let it run uninterrupted.
What if DISM says “The source files could not be found”?
This means Windows Update is unavailable or blocked. Use a local source by specifying the /Source parameter with a Windows installation media.
Will DISM delete my emails?
No. DISM does not touch personal files. Your emails, contacts, and calendar data remain intact.
Should I run DISM or SFC first?
Run DISM first, then SFC. DISM repairs the system image that SFC relies on, so SFC can then work effectively.
Is there a way to prevent inbox corruption in the future?
Keep Windows and Office updated, avoid force-quitting Outlook, use the 64-bit version of Office for large mailboxes, and regularly compact your .pst file via File > Account Settings > Data Files > Settings > Compact Now.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Gmail Gemini Privacy: Data Access & Limit Settings
- How to Set Up Apple Pay on iPhone
- How to Choose a Refurbished iPhone With Years of Support
- Voice Dictation in Google Docs: How to Use It
- Turn Off Message Notifications on Mac
- Spotting Outside Windows: Step-by-Step Guide