How to disable irritating Office File Validation security alert?

8

6

I have Microsoft Office 2007 running on Windows 7. Yesterday I updated Office to the latest service pack, i.e. SP3.

This morning, when opening an MS Word document (.doc format, and a document I created myself some months ago) I was greeted with a new dialog box saying:

Security Alert - Office File Validation

WARNING: Office File Validation detected a problem while trying to open this file. Opening this is probably dangerous, and may allow a malicious user to take over your computer. Contact the sender and ask them to re-save and re-send the file. For more security, verify in person or via the phone that they sent the file.

Including two links to some microsoft blabla webpage. Obviously the document is safe as I created it myself some months ago.

How to disable this irritating dialog box?

(On a sidenote, a rethorical question: Will Microsoft never learn? I consider myself a power user in Word, but I have no clue what could be wrong with my document so that it is considered dangerous. Let alone more basic users of Word. Sigh....)

Rabarberski

Posted 2012-01-06T10:04:51.367

Reputation: 7 494

1It is funny that although I am the author of the file, Microsoft still things it is potentially harmful. Nice way to piss off your customers. – ja72 – 2012-09-24T18:08:38.050

It has to do with the tools you used to save or write the file. – Yuhong Bao – 2013-04-16T06:17:51.330

@Yuhong: like ... hmm ... Microsoft Office 2007 ?? – Rabarberski – 2013-04-16T07:21:13.847

That would a bug in Office 2007. – Yuhong Bao – 2013-08-04T05:49:55.697

Answers

10

Looks like they increased security toward their old file formats in order to avoid vulnerabilities.

Here is some information on why it does this and how to convert the files so you won't get the error message.

Two updated error messages for the Office File Validation feature in Office 2007 SP3 now provide more detailed information and options. You will encounter these messages if you attempt to open files that are stored in Office binary file formats and if the files do not pass scanning and validation checks. Note: Office binary file formats are also known as Microsoft Office 97-2003 file formats.

...you can click the safer options link and then use one of the following options:

  1. View the file in Office 2010 by using Protected View
  2. Use the Microsoft Office Isolated Conversion Environment (MOICE) feature
  3. Open the file inside a virtual machine

Found some possible workarounds at Microsoft Technet which might be helpful. About half way down the page are some options to control how it works.

To prevent Office File Validation from validating files you must create the following registry keys & values, and assign a DWORD value of “0” for the specified application in Office 2003 or Office 2007:

Keys:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\<version ie 11.0 or 12.0>\<app eg Word or Excel>\Security\FileValidation

Values:

(all) EnableOnLoad DWORD 0  
(Excel) PivotOptions DWORD 0  

As an example, to disable file validation for Word 2007 you need to:

add value

EnableOnLoad DWORD 0 

to key

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Word\Security\FileValidation

CharlieRB

Posted 2012-01-06T10:04:51.367

Reputation: 21 303

Thanks a bunch! This helped me solve my own problem in my Cat tool. See: https://community.sdl.com/solutions/language/translationproductivity/f/90/p/8059/51214#51214

– Michael Beijer – 2017-10-04T08:34:39.163

Could you add (quote) the relevant information to your post? That makes superuser more self-contained if the linked site(s) go down or the url becomes invalid. – Rabarberski – 2012-01-09T08:31:45.143

I updated this for you, but there is too much information to paste into Superusers. Especially the second part. Hope that helps. – CharlieRB – 2012-01-09T14:26:02.020

2

Close any Excel window (If open), and then perform the following steps:

  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the following registry key: HKEY_CURRENT_USER\Software\Microsoft\Office\11.0 or 12.0\
  3. Click on the version number to highlight it On the menu, click Edit, New and then click Key. Type Excel, and then press ENTER.
  4. Select Excel, point to New on the Edit menu, and then click Key. Type Security, and then press ENTER.
  5. Select Security, point to New on the Edit menu, and then click Key. Type FileValidation (Note there are no spaces between the words), and then press ENTER.
  6. Select FileValidation, point to New on the Edit menu, and then click DWORD (32-bit) Value. Type EnableOnLoad (With no spaces), and then press ENTER.

Max

Posted 2012-01-06T10:04:51.367

Reputation: 21

It still works for Windows 10 and Excel 2013, thank you. – Michal Sokolowski – 2016-02-04T12:50:40.970

0

Did you try to do as the dialog suggests, e.g. to open and re-save the file?

The dialog means that the file has failed the Office binary file format conformance checks. Even if you made it yourself, the file could become damaged or tampered with afterwards or fail the check due to a bug in the Word version you saved it with.

If that doesn't remove the alert, force complete re-creation: save it to a different format, open the saved one, then save back to the original format.

ivan_pozdeev

Posted 2012-01-06T10:04:51.367

Reputation: 1 468