Disable Office Scripts in Excel for Windows Desktop
Jump to overview

Policy overview

Key metadata and intent for this policy.

User
Category
Microsoft Excel 2016 > Miscellaneous
Supported on
Windows7

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.

Internal name
L_ExcelDisableOfficeScripts
Policy ID
d06607c66278
Elements
0

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
User
Path
software\policies\microsoft\office\16.0\excel\options
Value name
disableofficescripts
REG_DWORD
HKCU
1
HKCU
0
Registry location
Type REG_DWORD · User
Path
software\policies\microsoft\office\16.0\excel\options
Value name
disableofficescripts
Hive
HKCU
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

This policy has no additional user input fields.