Run Programs
| Registry value | runprograms |
| Group Policy | Run Programs |
| German version | Programme ausführen |
| Intune settings catalog | Run Programs (User) |
| Scope | User · HKCU |
| ADMX | ppt16.admx · L_RunPrograms |
Group Policy path
Registry
| Value | Data |
|---|---|
HKCU\Software\policies\microsoft\office\16.0\powerpoint\security | |
| runprograms | 0 = disable (don't run any programs) · 1 = enable (prompt user before running) · 2 = enable all (run without prompting) |
Not configured = the value does not exist – the application default applies and users may change the setting.
PowerShell
Check the current value (read-only)
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
$key = "$root\Software\policies\microsoft\office\16.0\powerpoint\security"
foreach ($name in @('runprograms')) {
try { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
catch { '{0}: not configured' -f $name }
}Admin rights needed: HKCU\Software\Policies is read-only for standard users. An elevated session writes to the admin's own HKCU – to set it for another signed-in user, change $root to Registry::HKEY_USERS\<SID>.
Enable
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
try {
$key = "$root\Software\policies\microsoft\office\16.0\powerpoint\security"
if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
New-ItemProperty -Path $key -Name 'runprograms' -PropertyType DWord -Value 0 -Force -ErrorAction Stop | Out-Null # options: 0 = disable (don't run any programs), 1 = enable (prompt user before running), 2 = enable all (run without prompting)
'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }Reset to Not configured
# --- Settings --- $root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>' $key = "$root\Software\policies\microsoft\office\16.0\powerpoint\security" Remove-ItemProperty -Path $key -Name 'runprograms' -ErrorAction SilentlyContinue 'Policy values removed (Not configured).'
Intune (settings catalog)
Run Programs (User)
Settings catalog → Add settings → search for the name above.
Intune Settings Catalog Viewer ↗
Alternative: custom profile (OMA-URI)
| OMA-URI | ./User/Vendor/MSFT/Policy/Config/ppt16v2~Policy~L_MicrosoftOfficePowerPoint~L_PowerPointOptions~L_Security/L_RunPrograms |
| Data type | String |
| Value | <enabled/> · <disabled/> |
This policy has options: add one <data id="…" value="…"/> per element after <enabled/>. The element IDs are in the ADMX file.
Cloud Policy
Cloud Policy (config.office.com → Customization → Policy Management) offers many user policies of the Microsoft 365 Apps – search for Run Programs. It also applies to unmanaged devices and wins over GPO and Intune for the same setting.
Microsoft 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).
Same category: Microsoft PowerPoint 2016 › PowerPoint Options › Security
- Turn off file validationenableonload
- Scan encrypted macros in PowerPoint Open XML presentationspowerpointbypassencryptedmacroscan
- OLE Active Contentenableoleactions
- Make hidden markup visiblemarkupopensave
- Unblock automatic download of linked imagesdownloadimages
All policies in this category · All 143 policies of ppt16.admx