Can I disable the Some files contain viruses dialog with OneDrive and Office365

I just started using Office 365 with OneDrive on a Surface Pro 3 running Windows 8.1. Every time I edit a file on OneDrive in Microsoft Excel or Word, I get a dialog telling me:

Some files contain viruses that can be harmful to your computer. It is important to be certain that this file is from a trustworthy source. Do you want to open this file? Program: Microsoft Word Address: https://d.docs.live.net/.../file.docx

Here is a screenshot:

Office Requester Pic

Everyone in my office must edit dozens of Word and Excel 2013 files each day and this warning dialog is an interruption to the work flow. Yes, Microsoft, I'm certain all of these files are safe for my computer.

I was hoping for a smoother integration of Office 365 and OneDrive. Copying the file to my local machine and then re-uploading it to OneDrive kind of defeats the integration aspects.

Has anyone successfully disabled this warning or figured out how to add a OneDrive folder (or url) as an exception? Thanks!


Solution 1:

This method worked for me:

Add the source site URL to the IE Trusted Sites list, even if you don't use IE!

For example, If I open office.com with Edge and open a document for editing in Word (desktop), this warning goes away if the site is in the IE Trusted Sites zone list.

You can add this in IE settings Security tab or via GPO, or the reg key for this for all users is [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMapKey] an example entry is

"https://yourdomain.sharepoint.com"="2"

Where "2" indicates Trusted Sites Zone in IE.