Run Programs
Explanation
This policy setting controls the prompting and activation behavior for the "Run Programs" option for action buttons in PowerPoint.
If you enable this policy setting, you can choose from three options to control how the "Run Programs" option functions:
- Disable (don't run any programs). If users click an action button with the "Run Programs" action assigned to it, nothing will happen. This option enforces the default configuration in PowerPoint.
- Enable (prompt user before running). If users click an action button with the "Run Programs" action assigned to it, PowerPoint will prompt them to continue before running the program.
- Enable all (run without prompting). If users click an action button with the "Run Programs" action assigned to it. PowerPoint will run the program automatically, without prompting.
If you disable or do not configure this policy setting, if users click an action with the "Run Programs" action assigned to it, nothing will happen. This behavior is the same as Enabled -- Disable (don't run any programs).
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\powerpoint\security- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: ppt16/L_RunPrograms
$k = 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
#
# Possible options:
# disable (don't run any programs) = 0
# enable (prompt user before running) = 1
# enable all (run without prompting) = 2
Set-ItemProperty -Path $k -Name 'runprograms' -Value 0 -Type DWordDisable
# Disable: ppt16/L_RunPrograms
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": ppt16/L_RunPrograms
$k = 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security'
Remove-ItemProperty -Path $k -Name 'runprograms' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| L_Empty | Drop-down listenum | runprograms | REG_DWORD | Default choice (UI): #0
|
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.