en-US office computer

Block Folders for Copilot Device Access

Verified with Microsoft 365/Office 5568.1000 — updated on September 2, 2026

Microsoft 365/Office 5568.1000

Supported on: At least Windows Server 2016, Windows 10

Path in the GPO console

Computer Configuration\Administrative Templates\Microsoft Office 2016 (Machine)\Microsoft 365 Copilot

Description

This policy setting allows administrators to define which folders (local or network) Copilot cannot access. If you enable this policy setting, Copilot is blocked from accessing the folders listed in this policy. If you disable or don't configure this policy setting, only built-in protections for system/network locations apply. For more information, see https://aka.ms/copilot-device-tools Note: This policy setting only applies to subscription versions of Microsoft 365 Copilot on Windows and macOS desktop apps.

Registry

HKLM software\policies\microsoft\office\16.0\common\copilot\blockedfilepaths

More options available

Options

Blocked folders:
List (registry values) list

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Block Folders for Copilot Device Access
; State: Enabled
; Supported on: At least Windows Server 2016, Windows 10

[HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\common\copilot\blockedfilepaths]
; List values: enter one value per line in the builder UI.
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Block Folders for Copilot Device Access
# State: Enabled
# Supported on: At least Windows Server 2016, Windows 10

$path = 'HKLM:\software\policies\microsoft\office\16.0\common\copilot\blockedfilepaths'
New-Item -Path $path -Force | Out-Null
# List values: enter one value per line in the builder UI.

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview