Policy
Disable Office Scripts in Excel for Windows Desktop
Microsoft Office 5532.1000
Policy overview
Key metadata and intent for this policy.
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 values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKCU\software\policies\microsoft\office\16.0\excel\options\disableofficescripts | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- UserBlock all unmanaged add-insWindows7
- UserDisable the Office Start screen for ExcelWindows7
- UserDo not cache network files locallyWindows7
- UserEnable four-digit year displayWindows7
- UserGraph gallery pathWindows7
- UserList of managed add-insWindows7
- UserOLAP PivotTable User Defined Function (UDF) security settingWindows7
- UserPersonal templates path for ExcelWindows7
- UserShow custom templates tab by default in Excel on the Office Start screen and in File | NewWindows7