Open in the explorer

Do not open files in unsafe locations in Protected View

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

Explanation

This policy setting lets you determine if files located in unsafe locations will open in Protected View. If you have not specified unsafe locations, only the "Downloaded Program Files" and "Temporary Internet Files" folders are considered unsafe locations.

If you enable this policy setting, files located in unsafe locations do not open in Protected View.

If you disable or do not configure this policy setting, files located in unsafe locations open in Protected View.

Registry

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\powerpoint\security\protectedview
Value name
disableunsafelocationsinpv
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

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_DoNotOpenFilesInUnsafeLocationsInProtectedView
$k = 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\protectedview'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'disableunsafelocationsinpv' -Value 1 -Type DWord

Disable

# Disable: ppt16/L_DoNotOpenFilesInUnsafeLocationsInProtectedView
$k = 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\protectedview'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'disableunsafelocationsinpv' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": ppt16/L_DoNotOpenFilesInUnsafeLocationsInProtectedView
$k = 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\protectedview'
Remove-ItemProperty -Path $k -Name 'disableunsafelocationsinpv' -ErrorAction SilentlyContinue

Application

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

Official templates downloaded on November 12, 2026.