Set document behavior if file validation fails

This policy setting controls how Office handles documents when they fail file validation.

If you enable this policy setting, you can configure the following options for files that fail file validation:

- Block files completely. Users cannot open the files.
- Open files in Protected View and disallow edit. Users cannot edit the files. This is also how Office handles the files if you disable this policy setting.
- Open files in Protected View and allow edit. Users can edit the files. This is also how Office handles the files if you do not configure this policy setting.

If you disable this policy setting, Office follows the "Open files in Protected View and disallow edit" behavior.

If you do not configure this policy setting, Office follows the "Open files in Protected View and allow edit" behavior.

Supported on: At least Windows 7




  1. Block files
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\word\security\filevalidation
    Value Nameopeninprotectedview
    Value TypeREG_DWORD
    Value0
  2. Open in Protected View
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\word\security\filevalidation
    Value Nameopeninprotectedview
    Value TypeREG_DWORD
    Value1

Checked: Allow edit. Unchecked: Do not allow edit.
Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\16.0\word\security\filevalidation
Value Namedisableeditfrompv
Value TypeREG_DWORD
Default Value1
True Value0
False Value1

word16.admx

Administrative Templates (Computers)

Administrative Templates (Users)