Disable Office Scripts in Excel for Windows Desktop

Policy ID
L_ExcelDisableOfficeScripts
Scope
User Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Excel 2016 › Miscellaneous

Description

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.

Registry

UserHKEY_CURRENT_USER
  • disableofficescriptsREG_DWORD

Other policies in the same category

View all policies in this category (10)