Custom markup warning

This policy setting specifies how Word behaves when opening a document that contains custom XML markup.

If you enable this policy setting, you can set the behavior to one of the following:

- 0: Do not prompt the user and silently remove the custom XML markup.

- 1: Prompt the user regarding the loss of custom XML markup. This is the default option.

- 2: Prompt the user regarding the loss of custom XML markup, and do not allow them to suppress this prompt.

- 3: Prompt the user regarding the loss of custom XML markup, and open the file read-only.

- 4: Prompt the user regarding the loss of custom XML markup, do not allow them to suppress this prompt, and open the file read-only.

- 5: Do not prompt the user and silently remove the custom XML markup, but open the file read-only.

Supported on: At least Windows 7

Custom markup warning:


  1. Do not prompt
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\word\options
    Value Namecustommarkupwarning
    Value TypeREG_DWORD
    Value0
  2. Prompt
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\word\options
    Value Namecustommarkupwarning
    Value TypeREG_DWORD
    Value1
  3. Always prompt
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\word\options
    Value Namecustommarkupwarning
    Value TypeREG_DWORD
    Value2
  4. Prompt and open the file read-only
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\word\options
    Value Namecustommarkupwarning
    Value TypeREG_DWORD
    Value3
  5. Always prompt and open the file read-only
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\word\options
    Value Namecustommarkupwarning
    Value TypeREG_DWORD
    Value4
  6. Do not prompt and open the file read-only
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\16.0\word\options
    Value Namecustommarkupwarning
    Value TypeREG_DWORD
    Value5


word16.admx

Administrative Templates (Computers)

Administrative Templates (Users)