Always prevent untrusted Microsoft Query files from opening
Jump to overview

Policy overview

Key metadata and intent for this policy.

User
Category
Microsoft Excel 2016 > Excel Options > Security > Trust Center > External Content
Supported on
Windows7

This policy setting controls whether Microsoft Query files (.iqy, oqy, .dqy, and .rqy) in an untrusted location are prevented from opening. If you enable this policy setting, Microsoft Query files in an untrusted location are prevented from opening. Users will not be able to change this setting under File > Options > Trust Center > Trust Center Settings > External Content. If you disable or don’t configure this policy setting, Microsoft Query files in an untrusted location are not prevented from opening, unless users have changed this setting in the Trust Center. Note: This policy setting only applies to subscription versions of Office, such as Microsoft 365 Apps for enterprise.

Internal name
L_EnableBlockUnsecureQueryFiles
Policy ID
3c1ad4aa4c1d
Elements
0

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
User
Path
software\policies\microsoft\office\16.0\excel\security\external content
Value name
enableblockunsecurequeryfiles
REG_DWORD
HKCU
1
HKCU
0
Registry location
Type REG_DWORD · User
Path
software\policies\microsoft\office\16.0\excel\security\external content
Value name
enableblockunsecurequeryfiles
Hive
HKCU
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

This policy has no additional user input fields.