Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Microsoft 365 Apps (ADMX) · excel16.admx

excel16.admx: 173 policies

Generated from Microsoft 365 Apps Administrative Template files on 2026-12-05. Titles, explanations and "Supported on" text are Microsoft's own, from the en-US ADML file.

List of error messages to customize

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\customizablealerts
Enabled also writessoftware\policies\microsoft\office\16.0\excel\customizablealerts policyon = 1 (REG_DWORD)
Disabled also writessoftware\policies\microsoft\office\16.0\excel\customizablealerts policyon = value deleted
OptionValueTypeAllowed values
List of error messages to customize(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

Enter error ID for Value Name and custom button text for Value

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Customizable Error Messages > List of error messages to customize

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\customizablealerts' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\customizablealerts' -Name 'policyon' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Listoferrormessagestocustomize

Do not show data extraction options when opening corrupt workbooks

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value nameextractdatadisableui
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether Excel presents users with a list of data extraction options before beginning an Open and Repair operation when users choose to open a corrupt workbook in repair or extract mode.

If you enable this policy setting, Excel opens the file using the Safe Load process and does not prompt users to choose between repairing or extracting data.

If you disable or do not configure this policy setting, Excel prompts the user to select either to repair or to extract data, and to select either to convert to values or to recover formulas.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Data Recovery > Do not show data extraction options when opening corrupt workbooks

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'extractdatadisableui' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Donotshowdataextractionoptionswhenopeningcorruptworkbooks

Disable commands

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemslist
OptionValueTypeAllowed values
Enter a command bar ID to disable(list subkey)REG_SZ (one value per entry)One value per list entry, names prefixed TCID
What it does (vendor explanation)

This policy setting allows you to disable any command bar button and menu item with a command bar ID, including command bar buttons and menu items that are not in the predefined lists.

If you enable this policy setting, you can enter an ID number to disable a specific command bar button or menu item. The ID number needs to be in decimal (not hexadecimal). Multiple values should be separated by commas.

If you disable or do not configure this policy setting, all default command bar buttons or menu items are available to users.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Disable Items in User Interface > Custom > Disable commands

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_disablecommandbarbuttonsandmenuitems165

Disable shortcut keys

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\disabledshortcutkeyslist
OptionValueTypeAllowed values
Enter a key and modifier to disable(list subkey)REG_SZ (one value per entry)One value per list entry, names prefixed KeyMod
What it does (vendor explanation)

This policy setting allows you to disable any shortcut key by using its virtual key code ID, including shortcut keys that are not in the predefined lists.

If you enable this policy setting, you can enter a virtual key code ID number to disable a specific shortcut key.

If you disable or do not configure this policy setting, all default shortcut keys are enabled for users.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Disable Items in User Interface > Custom > Disable shortcut keys

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_disableshortcutkeys166

Disable predefined commands

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes
Disabled also writessoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes filepublishaswebpage = value deleted
Disabled also writessoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes weboptions = value deleted
Disabled also writessoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes generaloptions = value deleted
Disabled also writessoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes fileopensearchtheweb = value deleted
OptionValueTypeAllowed values
File tab | Options | Customize Ribbon | All Commands | Web Page PreviewfilewebpagepreviewREG_DWORDChecked: 3655 (REG_SZ); unchecked: 0 (REG_SZ)
File tab | Share | EmailsendtomailrecipientREG_DWORDChecked: 2188 (REG_SZ); unchecked: 0 (REG_SZ)
Insert tab | Links | HyperlinkinserthyperlinkREG_DWORDChecked: 1576 (REG_SZ); unchecked: 0 (REG_SZ)
Review tab | Changes | Protect SheettoolsprotectsheetREG_DWORDChecked: 893 (REG_SZ); unchecked: 0 (REG_SZ)
Review tab | Changes | Protect WorkbookflyoutanchorprotectworkbookmenuREG_DWORDChecked: 16132 (REG_SZ); unchecked: 0 (REG_SZ)
Review tab | Changes | Protect and Share WorkbooktoolsprotectshareREG_DWORDChecked: 3059 (REG_SZ); unchecked: 0 (REG_SZ)
View tab | Macros | MacrosflyoutanchormacrosREG_DWORDChecked: 16106 (REG_SZ); unchecked: 0 (REG_SZ)
Developer tab | Code | MacrostoolsmacromacrosREG_DWORDChecked: 186 (REG_SZ); unchecked: 0 (REG_SZ)
Developer tab | Code | Record MacrotoolsmacrorecordREG_DWORDChecked: 184 (REG_SZ); unchecked: 0 (REG_SZ)
Developer tab | Code | Macro SecuritytoolsmacrosecurityREG_DWORDChecked: 3627 (REG_SZ); unchecked: 0 (REG_SZ)
Developer tab | Code | Visual BasictoolsmacrovbeREG_DWORDChecked: 1695 (REG_SZ); unchecked: 0 (REG_SZ)
File tab | Options | Customize Ribbon | All Commands | Document LocationwebaddressREG_DWORDChecked: 1740 (REG_SZ); unchecked: 0 (REG_SZ)
What it does (vendor explanation)

This policy setting allows you to disable specific command bar buttons and menu items in the specified applications.

If you enable this policy setting you can disable specific command bar buttons and menu items in the user interface for the selected application. The predefined list of command bar buttons and menu items you can disable becomes available to you when you enable this policy setting.

If you disable or do not configure this policy setting, the predefined list of command bar buttons and menu items are enabled for the application.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Disable Items in User Interface > Predefined > Disable predefined commands

PowerShell equivalent (generated from the template)
# File tab | Options | Customize Ribbon | All Commands | Web Page Preview
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes' -Name 'filewebpagepreview' -Value <value> -PropertyType DWord -Force
# File tab | Share | Email
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes' -Name 'sendtomailrecipient' -Value <value> -PropertyType DWord -Force
# Insert tab | Links | Hyperlink
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes' -Name 'inserthyperlink' -Value <value> -PropertyType DWord -Force
# Review tab | Changes | Protect Sheet
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes' -Name 'toolsprotectsheet' -Value <value> -PropertyType DWord -Force
# Review tab | Changes | Protect Workbook
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes' -Name 'flyoutanchorprotectworkbookmenu' -Value <value> -PropertyType DWord -Force
# Review tab | Changes | Protect and Share Workbook
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes' -Name 'toolsprotectshare' -Value <value> -PropertyType DWord -Force
# View tab | Macros | Macros
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes' -Name 'flyoutanchormacros' -Value <value> -PropertyType DWord -Force
# Developer tab | Code | Macros
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes' -Name 'toolsmacromacros' -Value <value> -PropertyType DWord -Force
# Developer tab | Code | Record Macro
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes' -Name 'toolsmacrorecord' -Value <value> -PropertyType DWord -Force
# Developer tab | Code | Macro Security
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes' -Name 'toolsmacrosecurity' -Value <value> -PropertyType DWord -Force
# Developer tab | Code | Visual Basic
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes' -Name 'toolsmacrovbe' -Value <value> -PropertyType DWord -Force
# File tab | Options | Customize Ribbon | All Commands | Document Location
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes' -Name 'webaddress' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Disablecommandbarbuttonsandmenuitems

Disable shortcut keys

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\disabledshortcutkeyscheckboxes
OptionValueTypeAllowed values
Ctrl+F (Home | Editing | Find & Select | Find)findREG_DWORDChecked: 70,8 (REG_SZ); unchecked: 0 (REG_SZ)
Ctrl+K (Insert | Links | Hyperlink)inserthyperlinkREG_DWORDChecked: 75,8 (REG_SZ); unchecked: 0 (REG_SZ)
Alt+F8 (Developer | Code | Macros)toolsmacromacrosREG_DWORDChecked: 119,16 (REG_SZ); unchecked: 0 (REG_SZ)
Alt+F11 (Developer | Code | Visual Basic)toolsmacrovbeREG_DWORDChecked: 122,16 (REG_SZ); unchecked: 0 (REG_SZ)
What it does (vendor explanation)

This policy setting allows you to disable specific shortcut key combinations in the specified applications.

If you enable this policy setting you can disable specific shortcut keys for the selected application. The predefined list of shortcut keys you can disable becomes available to you when you enable this policy setting.

If you disable or do not configure this policy setting, the predefined list of shortcut keys are enabled for the application.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Disable Items in User Interface > Predefined > Disable shortcut keys

PowerShell equivalent (generated from the template)
# Ctrl+F (Home | Editing | Find & Select | Find)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledshortcutkeyscheckboxes' -Name 'find' -Value <value> -PropertyType DWord -Force
# Ctrl+K (Insert | Links |  Hyperlink)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledshortcutkeyscheckboxes' -Name 'inserthyperlink' -Value <value> -PropertyType DWord -Force
# Alt+F8 (Developer | Code | Macros)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledshortcutkeyscheckboxes' -Name 'toolsmacromacros' -Value <value> -PropertyType DWord -Force
# Alt+F11 (Developer | Code | Visual Basic)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\disabledshortcutkeyscheckboxes' -Name 'toolsmacrovbe' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Disableshortcutkeys

Alert before overwriting cells

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefnodragwarning_76_1
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting sets the "Alert before overwriting cells" option found under File tab | Options | Advanced | Editing Options.

If you enable or do not configure this policy setting, Excel will give a warning if cells are about to be overwritten. This is the default behavior.

If you disable this policy setting, Excel will suppress the warning that cells are about to be overwritten.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Alert before overwriting cells

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'fnodragwarning_76_1' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Alertbeforeoverwritingcells

Allow formatting and labels to track data points

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value namecharttrackingrefbased
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting governs how custom formatting and data labels react to data changes in a chart.

If you enable or do not configure this policy setting, when the user creates a new workbook, custom formatting and data labels follow data points as they move or change in any chart in the workbook.

If you disable this policy setting, custom formatting and data labels do not follow data points, but instead follow data point indices.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Allow formatting and labels to track data points

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'charttrackingrefbased' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_ChartRefTrackingEnabled

Alternate startup file location

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
OptionValueTypeAllowed values
Alternate startup file locationaltstartupREG_EXPAND_SZText
What it does (vendor explanation)

This policy setting allows you to specify the folder where files will be opened by Excel at startup.

If you enable this policy setting, you may specify the folder where files will be opened by Excel at startup. Files will be opened from this folder in addition to the XLSTART folder in the Microsoft Office installation directory (default C:\Program Files\Microsoft Office\Office14\XLSTART).

If you disable or do not configure this policy setting, files will only be opened from the XLSTART folder.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Alternate startup file location

PowerShell equivalent (generated from the template)
# Alternate startup file location
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'altstartup' -Value <value> -PropertyType ExpandString -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Alternatestartupfilelocation

Automatically Flash Fill

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value nameflashfill
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls the "Automatically Flash Fill" option found under File tab | Options | Advanced | Editing Options.

If you enable or do not configure this policy setting, Excel will enable automatic Flash Fill. This is the default behavior.

If you disable this policy setting, Excel will turn off the Automatic Flash Fill feature.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Automatically Flash Fill

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'flashfill' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_AutomaticallyFlashFill

Automatically insert a decimal point

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value nameautodec
Enabled writes5 (REG_DWORD)
Disabled writes4 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure the "Automatically insert a decimal point" option.

If you enable this policy setting, the "Automatically insert a decimal point" option will be checked and the Places option is set to 2.

If you disable or do not configure this policy setting, the "Automatically insert a decimal point" option will not be checked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Automatically insert a decimal point

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'autodec' -Value 5 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Automaticallyinsertadecimalpoint

Comments

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Disabled also writessoftware\policies\microsoft\office\16.0\excel\options\binaryoptions fnoteoffv5_35_1 = value deleted
OptionValueTypeAllowed values
Commentsvmdnotedisp_38_20 (REG_DWORD) = None
1 (REG_DWORD) = Comment indicator only
2 (REG_DWORD) = Comment & indicator
What it does (vendor explanation)

Determines how comments are displayed on the worksheet.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Comments

PowerShell equivalent (generated from the template)
# Comments
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'vmdnotedisp_38_2' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Comments

Cursor movement

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
OptionValueTypeAllowed values
Cursor movementcursorvisual0 (REG_DWORD) = Logical
1 (REG_DWORD) = Visual
What it does (vendor explanation)

Determines how the insertion point moves through bi-directional text. Possible values are Logical or Visual and the default is Logical.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Cursor movement

PowerShell equivalent (generated from the template)
# Cursor movement
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'cursorvisual' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Cursormovement

Cut and copy objects with cells

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefobjwcellmove_71_1
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting sets the "Cut, copy, and sort inserted objects with their parent cells" option found under File tab | Options | Advanced | Cut, copy, and paste Options.

If you enable or do not configure this policy setting, Excel will cut, copy, and sort inserted objects with their parent cells.

If you disable this policy setting, Excel will not cut and copy inserted objects with their parent cells.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Cut and copy objects with cells

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'fobjwcellmove_71_1' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_CutAndCopyObjectsWithCells

Default sheet direction

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
OptionValueTypeAllowed values
Default sheet directiondefaultsheetr2l1 (REG_DWORD) = Right-to-Left
0 (REG_DWORD) = Left-to-Right
What it does (vendor explanation)

This setting controls the default sheet direction, which is either "Left to Right" or "Right to Left".

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Default sheet direction

PowerShell equivalent (generated from the template)
# Default sheet direction
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultsheetr2l' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Defaultdirection

Edit directly in cell

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefnoincell_66_1
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting sets the "Edit directly in cell" option found under File tab | Options | Advanced | Editing Options.

If you enable or do not configure this policy setting, Excel will allow editing directly in the cell This is the default behavior.

If you disable this policy setting, Excel will not allow editing to be done directly in the cell.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Edit directly in cell

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'fnoincell_66_1' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Editdirectlyincell

Enable AutoComplete for cell values

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefautocomplete_128_1
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting sets the "Enable AutoComplete for cell values" option found under File tab | Options | Advanced | Editing Options.

If you enable or do not configure this policy setting, Excel will allow AutoComplete for cell values. This is the default behavior.

If you disable this policy setting, Excel will turn off the AutoComplete feature.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Enable AutoComplete for cell values

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'fautocomplete_128_1' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_EnableAutoCompleteforcellvalues

Enable automatic percent entry

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefdisableautopercent_99_1
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

Enabling this policy selects the Advanced (Editing options) user option to "Enable automatic percent entry".

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Enable automatic percent entry

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'fdisableautopercent_99_1' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Enableautomaticpercententry

Enable fill handle and cell drag-and-drop

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefdisabledman_36_1
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting sets the "Enable fill handle and cell drag-and-drop" option found under File tab | Options | Advanced | Editing Options.

If you enable or do not configure this policy setting, Excel will enable the fill handle and allow drag-and-drop. This is the default behavior.

If you disable this policy setting, Excel will disable the fill handle and drag-and-drop will not be allowed.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Enable fill handle and cell drag-and-drop

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'fdisabledman_36_1' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_EnableFillHandleAndCellDragAndDrop

Extend data range formats and formulas

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value nameextendlist
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting sets the "Extend data range formats and formulas" option found under File tab | Options | Advanced | Editing Options.

If you enable or do not configure this policy setting, Excel will allow the user to automatically format new items added to the end of a list to match the format of the rest of the list. This is the default behavior.

If you disable this policy setting, Excel will not automatically format new items added to the end of a list.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Extend data range formats and formulas

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'extendlist' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_ExtendDataRangeFormatsAndFormulas

Force support for Unicode surrogates in Excel 2021 and Excel 2024

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value nameforcesupportforunicodesurrogates
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Warning: this setting alters how your app calculates LEN, MID, SEARCH, FIND and REPLACE and forces files to Compatibility Version 2. When these workbooks are shared, users may see different calculation results. This setting only applies to non-subscription Excel 2021 and Excel 2024.

If you enable this policy setting, when any workbook is opened in non-subscription Excel 2021 or Excel 2024, it will automatically be set to Compatibility Version 2. This will cause LEN, MID, SEARCH, FIND and REPLACE functions to calculate differently in those workbooks.

If you disable or do not configure this policy setting, the Compatibility Version will not be automatically set when a file is opened in any version of non-subscription Excel 2021 and Excel 2024 (this setting never affects other versions).

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Force support for Unicode surrogates in Excel 2021 and Excel 2024

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'forcesupportforunicodesurrogates' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_ExcelForceSupportForUnicodeSurrogates

Function tooltips

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefshowfuntips_101_1
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

Enabling this setting selects the Advanced (Display) user option to "Show function ScreenTips".

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Function tooltips

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'fshowfuntips_101_1' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Functiontooltips

Ignore other applications

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefddeenabled_6_1
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether Excel can exchange data with other applications that use Dynamic Data Exchange (DDE).

If you enable this policy setting, Excel does not allow the exchange of data with other applications that use DDE. In addition, the "Ignore other applications that use Dynamic Data Exchange (DDE)" user interface option under Excel Options | General is selected and users cannot change it. Enabling this policy setting can cause disruptions for users who rely on the DDE functionality in Excel to update information in workbooks. These users will have to use some other method to update information provided by other applications.

If you disable or do not configure this policy setting, Excel can use the Dynamic Data Exchange (DDE) protocol to exchange messages and data with other applications. For example, a cell in an Excel workbook can be dynamically linked to a value provided by another application, such as weather or stock price information. When the value provided by the other application changes, Excel can automatically update the value in the workbook. Note: users can change this behavior by selecting the "Ignore other applications that use Dynamic Data Exchange (DDE)" user interface option under Excel Options | General.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Ignore other applications

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'fddeenabled_6_1' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Ignoreotherapplications

Microsoft Excel menu or Help key

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
OptionValueTypeAllowed values
Enter ASCII valuemenukeyREG_DWORDNumber 0 to max
What it does (vendor explanation)

This policy setting allows you to set the ASCII value for the key of choice (e.g. '/'=47).

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Microsoft Excel menu or Help key

PowerShell equivalent (generated from the template)
# Enter ASCII value
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'menukey' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_MicrosoftExcelmenuorHelpkey

Move selection after Enter

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefentermove_75_1
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

Enabling this policy selects the Advanced (Editing Options) user option to "After pressing Enter, move selection".

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Move selection after Enter

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'fentermove_75_1' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_MoveselectionafterEnter

Move selection after Enter direction

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
OptionValueTypeAllowed values
Move selection after Enter directionmoveenterdir0 (REG_DWORD) = Down
1 (REG_DWORD) = Right
2 (REG_DWORD) = Up
3 (REG_DWORD) = Left
What it does (vendor explanation)

Specifies the direction that the selection is moved after the Enter key is pressed.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Move selection after Enter direction

PowerShell equivalent (generated from the template)
# Move selection after Enter direction
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'moveenterdir' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_MoveselectionafterEnterdirection

Number of folders in the Recent Folders list

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\place mru
OptionValueTypeAllowed values
L_SetNumberOfPlacesInTheRecentPlacesListSpinIDmax displayREG_DWORDNumber 0 to 20
What it does (vendor explanation)

This policy setting specifies the number of unpinned entries displayed in the Recent Folders list that appears when users click Open or Save As on the File tab in Backstage view.

If you enable this policy setting, you can specify the number of unpinned entries to be between 0 and 20. If you set the number to 0, all pinned and unpinned entries are hidden.

If you disable or do not configure this policy setting, a maximum of 5 unpinned items are displayed in the Recent Folders list.

Note: If you want to prevent items from being added to the Recent Folders list entirely, you can enable the "Do not keep history of recently opened documents" Windows policy setting.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Number of folders in the Recent Folders list

PowerShell equivalent (generated from the template)
# L_SetNumberOfPlacesInTheRecentPlacesListSpinID
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\place mru' -Name 'max display' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_SetNumberOfPlacesInTheRecentPlacesList

Number of workbooks in the Recent Workbooks list

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\file mru
OptionValueTypeAllowed values
Entries on recently used file listmax displayREG_DWORDNumber 0 to 50
What it does (vendor explanation)

This policy setting specifies the number of entries displayed in the Recent Workbooks list that appears when users click Open on the File tab in Backstage view.

If you enable this policy setting, you can specify the number of entries to be between 0 and 50. If you set the number to 0, all pinned and unpinned entries are hidden.

If you disable or do not configure this policy setting, a maximum of 25 items will be displayed in the Recent Workbooks list.

Note: If you want to prevent items from being added to the Recent Workbooks list entirely, you can enable the "Do not keep history of recently opened documents" Windows policy setting.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Number of workbooks in the Recent Workbooks list

PowerShell equivalent (generated from the template)
# Entries on recently used file list
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\file mru' -Name 'max display' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Recentlyusedfilelist

Show Alert if Excel is not the default for its associated file types

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value namealertifnotdefault
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls the "Tell me if Microsoft Excel isn't the default progam for viewing and editing spreadsheets" option found under File tab | Options.

If you enable or do not configure this policy setting, Excel will show an alert if it isn't the default progam for viewing and editing spreadsheets. This is the default behavior.

If you disable this policy setting, Excel will turn off the alert.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Show Alert if Excel is not the default for its associated file types

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'alertifnotdefault' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_ShowAlertIfNotDefault

Show Formula bar in Full View

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value nameffmlafull_68_1
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Checked: Displays the Formula bar when the Full Screen command in the View menu is set. | Unchecked: Does not dispaly the Formula bar when the Full Screen command in the View menu is set.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Show Formula bar in Full View

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'ffmlafull_68_1' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_ShowFormulabarinFullView

Show Formula bar in Normal View

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value nameffmlaf_1_1
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Enabling this setting selects the Advanced (Display) user option to "Show formula bar".

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Show Formula bar in Normal View

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'ffmlaf_1_1' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_ShowFormulabarinNormalView

Show Insert Options buttons

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value nameenableinsertcellsooui_102_1
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting sets the "Show Insert Options buttons" option found under File tab | Options | Advanced | Cut, copy, and paste options.

If you enable or do not configure this policy setting, Excel will show the Insert Options button after inserting cells, rows, or columns that contain formatting. This is the default behavior.

If you disable this policy setting, Excel will not display the Insert Options buttons on insert.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Show Insert Options buttons

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'enableinsertcellsooui_102_1' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_ShowInsertOptionsbuttons

Show Paste Options button when content is pasted

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\common\general
Value namepasteoptions
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting sets the "Show Paste Options button when content is pasted" option found under File tab | Options | Advanced | Cut, copy, and paste options.

If you enable or do not configure this policy setting, Excel will show the Paste Options button after inserting cells, rows, or columns that contain formatting. This is the default behavior.

If you disable this policy setting, Excel will not display the Paste Options buttons on paste.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Show Paste Options button when content is pasted

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\general' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\general' -Name 'pasteoptions' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_ShowPasteOptionsButtonWhenContentIsPasted

Show control characters

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value namecontrolcharacters
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Enabling this policy selects the user option to "Show control characters". This option appears in the Advanced category when certain languages have been enabled.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Show control characters

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'controlcharacters' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Showcontrolcharacters

Show names

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefshowchartnames_96_1
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

Enabling this setting selects the Advanced (Display) user option to "Show chart element names on hover".

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Show names

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'fshowchartnames_96_1' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Shownames

Show values

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefshowcharttipvalues_97_1
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

Enabling this setting selects the Advanced (Display) user option to "Show data point values on hover".

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Show values

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'fshowcharttipvalues_97_1' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Showvalues

Transition navigation keys

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefisi_33_1
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Enabling this policy checks the Advanced (Lotus compatibility) user option named "Transition navigation keys".

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Transition navigation keys

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'fisi_33_1' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Transitionnavigationkeys

Zoom on roll with IntelliMouse

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefrollzoom_98_1
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting sets the "Zoom on roll with IntelliMouse'" option found under File tab | Options | Advanced | Editing options

If you enable this policy setting, rolling the mouse wheel will change the zoom level of the worksheet.

If you disable or do not configure this policy setting, rolling the mouse wheel will scroll the worksheet. This is the default behavior.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Zoom on roll with IntelliMouse

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'frollzoom_98_1' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_ZoomonrollwithIntelliMouse

Load pictures from Web pages not created in Excel

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\internet
Value namedonotloadpictures
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether Excel loads graphics when opening Web pages that were not created in Excel. It configures the "Load pictures from Web pages not created in Excel" option under the File tab | Options | Advanced | General | Web Options... | General tab.

If you enable or do not configure this policy setting, Excel loads any graphics that are included in the pages, regardless of whether they were originally created in Excel.

If you disable this policy setting, Excel will not load any pictures from Web pages that were not created in Excel.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Advanced > Web Options... > General > Load pictures from Web pages not created in Excel

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\internet' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\internet' -Name 'donotloadpictures' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_LoadpicturesfromWebpagesnotcreatedinExcel

Display Developer tab in the Ribbon

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value namedevelopertools
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether the Developer tab will be displayed in the Ribbon.

If you enable this policy setting, the Developer tab will be displayed in the Ribbon.

If you disable this policy setting, the Developer tab will not be displayed in the Ribbon.

If you do not configure this policy setting, the Developer tab will not be displayed in the Ribbon, but its visibility can be changed via a setting in the application Options dialog box.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Customize Ribbon > Display Developer tab in the Ribbon

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'developertools' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DisplayDeveloperTab

R1C1 reference style

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefrefa1_4_1
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

Checks/Unchecks the corresponding UI option.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Formulas > R1C1 reference style

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'frefa1_4_1' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_R1C1referencestyle

Default Font

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
OptionValueTypeAllowed values
Name, SizefontREG_SZText
What it does (vendor explanation)

This policy setting controls the default font for Excel.

If you enable this policy setting, you can set the default font for Excel by specifing the font name and size seperated with a comma.

Example: Arial, 10

If you disable or you do not configure this policy setting, Excel will use the default specified by the user.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > General > Default Font

PowerShell equivalent (generated from the template)
# Name, Size
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'font' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Font

Default Sheets

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
OptionValueTypeAllowed values
Sheets in new workbookdefsheetsREG_DWORDNumber 1 to 255
What it does (vendor explanation)

Specifies the initial number of worksheets to create in a new workbook.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > General > Default Sheets

PowerShell equivalent (generated from the template)
# Sheets in new workbook
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defsheets' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DefaultSheets

Enable Live Preview

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value namelivepreview
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Shows or hides the Live Previews that appear when using Galleries that support previews. Live Preview shows how a command would be applied without actually applying it to the document.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > General > Enable Live Preview

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'livepreview' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DisableLivePreview

Show Mini Toolbar on selection

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\common\toolbars\excel
Value nameallowselectionfloaties
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Disabling this policy setting will result in Mini Toolbar not being displayed on text selection. By default, Mini Toolbar on selection is enabled and its visibility can be changed via a setting in the Excel Options dialog box.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > General > Show Mini Toolbar on selection

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\excel' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\excel' -Name 'allowselectionfloaties' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_AllowSelectionFloaties

Show Quick Analysis options on selection

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\common\toolbars\excel
Value nameallowquickanalysis
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls the "Show Quick Analysis options on selection" option found under File tab | Options | General | User Interface Options.

If you enable or do not configure this policy setting, Excel will show Quick Analysis options when data is selected. This is the default behavior.

If you disable this policy setting, Excel will not show these options on selection.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > General > Show Quick Analysis options on selection

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\excel' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\toolbars\excel' -Name 'allowquickanalysis' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_AllowQuickAnalysis

Show all windows in the Taskbar

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value nameshowwindowsintaskbar
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

When multiple workbooks are open simultaneously, this determines whether the user will see a single entry for Excel in the taskbar or a separate entry in the taskbar for each open workbook.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > General > Show all windows in the Taskbar

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'showwindowsintaskbar' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_WindowsinTaskbar

Include new rows and columns in table

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value nameautoexpandlistrange
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

When working in cells adjacent to a table (known as a "list" in previous versions of Excel), enabling this setting causes the adjacent row or column to become part of the table.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Proofing > Autocorrect Options > Include new rows and columns in table

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'autoexpandlistrange' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Includenewrowsandcolumnsinlist

AutoRecover delay

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
OptionValueTypeAllowed values
Seconds of idle time before AutoRecover startsautorecoverdelayREG_DWORDNumber 1 to 600
What it does (vendor explanation)

This policy specifies how long (in seconds) the user must be idle before AutoRecover information will be saved.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Save > AutoRecover delay

PowerShell equivalent (generated from the template)
# Seconds of idle time before AutoRecover starts
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'autorecoverdelay' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_AutoRecoverdelay

AutoRecover save location

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
OptionValueTypeAllowed values
AutoRecover save locationautorecoverpathREG_EXPAND_SZText
What it does (vendor explanation)

This policy setting allows you to specify the location where AutoRecover information is to be saved. Directing the location to a network drive may allow you to back up these files along with other network files.

If you enable this policy setting, you may specify the location where AutoRecover information is to be saved.

If you disable or you do not configure this policy setting, the default location is %userprofile%\Application Data\Microsoft\Excel.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Save > AutoRecover save location

PowerShell equivalent (generated from the template)
# AutoRecover save location
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'autorecoverpath' -Value <value> -PropertyType ExpandString -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_AutoRecoversavelocation

AutoRecover time

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
OptionValueTypeAllowed values
Save AutoRecover info every (minutes):autorecovertimeREG_DWORDNumber 1 to 120
What it does (vendor explanation)

This policy determines the interval (in minutes) at which AutoRecover information will be saved.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Save > AutoRecover time

PowerShell equivalent (generated from the template)
# Save AutoRecover info every (minutes):
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'autorecovertime' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_AutoRecovertime

Default file format

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
OptionValueTypeAllowed values
Save Excel files asdefaultformat51 (REG_DWORD) = Excel Workbook (*.xlsx)
52 (REG_DWORD) = Excel Macro-Enabled Workbook (*.xlsm)
50 (REG_DWORD) = Excel Binary Workbook (*.xlsb)
44 (REG_DWORD) = Web Page (*.htm; *.html)
56 (REG_DWORD) = Excel 97-2003 Workbook (*.xls)
39 (REG_DWORD) = Excel 5.0/95 Workbook (*.xls)
60 (REG_DWORD) = OpenDocument Spreadsheet (*.ods)
What it does (vendor explanation)

This policy setting controls the default file format for saving workbooks in Excel.

If you enable this policy setting, you can set the default file format for Excel from among the following options:

- Excel Workbook (.xlsx).This option is the default configuration in Excel 2016. - Excel Macro-Enabled Workbook (.xlsm) - Excel Binary Workbook (.xlsb) - Web Page (.htm; .html) - Excel 97-2003 Workbook (.xls) - Excel 5.0/95 Workbook (.xls) - OpenDocument Spreadsheet (*.ods)

Users can choose to save workbooks in a different file format than the default.

If you disable or you do not configure this policy setting, Excel saves new workbooks in the Office Open XML format with an .xlsx extension.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Save > Default file format

PowerShell equivalent (generated from the template)
# Save Excel files as
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultformat' -Value 51 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_SaveExcelfilesas

Default file location

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
OptionValueTypeAllowed values
Default file locationdefaultpathREG_EXPAND_SZText
What it does (vendor explanation)

This policy setting allows you to specify the folder that Excel uses when opening or saving a file. This setting can be found under File tab | Options | Save | Save workbook Options.

If you enable this policy setting, you may specify this folder.

If you disable or do not configure this policy setting, the default folder will be used.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Save > Default file location

PowerShell equivalent (generated from the template)
# Default file location
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'defaultpath' -Value <value> -PropertyType ExpandString -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Defaultfilelocation

Disable AutoRepublish

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value namedisableautorepublish
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows administrators to disable the AutoRepublish feature in Excel. If users choose to publish Excel data to a static Web page and enable the AutoRepublish feature, Excel saves a copy of the data to the Web page every time the user saves the workbook. By default, a message dialog displays every time the user saves a published workbook when AutoRepublish is enabled. From this dialog, the user can disable AutoRepublish temporarily or permanently, or select "Do not show this message again" to prevent the dialog from appearing after every save. If the user selects "Do not show this message again", Excel will continue to automatically republish the data after every save without informing the user.

If you enable this policy setting, the AutoRepublish feature is turned off and Excel users will need to publish data to the Web manually.

If you disable or do not configure this policy setting, users can enable the AutoRepublish feature to automatically republish workbooks saved as type Web Page.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Save > Disable AutoRepublish

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'disableautorepublish' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DisableAutoRepublish

Do not show AutoRepublish warning alert

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value namedisableautorepublishwarning
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether Excel displays an alert before republishing a workbook to the World Wide Web.

If you enable this policy setting, no warning appears when the user saves a published workbook when AutoRepublish is enabled.

If you disable or do not configure this policy setting, a message dialog appears every time the user saves a published workbook when AutoRepublish is enabled. From this dialog, the user can disable AutoRepublish temporarily or permanently, or select "Do not show this message again" to prevent the dialog from appearing after every save. If the user selects "Do not show this message again", Excel will continue to automatically republish the data after every save without informing the user.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Save > Do not show AutoRepublish warning alert

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'disableautorepublishwarning' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DoNotShowAutoRepublishWarningAlert

Keep the last AutoSaved versions of files for the next session

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value namekeepunsavedchanges
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting determines whether Excel keeps the last AutoSaved version of a file if a user closes a file without saving it. (Note: AutoSave applies only when AutoRecover is enabled.)

If you enable or do not configure this policy setting, Excel keeps the last AutoSaved version of the file and makes it available to the user the next time the file is opened if the user closes a file without saving it.

If you disable this policy setting, Excel does not keep the last AutoSaved version of the file if the user closes a file without saving it.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Save > Keep the last AutoSaved versions of files for the next session

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'keepunsavedchanges' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_KeepLastAutoSavedVersions

Prompt for workbook properties

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefpromptsuminfo_65_1
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Checks/Unchecks the corresponding UI option.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Save > Prompt for workbook properties

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'fpromptsuminfo_65_1' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Promptforworkbookproperties

Save AutoRecover info

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value nameautorecoverenabled
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Enabling this policy selects the user option to "Save AutoRecover information every N minutes".

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Save > Save AutoRecover info

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'autorecoverenabled' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_SaveAutoRecoverinfo

Suppress file format compatibility dialog box for OpenDocument Spreadsheet format

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value namedisablesaveaslosswarningopendocumentspreadsheet
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure the file format compatibility dialog box when saving a file as an OpenDocument Spreadsheet file in Microsoft Excel.

If you enable this policy setting, the file format compatibility dialog is not displayed whenever you save as an OpenDocument Spreadsheet file in Excel.

If you disable or do not configure this policy setting, the file format compatibility dialog is displayed when you save as an OpenDocument Spreadsheet file in Excel.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Save > Suppress file format compatibility dialog box for OpenDocument Spreadsheet format

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'disablesaveaslosswarningopendocumentspreadsheet' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TurnOffFileFormatCompatiblityDialogForODS

Block Insecure Protocols in Excel Worksheet Functions

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security
Value nameblockinsecureprotocolworksheetfunctions
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy controls whether the following Excel functions can access the web via insecure protocols: WEBSERVICE, IMPORTCSV, IMPORTTEXT

If you enable this policy setting, WEBSERVICE, IMPORTCSV, and IMPORTTEXT functions will be blocked from accessing the web via insecure protocols.

If you disable or don't configure this policy setting, WEBSERVICE, IMPORTCSV, and IMPORTTEXT functions will be allowed to access the web via insecure protocols.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Block Insecure Protocols in Excel Worksheet Functions

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'blockinsecureprotocolworksheetfunctions' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_BlockInsecureProtocolsInExcelWorksheetFunctions

Force file extension to match file type

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security
OptionValueTypeAllowed values
L_Emptyextensionhardening0 (REG_DWORD) = Allow different
1 (REG_DWORD) = Allow different, but warn
2 (REG_DWORD) = Always match file type
What it does (vendor explanation)

This policy setting controls how Excel loads file types that do not match their extension. Excel can load files with extensions that do not match the files' type. For example, if a comma-separated values (CSV) file named example.csv is renamed example.xls (or any other file extension supported by Excel 2003 and earlier only), Excel can properly load it as a CSV file.

If you enable this policy setting, you can choose from three options for working with files that have non-matching extensions:

- Allow different - Excel opens the files properly without warning users that the files have non-matching extensions. If users subsequently edit and save the files, Excel preserves both the true, underlying file format and the incorrect file extension.

- Allow different, but warn - Excel opens the files properly, but warns users about the file type mismatch. This option is the default configuration in Excel.

- Always match file type - Excel does not open any files that have non-matching extensions.

If you disable or do not configure this policy setting, if users attempt to open files with the wrong extension, Excel opens the file and displays a warning that the file type is not what Excel expected.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Force file extension to match file type

PowerShell equivalent (generated from the template)
# L_Empty
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'extensionhardening' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Forcefileextenstionstomatch

Perform file validation on pivot caches

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\filevalidation
OptionValueTypeAllowed values
L_PerformFileValidationOnPivotCachesDropIDpivotoptions0 (REG_DWORD) = No file validation
1 (REG_DWORD) = Web and email sources
2 (REG_DWORD) = Always perform validation
What it does (vendor explanation)

This policy key configures whether or not pivot caches should go through file validation and get scanned for security problems when documents in Excel 97-2003 format are opened.

If you enable this policy setting, you may select one of these options:

- No file validation: Never perform file validation on pivot caches for all Excel files (not recommended). - Web and email sources: Perform file validation on pivot caches for documents that come from the web and email, in addition to all documents that trigger pivot caches on load (default). - Always perform validation: Always perform file validation on pivot caches for all Excel files.

This setting can be overridden by the Object Model property Application.FileValidationPivot.

If you disable or do not configure this policy setting, the "Web and email source" setting will apply.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Perform file validation on pivot caches

PowerShell equivalent (generated from the template)
# L_PerformFileValidationOnPivotCachesDropID
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation' -Name 'pivotoptions' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_PerformFileValidationOnPivotCaches

Scan encrypted macros in Excel Open XML workbooks

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security
OptionValueTypeAllowed values
L_DeterminewhethertoforceencryptedExcelDropIDexcelbypassencryptedmacroscan0 (REG_DWORD) = Scan encrypted macros (default)
1 (REG_DWORD) = Scan if anti-virus software available
2 (REG_DWORD) = Load macros without scanning
What it does (vendor explanation)

This policy setting controls whether encrypted macros in Open XML workbooks be are required to be scanned with anti-virus software before being opened.

If you enable this policy setting, you may choose one of these options:

- Scan encrypted macros: encrypted macros are disabled unless anti-virus software is installed. Encrypted macros are scanned by your anti-virus software when you attempt to open an encrypted workbook that contains macros. - Scan if anti-virus software available: if anti-virus software is installed, scan the encrypted macros first before allowing them to load. If anti-virus software is not available, allow encrypted macros to load. - Load macros without scanning: do not check for anti-virus software and allow macros to be loaded in an encrypted file.

If you disable or do not configure this policy setting, the behavior will be similar to the "Scan encrypted macros" option.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Scan encrypted macros in Excel Open XML workbooks

PowerShell equivalent (generated from the template)
# L_DeterminewhethertoforceencryptedExcelDropID
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'excelbypassencryptedmacroscan' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DeterminewhethertoforceencryptedExcel

Turn off file validation

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\filevalidation
Value nameenableonload
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you turn off the file validation feature.

If you enable this policy setting, file validation will be turned off.

If you disable or do not configure this policy setting, file validation will be turned on. Office Binary Documents (97-2003) are checked to see if they conform against the file format schema before they are opened.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Turn off file validation

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation' -Name 'enableonload' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TurnOffFileValidation

WEBSERVICE Function Notification Settings

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security
OptionValueTypeAllowed values
L_WebContentWarningLevelValuewebservicefunctionwarnings0 (REG_DWORD) = Enable all WEBSERVICE functions (not recommended)
1 (REG_DWORD) = Disable all with notification
2 (REG_DWORD) = Disable all without notification
What it does (vendor explanation)

This policy setting controls how Excel will warn users when WEBSERVICE functions are present.

If you enable this policy setting, you can choose from three options for determining how the specified applications will warn the user about WEBSERVICE functions:

- Disable all with notification: The application displays the Trust Bar for all WEBSERVICE functions. This option enforces the default configuration in Office. - Disable all without notification: The application disables all WEBSERVICE functions and does not notify users. - Enable all WEBSERVICE functions (not recommended): The application enables all WEBSERVICE functions and does not notify users. This option can significantly reduce security by allowing information disclosure to third party web services.

If you disable this policy setting, the “Disable all with notification” will be the default setting. If you do not configure this policy setting, when users open workbooks that contain WEBSERVICE functions, Excel will open the files with the WEBSERVICE functions disabled and display the Trust Bar with a warning that WEBSERVICE functions are present and have been disabled. Users can inspect and edit the files if appropriate, but cannot use any disabled functionality until they enable it by clicking "Enable Content" on the Trust Bar. If the user clicks "Enable Content," then the document is added as a trusted document.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > WEBSERVICE Function Notification Settings

PowerShell equivalent (generated from the template)
# L_WebContentWarningLevelValue
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'webservicefunctionwarnings' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_WebContentWarningLevel

Configure CNG cipher chaining mode

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\crypto
OptionValueTypeAllowed values
L_ConfigureCNGCipherChainingModeDropIDcipherchainingChainingModeCBC (REG_SZ) = Cipher Block Chaining (CBC)
ChainingModeCFB (REG_SZ) = Cipher Feedback (CFB)
What it does (vendor explanation)

This policy setting allows you to configure the cipher chaining mode used.

If you enable this policy setting, the cipher chaining mode specified will be applied.

If you disable or do not configure this policy setting, Cipher Block Chaining (CBC) will be the default CNG cipher chaining mode used.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Cryptography > Configure CNG cipher chaining mode

PowerShell equivalent (generated from the template)
# L_ConfigureCNGCipherChainingModeDropID
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\crypto' -Name 'cipherchaining' -Value ChainingModeCBC -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningTLS, SSL and cryptographyMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_ConfigureCNGCipherChainingMode

Set CNG cipher algorithm

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\crypto
OptionValueTypeAllowed values
CNG cipher algorithm:cipheralgorithmREG_SZText
What it does (vendor explanation)

This policy setting allows you to configure the CNG cipher algorithm that is used.

If you enable this policy setting, then the cipher provided will be used if it is a supported algorithm.

If you disable or do not configure this policy setting, AES will be used.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Cryptography > Set CNG cipher algorithm

PowerShell equivalent (generated from the template)
# CNG cipher algorithm:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\crypto' -Name 'cipheralgorithm' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningTLS, SSL and cryptographyMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_SetCNGCipherAlgorithm

Set CNG cipher key length

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\crypto
OptionValueTypeAllowed values
Cipher key lengthcipherkeybitsREG_DWORDNumber 0 to 1000000
What it does (vendor explanation)

This policy setting allows you to configure the number of bits to use when creating the cipher key. This number will be rounded down to a multiple of 8.

If you enable this policy setting, the key bits specified will be used.

If you disable or do not configure this policy setting, the default value will be used.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Cryptography > Set CNG cipher key length

PowerShell equivalent (generated from the template)
# Cipher key length
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\crypto' -Name 'cipherkeybits' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningTLS, SSL and cryptographyMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_SetCNGCipherKeyLength

Set CNG password spin count

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\crypto
OptionValueTypeAllowed values
L_SetCNGPasswordSpinCountSpinIDpasswordspincountREG_DWORDNumber 0 to 10000000
What it does (vendor explanation)

This policy setting allows you to specify the number of times to spin (rehash) the password verifier.

If you enable this policy setting, the number specified will be the number of times the password will be rehashed.

If you disable or do not configure this policy setting, the default (100000) will be used.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Cryptography > Set CNG password spin count

PowerShell equivalent (generated from the template)
# L_SetCNGPasswordSpinCountSpinID
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\crypto' -Name 'passwordspincount' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningTLS, SSL and cryptographyMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_SetCNGPasswordSpinCount

Set parameters for CNG context

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\crypto
OptionValueTypeAllowed values
ParameterscontextREG_SZText
What it does (vendor explanation)

This policy setting allows you to specify the encryption parameters that should be used for the CNG context.

If you enable this policy setting, the parameters specified will be passed to the CNG context.

If you disable or do not configure this policy setting, the default CNG values will be used.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Cryptography > Set parameters for CNG context

PowerShell equivalent (generated from the template)
# Parameters
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\crypto' -Name 'context' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningTLS, SSL and cryptographyMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_SetParametersForCNGContext

Specify CNG hash algorithm

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\crypto
OptionValueTypeAllowed values
L_SpecifyCNGHashAlgorithmDropIDhashalgorithmSHA1 (REG_SZ) = SHA1
SHA256 (REG_SZ) = SHA256
SHA384 (REG_SZ) = SHA384
SHA512 (REG_SZ) = SHA512
What it does (vendor explanation)

This policy setting allows you to specify the hash algorithm used.

If you enable this policy setting, the hashing algorithm selected will be used by CNG.

If you disable or do not configure this policy setting, the default CNG hash algorithm will be used.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Cryptography > Specify CNG hash algorithm

PowerShell equivalent (generated from the template)
# L_SpecifyCNGHashAlgorithmDropID
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\crypto' -Name 'hashalgorithm' -Value SHA1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningTLS, SSL and cryptographyMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_SpecifyCNGHashAlgorithm

Specify CNG random number generator algorithm

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\crypto
OptionValueTypeAllowed values
Random number generator:rngalgorithmREG_SZText
What it does (vendor explanation)

This policy setting allows you to configure the CNG random number generator to use.

If you enable this policy setting, the random number generator specified will be used.

If you disable or do not configure this policy setting, the default random number generator will be used.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Cryptography > Specify CNG random number generator algorithm

PowerShell equivalent (generated from the template)
# Random number generator:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\crypto' -Name 'rngalgorithm' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningTLS, SSL and cryptographyMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_SpecifyCNGRandomNumberGeneratorAlgorithm

Specify CNG salt length

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\crypto
OptionValueTypeAllowed values
Number of bytessaltbytesREG_DWORDNumber 0 to 5000
What it does (vendor explanation)

This policy setting allows you to specific the number of bytes of salt that should be used.

If you enable this policy setting, the bytes specified will be used.

If you disable or do not configure this policy setting, the default length or 16 will be used.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Cryptography > Specify CNG salt length

PowerShell equivalent (generated from the template)
# Number of bytes
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\crypto' -Name 'saltbytes' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningTLS, SSL and cryptographyMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_SpecifyCNGSaltLength

Specify encryption compatibility

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\crypto
OptionValueTypeAllowed values
L_SpecifyEncryptionCompatibilityDropIDcompatmode0 (REG_DWORD) = Use legacy format
1 (REG_DWORD) = Use next generation format
2 (REG_DWORD) = All files save with next generation format
What it does (vendor explanation)

This policy setting allows you to specify the encrypted database compatibility.

If you enable this policy setting, the compatibility format specified will be applied during encryption for new files - Use legacy format - Use next generation format - All files save with next generation format

If you disable or do not configure this policy setting, the default setting, "Use next generation format," will be applied.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Cryptography > Specify encryption compatibility

PowerShell equivalent (generated from the template)
# L_SpecifyEncryptionCompatibilityDropID
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\crypto' -Name 'compatmode' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningTLS, SSL and cryptographyMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_SpecifyEncryptionCompatibility

Use new key on password change

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\crypto
Value namenewkeyonpwdchange
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify if a new encryption key is used when the password is changed.

If you enable or do not configure this policy setting, a new intermediate key is generated when the password is changed. This causes any extra key encryptors to be removed when the file is saved.

If you disable this policy setting, a new intermediate key is not generated when the password is changed.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Cryptography > Use new key on password change

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\crypto' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\crypto' -Name 'newkeyonpwdchange' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningTLS, SSL and cryptographyMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_UseNewKeyOnPasswordChange

Block Excel XLL Add-ins that come from an untrusted source

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows 10 (from the template reference name SUPPORTED_Windows_10_0)

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security
OptionValueTypeAllowed values
L_BlockXLLFromInternetEnumblockxllfrominternet1 (REG_DWORD) = Block
0 (REG_DWORD) = Show Additional Warning
2 (REG_DWORD) = Allow
What it does (vendor explanation)

This policy setting allows you to block Excel XLL Add-ins that come from an untrusted source.

If you enable this policy setting, you can set one of these options: - Block: XLL add-ins from untrusted sources are blocked. Users will receive a notification that the add-in was blocked. - Show Additional Warning: Show an additional warning prompt after the user chooses to enable an XLL add-in from an untrusted source. - Allow: XLL add-ins from an untrusted source are allowed.

The exceptions when Excel XLL Add-ins will be allowed to run are: - The XLL is stored in a Trusted Location. - The XLL is digitally signed and the matching Trusted Publisher certificate is installed on the device.

If you disable this policy setting, the settings configured in the Macro and Add-in Settings sections of the Trust Center determine whether Excel XLL Add-ins that come from an untrusted source will be allowed.

If you disable or do not configure this policy setting, users will be able to override default behavior by modifying the registry.

For more information, see https://support.microsoft.com/topic/1e3752e2-1177-4444-a807-7b700266a6fb.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Block Excel XLL Add-ins that come from an untrusted source

PowerShell equivalent (generated from the template)
# L_BlockXLLFromInternetEnum
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'blockxllfrominternet' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_BlockXLLFromInternet

Block macros from running in Office files from the internet

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security
Value nameblockcontentexecutionfrominternet
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to block macros from running in Office files that come from the internet.

If you enable this policy setting, macros are blocked from running, even if "Enable all macros" is selected in the Macro Settings section of the Trust Center. Users will receive a notification that macros are blocked from running.

The exceptions when macros will be allowed to run are: - The Office file is saved to a Trusted Location. - The Office file was previously trusted by the user. - Macros are digitally signed and the matching Trusted Publisher certificate is installed on the device.

If you disable this policy setting, the settings configured in the Macro Settings section of the Trust Center determine whether macros run in Office files that come from the internet.

If you don’t configure this policy setting, macros will be blocked from running. Users will receive a notification telling them of the security risks of macros from the internet along with a link to learn more.

For more information, see https://go.microsoft.com/fwlink/p/?linkid=2185771.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Block macros from running in Office files from the internet

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'blockcontentexecutionfrominternet' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_BlockMacroExecutionFromInternet

Disable Trust Bar Notification for unsigned application add-ins and block them

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security
Value namenotbpromptunsignedaddin
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether the specified Office 2016 applications notify users when unsigned application add-ins are loaded or silently disable such add-ins without notification. This policy setting only applies if you enable the ''Require that application add-ins are signed by Trusted Publisher'' policy setting, which prevents users from changing this policy setting. If you enable this policy setting, applications automatically disable unsigned add-ins without informing users.

If you disable this policy setting, if an application is configured to require that all add-ins be signed by a trusted publisher, any unsigned add-ins the application loads will be disabled and the application will display the Trust Bar at the top of the active window. The Trust Bar contains a message that informs users about the unsigned add-in.

If you do not configure this policy setting, the disable behavior applies, and in addition, users can configure this requirement themselves in the ''Add-ins'' category of the Trust Center for the application.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Disable Trust Bar Notification for unsigned application add-ins and block them

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'notbpromptunsignedaddin' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DisableTrustBarNotificationforunsigned

Disable all application add-ins

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security
Value namedisablealladdins
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting disables all add-ins for the specified Office 2016 applications.

If you enable this policy setting, all add-ins for the specified Office 2016 applications are disabled.

If you disable or do not configure this policy setting, all add-ins for the specified Office 2016 applications are allowed to run without notifying the users, except if application add-ins are required to be signed by Trusted Publishers.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Disable all application add-ins

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'disablealladdins' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Disableallapplicationextensions

Macro Notification Settings

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security
OptionValueTypeAllowed values
L_empty4vbawarnings4 (REG_DWORD) = Disable VBA macros without notification
2 (REG_DWORD) = Disable VBA macros with notification
3 (REG_DWORD) = Disable VBA macros except digitally signed macros
1 (REG_DWORD) = Enable VBA macros (not recommended)
Enable Excel 4.0 macros when VBA macros are enabledxl4macrowarningfollowvbaREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
Require macros to be signed by a trusted publishervbadigsigtrustedpublishersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
Block certificates from trusted publishers that are only installed in the current user certificate storevbarequirelmtrustedpublisherREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
Require Extended Key Usage (EKU) for certificates from trusted publishersvbarequiredigsigwithcodesigningekuREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls how the specified applications warn users when Visual Basic for Applications (VBA) macros or Excel 4.0 (XLM) macros are present. Multiple Office apps support VBA macros, but XLM macros are only supported by Excel.

If you enable this policy setting, you can choose from four options to determine how the specified applications will warn the user about VBA macros. There is also a check box that determines how Excel will warn the user about XLM macros.

For VBA macros, these are your choices:

- Disable VBA macros without notification: The application disables VBA macros, whether signed or unsigned, and does not notify users.

- Disable VBA macros with notification: The application displays the Trust Bar for VBA macros, whether signed or unsigned. This option enforces the default configuration in Office.

- Disable VBA macros except digitally signed macros: The application displays the Trust Bar for digitally signed macros, allowing users to enable them or leave them disabled. Any unsigned macros are disabled, and users are not notified.

- Enable VBA macros (not recommended): VBA macros are enabled, whether signed or unsigned. This option can significantly reduce security by allowing dangerous code to run undetected.

If you disable or don’t configure this policy setting, "Disable VBA macros with notification" will be the default setting, and “Enable Excel 4.0 macros when VBA macros are enabled” will be checked. When users open files in the specified applications that contain VBA or XLM macros, the applications open the files with the macros disabled and display the Trust Bar with a warning that macros are present and have been disabled. Users can inspect and edit the files if appropriate, but cannot use any disabled functionality until they enable it by clicking "Enable Content" on the Trust Bar.

The following section only applies to Excel 4.0 (XLM) macros:

If you select the “Enable Excel 4.0 macros when VBA macros are enabled” check box, the setting selected for VBA macros will also apply to XLM macros. If this check box is not selected, all XLM macros are disabled and users are not notified.

XLM macros cannot be signed and will be disabled if “Disable VBA macros except digitally signed macros” is chosen.

If you have enabled the “Prevent Excel from running XLM macros” policy setting, XLM macros cannot be run in Excel regardless of how you have configured this policy setting.

The following section only applies to VBA macros:

If you select the “Require macros to be signed by a trusted publisher” check box, users opening files with digitally signed macros but not by a Trusted Publisher will receive a notification that macros are blocked from running.

And there are two additional check boxes that we recommend that you select to help improve security.

- Block certificates from trusted publishers that are installed in the current user certificate store

- Require Extended Key Usage (EKU) for certificates from trusted publishers

Note: These two check boxes only apply if you have selected the "Require macros to be signed by a trusted publisher" check box.

Note: The three check boxes about trusted publishers only apply to Version 2012 and later of Office and Visio. The “Enable Excel 4.0 macros when VBA macros are enabled” check box only applies to Version 2111 and later of Office. None of the check boxes apply to Office 2016 or Office 2019.

If you select the “Block certificates from trusted publishers that are installed in the local machine certificate store” check box, macros won’t run if the certificate from the trusted publisher is installed in the current user certificate store. The certificate must be installed in the local machine certificate store for the macro to run. Only accounts with administrator access to the computer can install a certificate in the local machine certificate store.

If you select the “Require Extended Key Usage (EKU) for certificates from trusted publishers” check box, the EKU must include “Code Signing” as one of the uses of the certificate.

Important: If "Disable all except digitally signed macros" is selected, users will not be able to open unsigned Access databases.

Also, note that Microsoft Office stores certificates for trusted publishers in the Internet Explorer trusted publisher store. Earlier versions of Microsoft Office stored trusted publisher certificate information (specifically, the certificate thumbprint) in a special Office trusted publisher store. Microsoft Office still reads trusted publisher certificate information from the Office trusted publisher store, but it does not write information to this store.

Therefore, if you created a list of trusted publishers in a previous version of Microsoft Office and you upgrade to Office, your trusted publisher list will still be recognized. However, any trusted publisher certificates that you add to the list will be stored in the Internet Explorer trusted publisher store.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Macro Notification Settings

PowerShell equivalent (generated from the template)
# L_empty4
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'vbawarnings' -Value 4 -PropertyType DWord -Force
# Enable Excel 4.0 macros when VBA macros are enabled
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'xl4macrowarningfollowvba' -Value <value> -PropertyType DWord -Force
# Require macros to be signed by a trusted publisher
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'vbadigsigtrustedpublishers' -Value <value> -PropertyType DWord -Force
# Block certificates from trusted publishers that are only installed in the current user certificate store
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'vbarequirelmtrustedpublisher' -Value <value> -PropertyType DWord -Force
# Require Extended Key Usage (EKU) for certificates from trusted publishers
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'vbarequiredigsigwithcodesigningeku' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_VBAWarningsPolicy

Prevent Excel from running XLM macros

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security
Value namexl4macrooff
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting will prevent Excel from running Excel 4.0 (XLM) macros.

If you enable this policy setting, XLM macros cannot be run in Excel.

If you disable or don’t configure this policy setting, XLM macros can be run in Excel.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Prevent Excel from running XLM macros

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'xl4macrooff' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_XL4KillSwitchPolicy

Require that application add-ins are signed by Trusted Publisher

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security
Value namerequireaddinsig
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether add-ins for the specified Office 2016 applications must be digitally signed by a trusted publisher.

If you enable this policy setting, this application checks the digital signature for each add-in before loading it. If an add-in does not have a digital signature, or if the signature did not come from a trusted publisher, this application disables the add-in and notifies the user. Certificates must be added to the Trusted Publishers list if you require that all add-ins be signed by a trusted publisher. For detail on about obtaining and distributing certificates, see http://go.microsoft.com/fwlink/?LinkId=294922. Office 2016 stores certificates for trusted publishers in the Internet Explorer trusted publisher store. Earlier versions of Microsoft Office stored trusted publisher certificate information (specifically, the certificate thumbprint) in a special Office trusted publisher store. Office 2016 still reads trusted publisher certificate information from the Office trusted publisher store, but it does not write information to this store. Therefore, if you created a list of trusted publishers in a previous version of Office and you upgrade to Office 2016, your trusted publisher list will still be recognized. However, any trusted publisher certificates that you add to the list will be stored in the Internet Explorer trusted publisher store. For more information about trusted publishers, see the Office Resource Kit.

If you disable or do not configure this policy setting, Office 2016 applications do not check the digital signature on application add-ins before opening them. If a dangerous add-in is loaded, it could harm users' computers or compromise data security.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Require that application add-ins are signed by Trusted Publisher

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'requireaddinsig' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_RequirethatApplicationExtensionsaresigned

Set maximum number of trust records to preserve

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted documents
OptionValueTypeAllowed values
Maximum to preserve:maxpreservetrusteddocumentsREG_DWORDNumber 0 to 20000
What it does (vendor explanation)

This policy setting allows you to specify the maximum number of trust records to preserve when the purge task detects that this application has trusted more than the number of trusted documents set by the "Set maximum number of trusted documents" policy setting.

If you enable this policy setting, you may specify the maximum number of trust records to preserve, with an upper limit of 20000. Due to performance reasons, it is not recommended to set it to the upper limit.

If you disable or you do not configure this policy setting, the default value for of 400 is used.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Set maximum number of trust records to preserve

PowerShell equivalent (generated from the template)
# Maximum to preserve:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted documents' -Name 'maxpreservetrusteddocuments' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_SetMaximumNumberOfTrustRecordsToPreserve

Set maximum number of trusted documents

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted documents
OptionValueTypeAllowed values
Maximum number:maxtrusteddocumentsREG_DWORDNumber 0 to 20000
What it does (vendor explanation)

This policy setting allows you to specify the maximum number of trust records for trusted documents that can be stored in the registry before the purge task runs. The purge task reduces the number of trusted documents stored in the registry to the value set by the "Set maximum number of trust records to preserve" policy setting.

If you enable this policy setting, you can specify the maximum number of trusted documents to be stored in the registry before the purge task runs, with an upper limit of 20,000 documents. For performance reasons, we do not recommend setting this policy setting to the upper limit.

If you disable or do not configure this policy setting, the default value of 500 is used for the maximum number of trusted documents that can be stored in the registry before the purge task runs.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Set maximum number of trusted documents

PowerShell equivalent (generated from the template)
# Maximum number:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted documents' -Name 'maxtrusteddocuments' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_SetMaximumNumberOfTrustedDocuments

Store macro in Personal Macro Workbook by default

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options\binaryoptions
Value namefglobalsheet_37_1
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls the default location for storing macros in Excel.

If this policy setting is enabled, Excel stores macros in users' personal macro workbook.

If you disable or do not configure this policy setting, Excel stores macros in the active workbook from which they are created.

Note: In the user interface (UI), the "Store macro in" drop down list box in the Record Macro dialog box (Macros | Record Macro) allows users to choose whether to store the new macro in the current workbook, a new workbook, or their personal macro workbook (Personal.xlsb), a hidden workbook that opens every time Excel starts.

By default, Excel displays the "Store macro in" box with "This Workbook" already selected in the drop-down list. If a user saves a macro in the active workbook and then distributes the workbook to others, the macro is distributed along with the workbook. If you enable this policy setting, Excel displays the "Store macro in" box with "Personal Macro Workbook" already selected. Users can still select one of the other two options in the drop-down menu.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Store macro in Personal Macro Workbook by default

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options\binaryoptions' -Name 'fglobalsheet_37_1' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_StoremacroinPersonalMacroWorkbookbydefault

Trust access to Visual Basic Project

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security
Value nameaccessvbom
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether automation clients such as Microsoft Visual Studio 2005 Tools for Microsoft Office (VSTO) can access the Visual Basic for Applications project system in the specified applications. VSTO projects require access to the Visual Basic for Applications project system in Excel, PowerPoint, and Word, even though the projects do not use Visual Basic for Applications. Design-time support of controls in both Visual Basic and C# projects depends on the Visual Basic for Applications project system in Word and Excel.

If you enable this policy setting, VSTO and other automation clients can access the Visual Basic for Applications project system in the specified applications. Users will not be able to change this behavior through the "Trust access to the VBA project object model" user interface option under the Macro Settings section of the Trust Center.

If you disable this policy setting, VSTO does not have programmatic access to VBA projects. In addition, the "Trust access to the VBA project object model" check box is cleared and users cannot change it. Note: Disabling this policy setting prevents VSTO projects from interacting properly with the VBA project system in the selected application.

If you do not configure this policy setting, automation clients do not have programmatic access to VBA projects. Users can enable this by selecting the "Trust access to the VBA project object model" in the "Macro Settings" section of the Trust Center. However, doing so allows macros in any documents the user opens to access the core Visual Basic objects, methods, and properties, which represents a potential security hazard.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trust access to Visual Basic Project

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'accessvbom' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustaccesstoVisualBasicProject

Turn off Trusted Documents on the network

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted documents
Value namedisablenetworktrusteddocuments
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to turn off the trusted documents feature for documents opened from the network.

If you enable this policy setting, users will always see security notifications for active content such as macros, ActiveX controls, data connections, etc. for documents opened from the network.

If you disable or do not configure this policy setting, the trusted documents feature allows users to always allow active content in documents such as macros, ActiveX controls, data connections, etc. so that users are not prompted the next time they open the documents. Trusted documents are exempt from security notifications.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Turn off Trusted Documents on the network

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted documents' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted documents' -Name 'disablenetworktrusteddocuments' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TurnOffTrustedDocumentsOnTheNetwork

Turn off trusted documents

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted documents
Value namedisabletrusteddocuments
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to turn off the trusted documents feature. The trusted documents feature allows users to always enable active content in documents such as macros, ActiveX controls, data connections, etc. so that they are not prompted the next time they open the documents. Trusted documents are exempt from security notifications.

If you enable this policy setting, you will turn off the trusted documents feature. Users will receive a security prompt every time a document containing active content is opened.

If you disable or do not configure this policy setting, documents will be trusted when users enable content for a document, and users will not receive a security prompt.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Turn off trusted documents

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted documents' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted documents' -Name 'disabletrusteddocuments' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TurnOffTrustedDocuments

Always prevent untrusted Microsoft Query files from opening

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\external content
Value nameenableblockunsecurequeryfiles
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether Microsoft Query files (.iqy, oqy, .dqy, and .rqy) in an untrusted location are prevented from opening.

If you enable this policy setting, Microsoft Query files in an untrusted location are prevented from opening. Users will not be able to change this setting under File > Options > Trust Center > Trust Center Settings > External Content.

If you disable or don’t configure this policy setting, Microsoft Query files in an untrusted location are not prevented from opening, unless users have changed this setting in the Trust Center.

Note: This policy setting only applies to subscription versions of Office, such as Microsoft 365 Apps for enterprise.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > External Content > Always prevent untrusted Microsoft Query files from opening

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\external content' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\external content' -Name 'enableblockunsecurequeryfiles' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_EnableBlockUnsecureQueryFiles

Don’t allow Dynamic Data Exchange (DDE) server launch in Excel

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\external content
Value namedisableddeserverlaunch
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to control whether Dynamic Data Exchange (DDE) server launch is allowed.

By default, DDE server launch is turned off, but users can turn on DDE server launch by going to File > Options > Trust Center > Trust Center Settings > External Content.

For security reasons, turning on DDE server launch is not recommended.

Note: For DDE server launch to work, Dynamic Data Exchange (DDE) server lookup must be turned on. Be sure that the “Don’t allow Dynamic Data Exchange (DDE) server lookup” policy setting isn’t enabled, because enabling that policy setting turns off DDE server lookup.

If you enable this policy setting, DDE server launch isn’t allowed, and users can’t turn on DDE server launch in the Trust Center.

If you disable this policy setting, DDE server launch is allowed, and users cannot turn off DDE server launch in the Trust Center. For security reasons, this is not recommended.

If you don’t configure this policy setting, DDE server launch is turned off, but users can turn on DDE server launch in the Trust Center.

Note: This policy setting only applies to subscription versions of Office, such as Microsoft 365 Apps for enterprise.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > External Content > Don’t allow Dynamic Data Exchange (DDE) server launch in Excel

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\external content' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\external content' -Name 'disableddeserverlaunch' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DisableDDEServerLaunch

Don’t allow Dynamic Data Exchange (DDE) server lookup in Excel

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\external content
Value namedisableddeserverlookup
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to control whether Dynamic Data Exchange (DDE) server lookup is allowed.

By default, DDE server lookup is turned on, but users can turn off DDE server lookup by going to File > Options > Trust Center > Trust Center Settings > External Content.

If you enable this policy setting, DDE server lookup isn’t allowed, and users can’t turn on DDE server lookup in the Trust Center.

Note: If you’re using Dynamic Data Exchange (DDE) server launch, which isn’t recommended, don’t enable this policy setting, because DDE server launch requires DDE server lookup to be on.

If you disable or don’t configure this policy setting, DDE server lookup is turned on, but users can turn off DDE server lookup in the Trust Center.

Note: This policy setting only applies to subscription versions of Office, such as Microsoft 365 Apps for enterprise.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > External Content > Don’t allow Dynamic Data Exchange (DDE) server lookup in Excel

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\external content' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\external content' -Name 'disableddeserverlookup' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DisableDDEServerLookup

Dif and Sylk files

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:difandsylkfiles0 (REG_DWORD) = Do not block
1 (REG_DWORD) = Save blocked
2 (REG_DWORD) = Open/Save blocked, use open policy
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Dif and Sylk files

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'difandsylkfiles' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DifAndSylkFiles

Excel 2 macrosheets and add-in files

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xl2macros0 (REG_DWORD) = Do not block
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel 2 macrosheets and add-in files

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xl2macros' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Excel2MacrosheetsAndAddInFiles

Excel 2 worksheets

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xl2worksheets0 (REG_DWORD) = Do not block
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel 2 worksheets

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xl2worksheets' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Excel2Worksheets

Excel 2007 and later add-in files

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xlamfiles0 (REG_DWORD) = Do not block
1 (REG_DWORD) = Save blocked
2 (REG_DWORD) = Open/Save blocked, use open policy
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel 2007 and later add-in files

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xlamfiles' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Excel2007AndLaterAddInFiles

Excel 2007 and later binary workbooks

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xlsbfiles0 (REG_DWORD) = Do not block
1 (REG_DWORD) = Save blocked
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel 2007 and later binary workbooks

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xlsbfiles' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Excel2007AndLaterBinaryWorkbooks

Excel 2007 and later macro-enabled workbooks and templates

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xlsmandxltmfiles0 (REG_DWORD) = Do not block
1 (REG_DWORD) = Save blocked
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel 2007 and later macro-enabled workbooks and templates

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xlsmandxltmfiles' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Excel2007AndLaterMacroEnabledWorkbooksAndTemplates

Excel 2007 and later workbooks and templates

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xlsxandxltxfiles0 (REG_DWORD) = Do not block
1 (REG_DWORD) = Save blocked
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel 2007 and later workbooks and templates

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xlsxandxltxfiles' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Excel2007AndLaterWorkbooksandTemplates

Excel 3 macrosheets and add-in files

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xl3macros0 (REG_DWORD) = Do not block
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel 3 macrosheets and add-in files

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xl3macros' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Excel3MacrosheetsAndAddInFiles

Excel 3 worksheets

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xl3worksheets0 (REG_DWORD) = Do not block
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel 3 worksheets

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xl3worksheets' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Excel3Worksheets

Excel 4 macrosheets and add-in files

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xl4macros0 (REG_DWORD) = Do not block
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel 4 macrosheets and add-in files

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xl4macros' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Excel4MacrosheetsAndAddInFiles

Excel 4 workbooks

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xl4workbooks0 (REG_DWORD) = Do not block
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel 4 workbooks

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xl4workbooks' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Excel4Workbooks

Excel 4 worksheets

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xl4worksheets0 (REG_DWORD) = Do not block
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel 4 worksheets

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xl4worksheets' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Excel4Worksheets

Excel 95 workbooks

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xl95workbooks0 (REG_DWORD) = Do not block
1 (REG_DWORD) = Save blocked
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel 95 workbooks

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xl95workbooks' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Excel95Workbooks

Excel 95-97 workbooks and templates

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xl9597workbooksandtemplates0 (REG_DWORD) = Do not block
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel 95-97 workbooks and templates

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xl9597workbooksandtemplates' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Excel9597WorkbooksAndTemplates

Excel 97-2003 add-in files

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xl97addins0 (REG_DWORD) = Do not block
1 (REG_DWORD) = Save blocked
2 (REG_DWORD) = Open/Save blocked, use open policy
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel 97-2003 add-in files

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xl97addins' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Excel972003AddInFiles

Excel 97-2003 workbooks and templates

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xl97workbooksandtemplates0 (REG_DWORD) = Do not block
1 (REG_DWORD) = Save blocked
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel 97-2003 workbooks and templates

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xl97workbooksandtemplates' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Excel972003WorkbooksAndTemplates

Excel add-in files

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xllfiles0 (REG_DWORD) = Do not block
2 (REG_DWORD) = Open/Save blocked, use open policy
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Excel add-in files

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xllfiles' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_ExcelAddInFiles

Legacy converters for Excel

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:converters0 (REG_DWORD) = Do not block
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Legacy converters for Excel

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'converters' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_LegacyConvertersForExcel

Microsoft Office Open XML converters for Excel

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:ooxmlconverters0 (REG_DWORD) = Do not block
1 (REG_DWORD) = Save blocked
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Microsoft Office Open XML converters for Excel

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'ooxmlconverters' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_MicrosoftOfficeOpenXMLConvertersForExcel

Microsoft Office data connection files

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:officedataconnections0 (REG_DWORD) = Do not block
2 (REG_DWORD) = Open/Save blocked, use open policy
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Microsoft Office data connection files

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'officedataconnections' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_OfficeDataConnectionFiles

Microsoft Office query files

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:officequeries0 (REG_DWORD) = Do not block
1 (REG_DWORD) = Save blocked
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Microsoft Office query files

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'officequeries' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_MicrosoftOfficeQueryFiles

Offline cube files

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:offlinecubefiles0 (REG_DWORD) = Do not block
2 (REG_DWORD) = Open/Save blocked, use open policy
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Offline cube files

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'offlinecubefiles' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_OfflineCubeFiles

OpenDocument Spreadsheet files

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:opendocumentspreadsheet0 (REG_DWORD) = Do not block
1 (REG_DWORD) = Save blocked
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > OpenDocument Spreadsheet files

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'opendocumentspreadsheet' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_OpenDocumentSpreadsheetFiles

Other data source files

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:officedatasources0 (REG_DWORD) = Do not block
2 (REG_DWORD) = Open/Save blocked, use open policy
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Other data source files

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'officedatasources' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_OtherDataSourceFiles

Set default file block behavior

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
L_SetDefaultFileBlockBehaviorDropIDopeninprotectedview0 (REG_DWORD) = Blocked files are not opened
1 (REG_DWORD) = Blocked files open in Protected View and can not be edited
2 (REG_DWORD) = Blocked files open in Protected View and can be edited
What it does (vendor explanation)

This policy setting allows you to determine if users can open, view, or edit Excel files.

If you enable this policy setting, you can set one of these options: - Blocked files are not opened - Blocked files open in Protected View and can not be edited - Blocked files open in Protected View and can be edited

If you disable or do not configure this policy setting, users will be able to open blocked files, but not edit them.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Set default file block behavior

PowerShell equivalent (generated from the template)
# L_SetDefaultFileBlockBehaviorDropID
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'openinprotectedview' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_SetDefaultFileBlockBehavior

Text files

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:textfiles0 (REG_DWORD) = Do not block
1 (REG_DWORD) = Save blocked
2 (REG_DWORD) = Open/Save blocked, use open policy
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Text files

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'textfiles' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TextFiles

Web pages and Excel 2003 XML spreadsheets

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:htmlandxmlssfiles0 (REG_DWORD) = Do not block
1 (REG_DWORD) = Save blocked
2 (REG_DWORD) = Open/Save blocked, use open policy
3 (REG_DWORD) = Block
4 (REG_DWORD) = Open in Protected View
5 (REG_DWORD) = Allow editing and open in Protected View
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > Web pages and Excel 2003 XML spreadsheets

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'htmlandxmlssfiles' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_WebPagesAndExcel2003XMLSpreadsheets

XML files

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:xmlfiles0 (REG_DWORD) = Do not block
1 (REG_DWORD) = Save blocked
2 (REG_DWORD) = Open/Save blocked, use open policy
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > XML files

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'xmlfiles' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_XMLFiles

dBase III / IV files

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\fileblock
OptionValueTypeAllowed values
File block setting:dbasefiles0 (REG_DWORD) = Do not block
2 (REG_DWORD) = Open/Save blocked, use open policy
What it does (vendor explanation)

This policy setting allows you to determine whether users can open, view, edit, or save Excel files with the format specified by the title of this policy setting.

If you enable this policy setting, you can specify whether users can open, view, edit, or save files.

The options that can be selected are below. Note: Not all options may be available for this policy setting.

- Do not block: The file type will not be blocked.

- Save blocked: Saving of the file type will be blocked.

- Open/Save blocked, use open policy: Both opening and saving of the file type will be blocked. The file will open based on the policy setting configured in the "default file block behavior" key.

- Block: Both opening and saving of the file type will be blocked, and the file will not open.

- Open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit the file type will not be enabled.

- Allow editing and open in Protected View: Both opening and saving of the file type will be blocked, and the option to edit will be enabled.

If you disable or do not configure this policy setting, the file type will not be blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > File Block Settings > dBase III / IV files

PowerShell equivalent (generated from the template)
# File block setting:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\fileblock' -Name 'dbasefiles' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DBaseIIIANDIVFiles

Always open untrusted database files in Protected View

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\protectedview
Value nameenabledatabasefileprotectedview
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether database files (.dbf) opened from an untrusted location are always opened in Protected View.

If you enable this policy setting, database files opened from an untrusted location are always opened in Protected View. Users will not be able to change this setting under File > Options > Trust Center > Trust Center Settings > Protected View.

If you disable or don’t configure this policy setting, database files opened from an untrusted location are not opened in Protected View, unless users have changed this setting in the Trust Center.

Note: This policy setting only applies to subscription versions of Office, such as Microsoft 365 Apps for enterprise.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Protected View > Always open untrusted database files in Protected View

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Name 'enabledatabasefileprotectedview' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_EnableDataBaseFileProtectedView

Always open untrusted text-based files in Protected View

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\protectedview
Value nameenableforeigntextfileprotectedview
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether text-based files (.csv, .dif, and .sylk) opened from an untrusted location are always opened in Protected View.

If you enable this policy setting, text-based files opened from an untrusted location are always opened in Protected View. Users will not be able to change this setting under File > Options > Trust Center > Trust Center Settings > Protected View.

If you disable or don’t configure this policy setting, text-based files opened from an untrusted location are not opened in Protected View, unless users have changed this setting in the Trust Center.

Note: This policy setting only applies to subscription versions of Office, such as Microsoft 365 Apps for enterprise.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Protected View > Always open untrusted text-based files in Protected View

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Name 'enableforeigntextfileprotectedview' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_EnableForeignTextFileProtectedView

Do not open files from the internet zone in Protected View

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\protectedview
Value namedisableinternetfilesinpv
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to determine if files downloaded from the internet zone open in Protected View.

If you enable this policy setting, files downloaded from the internet zone do not open in Protected View.

If you disable or do not configure this policy setting, files downloaded from the internet zone open in Protected View.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Protected View > Do not open files from the internet zone in Protected View

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Name 'disableinternetfilesinpv' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DoNotOpenFilesFromTheInternetZoneInProtectedView

Do not open files in unsafe locations in Protected View

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\protectedview
Value namedisableunsafelocationsinpv
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting lets you determine if files located in unsafe locations will open in Protected View. If you have not specified unsafe locations, only the "Downloaded Program Files" and "Temporary Internet Files" folders are considered unsafe locations.

If you enable this policy setting, files located in unsafe locations do not open in Protected View.

If you disable or do not configure this policy setting, files located in unsafe locations open in Protected View.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Protected View > Do not open files in unsafe locations in Protected View

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Name 'disableunsafelocationsinpv' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DoNotOpenFilesInUnsafeLocationsInProtectedView

Open files on local Intranet UNC in Protected View

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\protectedview
Value namedisableintranetcheck
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting lets you determine if files on local Intranet UNC file shares open in Protected View.

If you enable this policy setting, files on local Intranet UNC file shares open in Protected View if their UNC paths appear to be within the internet zone.

If you disable or do not configure this policy setting, files on Intranet UNC file shares do not open in Protected View if their UNC paths appear to be within the internet zone.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Protected View > Open files on local Intranet UNC in Protected View

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Name 'disableintranetcheck' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_OpenFilesOnLocalIntranetUNCInProtectedView

Set document behavior if file validation fails

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\filevalidation
OptionValueTypeAllowed values
L_SetDocumentBehaviorIfFileValidationFailsDropIDopeninprotectedview0 (REG_DWORD) = Block files
1 (REG_DWORD) = Open in Protected View
Checked: Allow edit. Unchecked: Do not allow edit.disableeditfrompvREG_DWORDChecked: 0 (REG_DWORD); unchecked: 1 (REG_DWORD)
What it does (vendor explanation)

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.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Protected View > Set document behavior if file validation fails

PowerShell equivalent (generated from the template)
# L_SetDocumentBehaviorIfFileValidationFailsDropID
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation' -Name 'openinprotectedview' -Value 0 -PropertyType DWord -Force
# Checked: Allow edit.  Unchecked: Do not allow edit.
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation' -Name 'disableeditfrompv' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_SetDocumentBehaviorIfFileValidationFails

Turn off Protected View for attachments opened from Outlook

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\protectedview
Value namedisableattachmentsinpv
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to determine if Excel files in Outlook attachments open in Protected View.

If you enable this policy setting, Outlook attachments do not open in Protected View.

If you disable or do not configure this policy setting, Outlook attachments open in Protected View.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Protected View > Turn off Protected View for attachments opened from Outlook

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Name 'disableattachmentsinpv' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TurnOffProtectedViewForAttachmentsOpenedFromOutlook

Allow Trusted Locations on the network

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations
Value nameallownetworklocations
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether trusted locations on the network can be used.

If you enable this policy setting, users can specify trusted locations on network shares or in other remote locations that are not under their direct control by clicking the "Add new location" button in the Trusted Locations section of the Trust Center. Content, code, and add-ins are allowed to load from trusted locations with minimal security and without prompting the user for permission.

If you disable this policy setting, the selected application ignores any network locations listed in the Trusted Locations section of the Trust Center.

If you also deploy Trusted Locations via Group Policy, you should verify whether any of them are remote locations. If any of them are remote locations and you do not allow remote locations via this policy setting, those policy keys that point to remote locations will be ignored on client computers.

Disabling this policy setting does not delete any network locations from the Trusted Locations list, but causes disruption for users who add network locations to the Trusted Locations list. Users are also prevented from adding new network locations to the Trusted Locations list in the Trust Center. We recommended that you do not enable this policy setting (as the "Allow Trusted Locations on my network (not recommended)" check box also states). Therefore, in practice, it should be possible to disable this policy setting in most situations without causing significant usability issues for most users.

If you do not enable this policy setting, users can select the "Allow Trusted Locations on my network (not recommended)" check box if desired and then specify trusted locations by clicking the "Add new location" button.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Allow Trusted Locations on the network

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations' -Name 'allownetworklocations' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_AllowTrustedLocationsOnTheNetwork

Disable all trusted locations

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations
Value namealllocationsdisabled
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows administrators to disable all trusted locations in the specified applications. Trusted locations specified in the Trust Center are used to define file locations that are assumed to be safe. Content, code, and add-ins are allowed to load from trusted locations with a minimal amount of security, without prompting the users for permission. If a dangerous file is opened from a trusted location, it will not be subject to standard security measures and could harm users' computers or data.

If you enable this policy setting, all trusted locations (those specified in the Trust Center) in the specified applications are ignored, including any trusted locations established by Office 2016 during setup, deployed to users using Group Policy, or added by users themselves. Users will be prompted again when opening files from trusted locations.

If you disable or do not configure this policy setting, all trusted locations (those specified in the Trust Center) in the specified applications are assumed to be safe.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Disable all trusted locations

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations' -Name 'alllocationsdisabled' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DisableTrustedLoc

Trusted Location #1

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location1
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #1

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location1' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location1' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location1' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location1' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc01

Trusted Location #10

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location10
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #10

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location10' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location10' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location10' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location10' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc10

Trusted Location #11

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location11
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #11

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location11' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location11' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location11' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location11' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc11

Trusted Location #12

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location12
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #12

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location12' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location12' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location12' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location12' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc12

Trusted Location #13

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location13
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #13

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location13' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location13' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location13' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location13' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc13

Trusted Location #14

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location14
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #14

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location14' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location14' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location14' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location14' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc14

Trusted Location #15

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location15
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #15

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location15' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location15' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location15' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location15' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc15

Trusted Location #16

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location16
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #16

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location16' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location16' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location16' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location16' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc16

Trusted Location #17

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location17
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #17

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location17' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location17' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location17' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location17' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc17

Trusted Location #18

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location18
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #18

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location18' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location18' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location18' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location18' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc18

Trusted Location #19

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location19
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #19

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location19' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location19' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location19' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location19' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc19

Trusted Location #2

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location2
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #2

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location2' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location2' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location2' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location2' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc02

Trusted Location #20

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location20
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #20

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location20' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location20' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location20' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location20' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc20

Trusted Location #3

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location3
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #3

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location3' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location3' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location3' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location3' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc03

Trusted Location #4

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location4
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #4

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location4' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location4' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location4' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location4' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc04

Trusted Location #5

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location5
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #5

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location5' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location5' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location5' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location5' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc05

Trusted Location #6

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location6
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #6

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location6' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location6' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location6' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location6' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc06

Trusted Location #7

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location7
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #7

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location7' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location7' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location7' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location7' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc07

Trusted Location #8

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location8
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #8

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location8' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location8' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location8' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location8' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc08

Trusted Location #9

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations\location9
OptionValueTypeAllowed values
Path:pathREG_EXPAND_SZText
Date:dateREG_SZText
Description:descriptionREG_SZText
Allow sub folders:allowsubfoldersREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to specify a folder as a trusted location from which to open 2016 Word, Excel, PowerPoint, Access and Visio files. Files in trusted locations bypass file validation, active content checks and Protected View. Macros and code in these files will execute without displaying warnings to the user. If you change or add a location make sure that the new location is secured, with only appropriate user permissions to add document/files.

If you enable this policy setting, you can specify a trusted location (or folder) from which the 2016 Office application can open the files which run macros without warning.

If you disable or do not configure this policy setting, the trusted location is not specified.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Excel Options > Security > Trust Center > Trusted Locations > Trusted Location #9

PowerShell equivalent (generated from the template)
# Path:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location9' -Name 'path' -Value <value> -PropertyType ExpandString -Force
# Date:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location9' -Name 'date' -Value <value> -PropertyType String -Force
# Description:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location9' -Name 'description' -Value <value> -PropertyType String -Force
# Allow sub folders:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations\location9' -Name 'allowsubfolders' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningPrivacy, telemetry and data collectionMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TrustedLoc09

Check for accessibility issues while editing

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value nameenableaccchecker
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether accessibility issues are checked for automatically while the user is editing a workbook. By default, accessibility issues aren’t checked for automatically.

If you enable this policy setting, accessibility issues are checked for automatically and users won’t be able to turn it off. The status bar will indicate if accessibility recommendations are available to make the workbook more usable by people with disabilities.

If you disable or don’t configure this policy setting, accessibility issues won’t be checked for automatically while editing a workbook. Users can turn on automatic checking by going to File > Options > Ease of Access.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > File tab > Check Accessibility > Check for accessibility issues while editing

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'enableaccchecker' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_BackgroundAccessibilityCheckerInformation

Stop checking for alt text accessibility information

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\accchecker
Value namealttext
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting prevents the Accessibility Checker from verifying that objects such as images and shapes contain alternative text.

If you enable this policy setting, the Accessibility Checker will be prevented from verifying that objects such as images and shapes contain alternative text.

If you disable or do not configure this policy setting, objects will be checked for alternative text and any issues will appear in the Accessibility Checker.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > File tab > Check Accessibility > Stop checking for alt text accessibility information

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Name 'alttext' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_StopCheckingAltTextAccessibilityInformation

Stop checking for blank table rows used as formatting

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\accchecker
Value nameblanktablerows
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure Accessibility Checker and whether it checks for blank table rows used as formatting.

If you enable this policy setting, no check for blank table rows used as formatting will be done.

If you disable or do not configure this policy setting, tables will be checked for blank rows and any issues will appear in the Accessibility Checker.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > File tab > Check Accessibility > Stop checking for blank table rows used as formatting

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Name 'blanktablerows' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_StopCheckingForBlankTableRowsUsedAsFormatting

Stop checking for merged cells

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\accchecker
Value namemergedcells
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure whether Accessibility Checker will verify that tables do not have merged cells.

If you enable this policy setting, no check will be made.

If you disable or do not configure this policy setting, worksheets will be checked for merged cells and any issues will appear in the Accessibility Checker.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > File tab > Check Accessibility > Stop checking for merged cells

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Name 'mergedcells' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_StopCheckingForMergedCells

Stop checking for table alt text accessibility information

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\accchecker
Value nametablealttext
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting prevents the Accessibility Checker from verifying that tables contain alternative text.

If you enable this policy setting, the Accessibility Checker will be prevented from verifying that tables contain alternative text.

If you disable or do not configure this policy setting, tables will be checked for alternative text and any issues will appear in the Accessibility Checker.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > File tab > Check Accessibility > Stop checking for table alt text accessibility information

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Name 'tablealttext' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_StopCheckingTableAltTextAccessibilityInformation

Stop checking for table header accessibility information

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\accchecker
Value nametableheaders
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting prevents the Accessibility Checker from verifying that tables have a header row specified.

If you enable this policy setting, the Accessibility Checker will be prevented from verifying that tables have a header row specified.

If you disable or do not configure this policy setting, tables will be checked for header rows and any issues will appear in the Accessibility Checker.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > File tab > Check Accessibility > Stop checking for table header accessibility information

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Name 'tableheaders' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_StopCheckingTableHeaderAccessibilityInformation

Stop checking to ensure hyperlink text is meaningful

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\accchecker
Value namemeaningfulhyperlinks
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting prevents the Accessibility Checker from verifying that hyperlinks have meaningful text.

If you enable this policy setting, the Accessibility Checker will be prevented from verifying that hyperlinks have meaningful text.

If you disable or do not configure this policy setting, hyperlink text will be checked and any issues will appear in the Accessibility Checker.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > File tab > Check Accessibility > Stop checking to ensure hyperlink text is meaningful

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Name 'meaningfulhyperlinks' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_StopCheckingToEnsureHyperlinkTextIsMeaningful

Stop checking to ensure non-default sheet names

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\accchecker
Value namesheetnames
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting prevents the Accessibility Checker from verifying that worksheets with content have non-default names.

If you enable this policy setting, the Accessibility Checker will be prevented from verifying that worksheets with content have non-default names.

If you disable or do not configure this policy setting, worksheet names will be checked and any issues will appear in the Accessibility Checker.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > File tab > Check Accessibility > Stop checking to ensure non-default sheet names

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Name 'sheetnames' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_StopCheckingToEnsureNonDefaultSheetNames

Stop checking to ensure workbooks allow programmatic access

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\accchecker
Value nameprogrammaticaccess
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure Accessibility Checker and whether it checks to ensure that workbooks have not blocked programmatic access through DRM.

If you enable this policy setting, no check will be made.

If you disable or do not configure this policy setting, workbooks will be checked for programmatic access and any issues will appear in the Accessibility Checker.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > File tab > Check Accessibility > Stop checking to ensure workbooks allow programmatic access

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\accchecker' -Name 'programmaticaccess' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_StopCheckingToEnsureWorkbooksAllowProgrammaticAccess

Block all unmanaged add-ins

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\resiliency
Value namerestricttolist
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting blocks all add-ins that are not managed by the "List of managed add-ins" policy setting.

If you enable this policy setting, and the "List of managed add-ins" policy setting is also enabled, all add-ins are blocked except those that are configured as 1 (always enabled) or 2 (configurable by the user) in the "List of managed add-ins" policy setting.

If you disable or do not configure this policy setting, users can enable or disable any add-ins that are not managed by the "List of managed add-ins" policy setting.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Miscellaneous > Block all unmanaged add-ins

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\resiliency' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\resiliency' -Name 'restricttolist' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_BlockAllUnmanagedAddins

Disable Office Scripts in Excel for Windows Desktop

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value namedisableofficescripts
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether Office Scripts (including the relevant commands on the Automate tab) are available for use.

If you enable this policy setting, Office Scripts will not be available for use on the installed Excel app on a desktop.

If you disable or don't configure this policy setting, Office Scripts will be available for use provided all other prerequisites are met, including the applicable Microsoft 365 subscription license.

Note: This policy setting is independent of Office Scripts settings available to administrators in the Microsoft 365 Admin Center. Admin Center settings are always honored by the Excel app regardless of the state of this policy; however, turning on this policy will also hide Office Scripts-related entry points.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Miscellaneous > Disable Office Scripts in Excel for Windows Desktop

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'disableofficescripts' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_ExcelDisableOfficeScripts

Disable the Office Start screen for Excel

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value namedisableboottoofficestart
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether the Office Start screen appears on boot for Excel.

If you enable this policy setting, users will not see the Office Start screen when they boot Excel.

If you disable or do not configure this policy setting, users will see the Office Start screen when they boot Excel.

Note: This policy setting is overridden by the policy setting "Microsoft Office 2016 > Miscellaneous > Disable the Office Start screen for all Office applications" if that policy setting is set.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Miscellaneous > Disable the Office Start screen for Excel

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'disableboottoofficestart' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DisableOfficeStartExcel

Do not cache network files locally

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value namenetworkresiliency
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure whether network files are locally cached when editing spreadsheets stored on network shares.

If you enable this policy setting, a file located on a network share may not be saved if the network connection was lost at any time while editing the file and the file contains a pivot table, VBE code or an embedded OLE object.

If you disable or do not configure this policy setting, network files are locally cached when editing spreadsheets stored on network shares. This may help prevent data loss during network failures.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Miscellaneous > Do not cache network files locally

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'networkresiliency' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DoNotCacheNetworkFilesLocally

Enable four-digit year display

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value nameenablefourdigityeardisplay
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

When this setting is not enabled, Excel follows the Short date style setting under Regional Settings in Control Panel. When this setting is enabled, Excel always displays four digits when you type a date that includes a four-digit year, which may override the Short date style setting under Regional Settings in Control Panel.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Miscellaneous > Enable four-digit year display

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'enablefourdigityeardisplay' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Enablefourdigityeardisplay

Graph gallery path

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\graph\options
OptionValueTypeAllowed values
Graph gallery pathgallerypathREG_EXPAND_SZText
What it does (vendor explanation)

Sets the path where user defined graph templates are stored.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Miscellaneous > Graph gallery path

PowerShell equivalent (generated from the template)
# Graph gallery path
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\graph\options' -Name 'gallerypath' -Value <value> -PropertyType ExpandString -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_Graphgallerypath

List of managed add-ins

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\resiliency\addinlist
Enabled also writessoftware\policies\microsoft\office\16.0\excel\resiliency\addinlist policyon = 1 (REG_DWORD)
Disabled also writessoftware\policies\microsoft\office\16.0\excel\resiliency\addinlist policyon = value deleted
OptionValueTypeAllowed values
List of managed add-ins(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

This policy setting allows you to specify which add-ins are always enabled, always disabled (blocked), or configurable by the user. To block add-ins that are not managed by this policy setting, you must also configure the "Block all unmanaged add-ins" policy setting.

To enable this policy setting, provide the following information for each add-in:

In "Value name," specify the programmatic identifier (ProgID) for COM add-ins, Excel Automation add-ins, and RTD add-ins, or specify the file name of Excel XLL add-ins and Excel add-ins.

To obtain the ProgID for an add-in, use Registry Editor on the client computer where the add-in is installed to locate key names under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Excel\Addins or HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Excel\Addins.

To obtain the file name of an add-in, click the File menu in the application where the add-in is installed. Click Options, click Add-ins, and then use the Location column to determine the file name of the add-in.

You can also obtain the ProgID or the file name of an add-in by using Office Telemetry Dashboard.

In "Value," specify the value as follows:

To specify that an add-in is always disabled (blocked), type 0.

To specify that an add-in is always enabled, type 1.

To specify that an add-in is configurable by the user and not blocked by the "Block all unmanaged add-ins" policy setting when enabled, type 2.

If you disable or do not enable this policy setting, the list of managed add-ins is deleted. If the "Block all unmanaged add-ins" policy setting is enabled, then all add-ins are blocked.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Miscellaneous > List of managed add-ins

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\resiliency\addinlist' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\resiliency\addinlist' -Name 'policyon' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_ListOfManagedAddins

OLAP PivotTable User Defined Function (UDF) security setting

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
OptionValueTypeAllowed values
OLAP PivotTable User Defined Function (UDF) security settingolapudfsecurity1 (REG_DWORD) = Allow ALL UDFs
2 (REG_DWORD) = Allow safe UDFs only
3 (REG_DWORD) = Allow NO UDFs
What it does (vendor explanation)

PivotTable reports can contain OLAP queries with references to User Defined Functions (UDFs). UDFs can be compiled executables, therefore posing a potential security threat. With this setting you can either (1) allow all UDFs in OLAP queries to execute with no IObjectSafety check, (2) allow only UDFs where the developer has used IObjectSafety to mark the UDF as a safe executable, or (3) disable all UDFs from executing in OLAP queries. The effect of setting this key is for Excel to pass the selected value to the OLAP provider.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Miscellaneous > OLAP PivotTable User Defined Function (UDF) security setting

PowerShell equivalent (generated from the template)
# OLAP PivotTable User Defined Function (UDF) security setting
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'olapudfsecurity' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_OLAPPivotTableUserDefinedFunctionUDFsecuritysetting

Personal templates path for Excel

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
OptionValueTypeAllowed values
Personal templates pathpersonaltemplatesREG_EXPAND_SZText
What it does (vendor explanation)

This policy setting specifies the location of a user's personal templates.

If you enable this policy setting, users will see any templates they have saved in the specified location in the custom templates tab on the Office Start screen and in File | New and when saving a template their default folder will change to be the specified location.

If you disable or do not configure this policy setting, users will not see templates they have saved in the custom templates tab on the Office Start screen and in File | New and when saving a template their default folder will be their document save location.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Miscellaneous > Personal templates path for Excel

PowerShell equivalent (generated from the template)
# Personal templates path
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'personaltemplates' -Value <value> -PropertyType ExpandString -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_PersonalTemplatesPath

Show custom templates tab by default in Excel on the Office Start screen and in File | New

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\options
Value nameofficestartdefaulttab
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether custom templates (when they exist) show as the default tab in Excel on the Office Start screen and in File | New.

If you enable this policy setting, users will the see custom templates tab as the default tab in Excel on the Office Start screen and in File | New when templates exist (this can include Custom XML programmed templates, templates in the Workgroup templates path, templates in the Personal templates path, or SharePoint templates).

If you disable or do not configure this policy setting, users will see the Featured templates tab as the default tab in Excel on the Office Start screen and in File | New, unless all Office-provided templates have been disabled.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Miscellaneous > Show custom templates tab by default in Excel on the Office Start screen and in File | New

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\options' -Name 'officestartdefaulttab' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DefaultCustomTab

Turn off file synchronization via SOAP over HTTP

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\common\internet
Value namefsshttpoffexcel
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls file synchronization via SOAP over HTTP for Excel.

If you enable this policy setting, file synchronization via SOAP over HTTP is turned off for Excel.

If you disable or do not configure this policy setting this policy setting, file synchronization via SOAP over HTTP is turned on for Excel.

Note: Turning off file synchronization via SOAP over HTTP will adversely affect the behavior of SharePoint Workspaces.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Miscellaneous > Server Settings > Turn off file synchronization via SOAP over HTTP

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'fsshttpoffexcel' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: excel16.admx · policy name L_TurnOffFileSynchronizationViaSOAPOverHTTP

Disable displaying organization name in the buttons to create PivotTables from Power BI datasets

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\excel\power bi
Value namedisablefrompowerbidatasetorganizationname
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to prevent the organization name from being displayed in the buttons in the Excel ribbon used to create PivotTables from Power BI datasets. By default, the organization name will be shown in the ribbon if it is available from Graph.

If you enable this policy setting, the organization name will not be shown.

If you disable or don’t configure this policy setting, the organization name will be shown.

Note: This policy setting only applies to subscription versions of Office, such as Microsoft 365 Apps for enterprise.

Group Policy path: User Configuration > Administrative Templates > Microsoft Excel 2016 > Power BI > Disable displaying organization name in the buttons to create PivotTables from Power BI datasets

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\power bi' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\power bi' -Name 'disablefrompowerbidatasetorganizationname' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Power managementMicrosoft 365 Apps and OfficeADMX: excel16.admx · policy name L_DisableFromPowerBIDatasetOrganizationName