How to Stop the 'Some Files Can Harm Your Computer' Warning in Word
Question details
The user wants to resolve the recurring security warning stating 'Some files can harm your computer' when attempting to open documents.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Opening documents from SharePoint Online, OneDrive-synchronized folders, or other locations after a recent computer update.
- Observed behavior
- Word blocks immediate access to the document and displays a security prompt, requiring the user to manually bypass the warning to view or edit the file.
Ensure your Office application is fully updated to the latest version. Verify that the files you are trying to open come from a trusted source before modifying any security settings.
Add the File Location to Trusted Locations
This method stops the warning for specific safe folders without compromising the overall security of your computer.
If you frequently open files from specific SharePoint folders, OneDrive, or a company network drive, you can tell Word to trust these specific locations.
Files opened from Trusted Locations will bypass Protected View and the associated security warnings.
Launch Microsoft Word. Click on 'File' in the top-left corner, select 'Options' at the bottom, and then click on 'Trust Center' in the left pane.
Click the 'Trust Center Settings...' button located on the right side of the window.
Select 'Trusted Locations' from the left menu. Click 'Add new location...' at the bottom of the window.
Click 'Browse' to select your OneDrive, SharePoint sync folder, or local folder. Check the box for 'Subfolders of this location are also trusted' if necessary, then click 'OK' to save.

Disable Protected View in Trust Center
Turn off Protected View for files originating from the internet or potentially unsafe locations. Use this at your own risk.
Switch to WPS Office for a Streamlined, Secure Document Experience
If strict Microsoft Office security policies and recurring warnings disrupt your workflow, consider WPS Office. It provides a highly compatible, secure, and lightweight alternative without intrusive prompts.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the Application: Run the installer and follow the simple on-screen instructions to set up WPS Office.
- 3. Open Your Documents: Launch WPS Writer and open your existing Word documents seamlessly without formatting loss.

Frequently Asked Questions
Why do I get this warning for files stored on my own OneDrive?
Microsoft Office may classify synchronized cloud folders like OneDrive or SharePoint as 'Internet locations' by default. This triggers Protected View to scan for potential threats before allowing you to edit.
Does this security warning affect other Office applications like Excel?
Yes, this is a shared Microsoft Office security feature. You may encounter the same warning in Excel or PowerPoint if the file originates from a similarly restricted or internet-facing location.
Will updating my computer cause this warning to appear?
Sometimes, Windows or Office updates reset Trust Center settings to their secure defaults or alter how synchronized folders are recognized, causing the warning to suddenly reappear for previously trusted files.




