How to Repair Word Files That Trigger a Virus Warning
Question details
The user needs to know how to repair their Microsoft 365 application when a Word document triggers a virus warning and the software cannot complete the built-in file repair.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Attempting to open or repair a Word document that has been flagged as containing a virus.
- Observed behavior
- Word displays a virus warning and fails to complete the file repair process, preventing the user from opening the document.
Before proceeding, ensure your antivirus software is fully updated and run a deep scan on the suspicious document to confirm it is actually safe to open.
Perform an Online Repair for Microsoft 365 Apps
Running Microsoft's built-in Online Repair can fix corrupted application files that cause false virus warnings or hinder the file recovery process.
If Microsoft Word's internal file repair fails, the issue may lie with the Microsoft 365 installation itself. The Online Repair tool will reinstall core components and often clears up false virus triggers caused by corrupted application files.
Click the Windows Start menu, type 'Control Panel' in the search bar, and press Enter to launch the application.
Under the 'Programs' category in the Control Panel, click on 'Uninstall a program' to view the list of installed software on your computer.
Scroll through the list to find 'Microsoft 365 Apps' (or your specific version of Office), click on it to highlight it, and then click the 'Change' button located at the top of the list.
In the repair dialog box that appears, select the 'Online Repair' option and click the 'Repair' button. Follow the on-screen instructions to let the process complete.

Experience Hassle-Free Document Editing with WPS Office
If Microsoft Word continues to struggle with file repairs and false virus warnings, consider switching to WPS Office. It provides a seamless, fast, and secure environment to open your documents without dealing with complex application repair loops.
- 1. Download the Software: Visit the official WPS website and download the free WPS Office installation package.
- 2. Install and Launch: Run the installer and follow the quick setup wizard to install the suite on your computer.
- 3. Open Your Document: Right-click the Word document that failed to open previously, select 'Open with', and choose WPS Writer to securely view and edit your file.

Frequently Asked Questions
Why does Word say my file has a virus when I know it is safe?
This can happen due to a false positive from your system's antivirus integration, corrupted Microsoft Office installation files, or specific macros within the document that resemble malicious code patterns.
Can I bypass the virus warning in Microsoft Word to force the file open?
If you are absolutely certain the file is safe, you can temporarily disable Protected View in Word's Trust Center settings. However, doing this is highly discouraged as it leaves your computer vulnerable to actual threats.
What should I do if the Online Repair tool fails to fix the issue?
If the Online Repair does not resolve the problem, you may need to completely uninstall Microsoft 365 using the official Microsoft Support and Recovery Assistant tool, restart your computer, and then reinstall the suite from your Microsoft account.




