Always prevent untrusted Microsoft Query files from opening
- Policy ID
- L_EnableBlockUnsecureQueryFiles
- Scope
- User Configuration
- Supported on
- At least Windows Server 2008 R2 or Windows 7
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Category
- Microsoft Excel 2016 › Excel Options › Security › Trust Center › External Content
Description
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.
Registry
UserHKEY_CURRENT_USER
- enableblockunsecurequeryfilesREG_DWORD