Open in the explorer

Run Programs

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Microsoft PowerPoint 2016 › PowerPoint Options › Security
Supported on
At least Windows Server 2008 R2 or Windows 7
ADMX file
ppt16.admx
Internal name
ppt16/L_RunPrograms

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 DWord

Disable

# 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 SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
L_EmptyDrop-down listenumrunprogramsREG_DWORD
Default choice (UI): #0
LabelValue
disable (don't run any programs)REG_DWORD = 0
enable (prompt user before running)REG_DWORD = 1
enable all (run without prompting)REG_DWORD = 2

Application

Microsoft 365 Apps / Office (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.