Error 30015-4: Why It Happens and How to Install Office
Error 30015-4 blocks your Office install. Repair system files, check the disk, reset Windows Update, and get installed.
Founder & Lead Technician

Quick answer
To fix Office Error 30015-4, run sfc /scannow in an admin Command Prompt to repair system files, scan your drive with chkdsk C: /f /r, fully remove old Office using the Support and Recovery Assistant, then reset Windows Update components before reinstalling.
Error 30015-4 (often shown with the code -1073740791) stops Microsoft Office from installing, and the root cause is usually deeper than a bad download — it points to corrupted system files, registry leftovers from an old Office version, or a broken Windows Update component. The reliable fix sequence is: run sfc /scannow, check your drive for errors, fully strip old Office with Microsoft's Recovery Assistant, then reset Windows Update if needed.
Unlike simpler installer errors, 30015-4 frequently signals that something in Windows itself is unhealthy. That's why a plain reinstall often fails — you have to repair the foundation first.
What triggers Error 30015-4
- Antivirus interference — security software blocks the installer's access to system locations.
- Registry corruption — missing or cluttered registry entries confuse the installer.
- Incomplete previous uninstall — leftover files from an older Office version collide with the new one.
- Corrupted installation files — a damaged download source.
- System file corruption — deeper OS-level damage, the most common cause for this specific code.
Fix 1: Repair corrupted system files
Start here, because this addresses the most likely cause.
- Open Command Prompt as administrator.
- Run
sfc /scannowand let it finish without interrupting it. - Restart the PC and retry the Office install.
If SFC reports unfixable corruption, escalate to a Windows repair install using the Media Creation Tool, which refreshes system files while keeping your apps and data.
If sfc says it "could not fix some files," run DISM /Online /Cleanup-Image /RestoreHealth first, then run sfc again. DISM repairs the component store that SFC pulls its replacement files from.Fix 2: Check the hard drive for errors
Bad sectors or a corrupted file system will sabotage any install. Two ways to scan:
- Error checking (GUI): Open File Explorer, right-click the
C:drive, choose Properties > Tools > Check. Enable automatic fixing of file system errors and recovery of bad sectors. - Check Disk (command): In an admin Command Prompt, run
chkdsk C: /f /r, confirm withY, and restart. The scan runs before Windows loads.
Fix 3: Cleanly uninstall and reinstall Office
Leftover files are a top cause of 30015-4, so a normal uninstall isn't enough.
- Download the Microsoft Office Support and Recovery Assistant.
- Run it and follow the prompts to fully remove the current version (about 10-15 minutes).
- Sign into your Microsoft 365 account.
- Choose your Office edition and click Install Now, then complete the prompts.
Fix 4: Reset Windows Update components
Office installs often piggyback on Windows Update services. If those are broken, the install breaks too.
Quick route: Settings > Update & Security > Troubleshoot > Windows Update > Run the troubleshooter.
Manual route (admin Command Prompt):
net stop wuauservnet stop cryptsvcnet stop bitsnet stop msiserverren C:\Windows\SoftwareDistribution SoftwareDistribution.old- Restart each service with the matching
net startcommand. - Retry the Office install.
Which fix to try first
| Clue | Likely cause | Start with |
|---|---|---|
| Other apps also crash or glitch | System file corruption | sfc /scannow + DISM |
| Disk feels slow, files vanish | Drive errors | chkdsk C: /f /r |
| You had Office before | Incomplete uninstall | Recovery Assistant |
| Windows Update also fails | Broken update services | Reset update components |
Fix 5: Clear the registry leftovers
Registry corruption is one of the listed causes, and leftover keys from an old Office version frequently block a fresh install. You don't need to hand-edit the registry — that's risky — but you can clean it safely:
- Run the Support and Recovery Assistant's full uninstall, which strips most Office registry entries automatically.
- If keys remain, use Microsoft's documented manual removal steps for your Office version rather than a third-party "registry cleaner," which can do more harm than good.
- Always create a System Restore point before touching the registry, so you can roll back if anything goes wrong.
Warning: avoid generic registry-cleaner tools for this. They tend to delete entries Windows still needs and can turn a fixable Office error into a much bigger problem. Stick to Microsoft's own removal tools.
Understanding the -1073740791 stop code
The number trailing this error, -1073740791, is more than noise. In hex it's 0xC0000409, a Windows status code for a stack buffer overrun — in plain terms, a process crashed because it hit corrupted or unexpected data. For an Office install, that almost always means the installer touched a damaged system file or a broken component mid-process.
That single detail explains why surface-level fixes fail. You're not dealing with a bad download; you're dealing with a process that crashes when it reaches something rotten in Windows itself. It's also why the repair-the-OS-first approach works so reliably here: fix the underlying corruption and the installer stops crashing.
A diagnostic order that saves time
Run the checks in the sequence below rather than randomly. Each one is quick and rules out a layer:
- DISM + sfc — repairs the component store and system files. This addresses the most common cause and should always come first.
- chkdsk — rules out physical drive errors that corrupt files faster than software can fix them.
- Clean Office removal — eliminates leftover-file conflicts with the Support and Recovery Assistant.
- Windows Update reset — clears broken update services the Office installer depends on.
Pro tip: if chkdsk reports a growing number of bad sectors across runs, stop installing Office and back up your data. A failing drive is a far bigger problem than an install error, and 30015-4 can be the first warning sign.
Common mistakes that prolong this error
- Reinstalling before repairing Windows. Because 30015-4 is usually a system-file or drive problem, jumping straight to reinstall wastes time. Run sfc and chkdsk first.
- Interrupting chkdsk or sfc. Both can take a while and look frozen. Let them complete — a half-finished repair is worse than none.
- Forgetting antivirus. Security software is a listed cause. Temporarily disable it during the install, then re-enable it immediately after.
- Skipping the restart. chkdsk runs at boot, and several fixes only take effect after a reboot. Don't retry the install until you've restarted.
Using a Windows repair install as a clean reset
When sfc, DISM, and chkdsk all report problems they can't fully fix, an in-place repair install rebuilds Windows without touching your apps, files, or settings. It's the strongest fix short of a full reinstall, and it almost always clears 30015-4 caused by deep system corruption.
- Download the Media Creation Tool from Microsoft and create installation media, or mount a Windows ISO.
- Run
setup.exefrom within your running Windows, not by booting from the media. - Choose to keep personal files and apps when prompted.
- Let it reinstall Windows over itself — this replaces every corrupted system file with a clean copy.
- Once it finishes, retry the Office install; the underlying corruption is now gone.
An in-place repair install is dramatically safer than people assume. Done from inside Windows with the keep-everything option, it refreshes the OS while leaving your desktop exactly as you left it. It's the go-to move when corruption keeps coming back.
Why this matters: if you've repaired files twice and the error returns, you're treating symptoms. A repair install fixes the foundation in one pass and saves you from the endless loop of partial fixes.
How to prevent it next time
The single best preventive habit is keeping Windows healthy. Run sfc /scannow occasionally as a checkup, keep your storage drivers current, and shut down cleanly rather than forcing power-offs that corrupt the file system. When you do install Office, use the Support and Recovery Assistant to remove any previous version fully first — that one step eliminates the leftover-files cause that's behind a large share of 30015-4 reports.
Why this matters: 30015-4 is one of the few Office errors that's really a Windows health problem in disguise. Repair the OS layer first and the install usually succeeds on the next try.
Frequently asked questions
What does the code -1073740791 mean in Error 30015-4?+
It's the secondary code Office attaches to Error 30015-4 and generally indicates a system-level failure, most often corrupted system files or a broken Windows component, rather than a simple bad download. That's why repairing Windows with sfc and DISM usually resolves it before any reinstall.
Is it safe to delete the SoftwareDistribution folder?+
Yes, when you stop the Windows Update services first. Renaming or deleting SoftwareDistribution forces Windows to rebuild its update cache cleanly. Your files and apps are untouched. Always stop wuauserv, cryptsvc, bits, and msiserver before renaming the folder, then restart those services.
Why does reinstalling Office not fix Error 30015-4 on its own?+
Because the error often stems from corrupted system files, drive errors, or leftover registry entries from a previous Office version, not the Office download itself. A plain reinstall doesn't touch those. Repair the underlying Windows issues first with sfc, chkdsk, and a clean removal, then reinstall.
Founder & Lead Technician
Harjindar founded Ask Technicians to cut through bad tech advice. He writes hands-on troubleshooting guides drawn from years of real-world repair and support work.
Related guides

How to Fix Microsoft Office Error 30145-13
Error 30145-13 stalls your Office install. Here's how to clear disk space, kill the blockers, and finish the install clean.

Fix the "Something Went Wrong" Error in Microsoft Office
Office won't open and throws "Something went wrong"? Here's the exact order to fix it, fastest path first.

How to Fix the DNS_PROBE_STARTED Error in Google Chrome
Stuck on DNS_PROBE_STARTED in Chrome? Flush the DNS cache, swap to a public resolver, and you're usually back online in two minutes.

Video Playback Error 224003: How to Fix It Fast
Videos failing with error 224003? Clear the cache, kill the extensions, and update codecs to get playback back.
