Error installing Office 365/2019/2021 fails during the configuration phase. This may occur due to attempting to add more Microsoft Office products, corrupted system files, a corrupted Office installer file, or an installer that will not work on your computer. Sometimes, simply restarting your computer can resolve the issue.
Solution 1: Temporarily Disable Windows Defender
- Click the Windows Start button and type Windows Security.
- Open the Windows Security window and select Virus & Threat Protection.
- Select Manage Settings under Virus & Threat Protection Settings.
- Switch Real-time protection to Off.
How to Temporarily Disable Third-Party Antivirus Software
- Open your antivirus application (e.g., McAfee, Norton, AVG).
- Go to Settings and navigate to Real-Time Protection.
- Turn off Real-Time Protection.
- Disable the antivirus firewall by selecting Turn Off Antivirus Firewall.
Solution 2: SFC Scan to Fix Office Installation Errors
- Open the Command Prompt as an administrator.

- Type the command
SFC /SCANNOW
and press Enter. - Wait for the scan to complete.
Note: If Windows indicates “Windows Resource Protection discovered corrupt files but was unable to fix some of them,” additional repairs may be necessary.