When you run the Microsoft Office Repair tool to fix a broken Word installation, you may see a message stating a source file is required even though Word is already installed on your local drive. This error occurs because the repair process cannot locate the original installation source files, which are needed to replace damaged or missing components. The cause is often a missing Office installation cache, a corrupted Windows Installer configuration, or the use of a Click-to-Run deployment that lacks a local source. This article explains why the repair tool fails, provides step-by-step fixes to resolve the error, and covers related issues you may encounter.
Key Takeaways: Fixing the Source File Required Error During Office Repair
- Control Panel > Programs and Features > Microsoft Office > Change > Quick Repair or Online Repair: Use the built-in repair option that downloads missing source files from Microsoft servers.
- Windows Installer cache cleanup via msiexec /unregister and msiexec /regserver: Resets the Windows Installer service so it can locate the correct source path.
- Office Deployment Tool with the correct configuration.xml: Forces a fresh download and installation of Office, bypassing the broken cache entirely.
Why the Repair Tool Cannot Find the Source Files
Microsoft Office installations fall into two main types: Microsoft Installer based and Click-to-Run based. Each handles source files differently.
MSI Based Installations
In an MSI based installation, the setup program copies the source files to a local cache folder on the C drive during the initial install. This cache is stored under C:\MSOCache or a similar hidden folder. When you run the repair tool, it looks for these cached files to replace damaged components. If the cache folder is missing or has been deleted, the repair tool cannot proceed and displays the source file required error.
Click-to-Run Installations
Click-to-Run installations stream Office files from Microsoft servers and do not maintain a full local source cache by default. When you run a Quick Repair, the tool attempts to verify and replace files using the streaming cache. If that cache is corrupted or incomplete, the repair tool falls back to requesting the original source files. If the Office Deployment Tool was used with a configuration that suppressed local caching, the repair will fail.
Windows Installer Registry Corruption
The Windows Installer service maintains a registry database of installed products and their source paths. If this database becomes corrupted due to a failed update, a disk cleanup utility, or a manual registry edit, the repair tool cannot resolve the source path and returns the error. Re-registering the Windows Installer service often resolves this.
Steps to Resolve the Source File Required Error
The following methods are ordered from least disruptive to most thorough. Start with Method 1 and proceed only if the error persists.
Method 1: Run an Online Repair From Control Panel
- Open Programs and Features
Press Windows key + R, type appwiz.cpl, and press Enter. This opens the Programs and Features window. - Locate your Office installation
Scroll the list and find Microsoft 365 Apps, Microsoft Office Professional Plus, or your specific Office suite. Select it with a single click. - Click Change
In the toolbar above the list, click the Change button. A setup dialog appears. - Select Online Repair
Choose the Online Repair option. If only Quick Repair is offered, select it first. If Quick Repair fails, return and select Online Repair. Online Repair downloads fresh source files from Microsoft servers. - Click Repair and wait
Click Repair and allow the process to complete. This may take 30 minutes or longer depending on your internet speed. Restart your computer after completion.
Method 2: Reset the Windows Installer Service
- Open an elevated Command Prompt
Press Windows key, type cmd, right-click Command Prompt in the results, and select Run as administrator. Click Yes in the User Account Control prompt. - Unregister the Windows Installer service
Type msiexec /unregister and press Enter. No confirmation message appears. - Re-register the Windows Installer service
Type msiexec /regserver and press Enter. Again, no confirmation appears. - Restart your computer
Close the Command Prompt and restart your PC. After restart, try the repair again from Control Panel.
Method 3: Use the Office Deployment Tool to Force a Fresh Install
- Download the Office Deployment Tool
Go to the Microsoft Office Deployment Tool page and download the executable. Run it to extract the files to a folder such as C:\ODT. - Create a configuration.xml file
Open Notepad and paste the following configuration for Microsoft 365 Apps. Adjust the Product ID and Channel to match your license.<Configuration>
<Add OfficeClientEdition="64" Channel="MonthlyEnterprise">
<Product ID="O365ProPlusRetail">
<Language ID="en-us" />
</Product>
</Add>
</Configuration> - Save the file as configuration.xml
Save the file in the same folder as the Office Deployment Tool files. Ensure the file extension is .xml, not .txt. - Run the removal command
Open an elevated Command Prompt, navigate to the ODT folder, and run setup.exe /configure configuration.xml. This removes the current Office installation. - Run the install command
After removal, run setup.exe /download configuration.xml to download fresh source files. Then run setup.exe /configure configuration.xml to install Office cleanly.
If the Error Persists After the Main Fix
Repair Tool Still Shows Source File Required After Online Repair
If the Online Repair completes successfully but the error returns when you open Word, the Windows Installer registry still holds a corrupted source path. Run the Windows Installer cleanup utility msizap from the Windows SDK, or use the Microsoft Support and Recovery Assistant to fully remove and reinstall Office.
Word Reports a Corrupted Add-In After Repair
A repair that succeeds in replacing core files may leave corrupted add-ins intact. Open Word in Safe Mode by pressing Ctrl and double-clicking the Word icon. If Word works, disable all add-ins from File > Options > Add-Ins. Re-enable each add-in one at a time to find the culprit.
Click-to-Run Cached Files Are Inaccessible
The Click-to-Run cache is stored in a hidden folder under C:\ProgramData\Microsoft\ClickToRun. If this folder is locked by another process, the repair tool cannot read it. Restart your computer, then delete the contents of the Cache folder inside ClickToRun. Run the Online Repair again to regenerate the cache.
Online Repair vs Offline Repair: Source File Handling Differences
| Item | Quick Repair (Offline) | Online Repair |
|---|---|---|
| Source file location | Uses local cache (MSOCache or Click-to-Run cache) | Downloads fresh files from Microsoft servers |
| Internet requirement | No internet needed | Requires active internet connection |
| Time to complete | 5 to 15 minutes | 30 minutes or more |
| Fixes source file required error | No, if cache is missing | Yes, bypasses broken cache |
| Impact on custom settings | Preserves most settings | May reset some preferences |
You can now resolve the source file required error by using the Online Repair option, resetting the Windows Installer service, or performing a clean install with the Office Deployment Tool. If the error persists, check the Click-to-Run cache folder for corruption and clear it. As an advanced tip, use the command setup.exe /packager with the Office Deployment Tool to create a local network installation point that eliminates the need for server downloads during future repairs.