Open in the explorer

Show files based on your account and cloud provider activity

Afficher les fichiers en fonction de l’activité de votre compte et de votre fournisseur cloud

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › File Explorer FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Explorateur de fichiers
Supported on
At least Windows 11 Version 22H2 FR: Au moins Windows 11 version 22H2
ADMX file
Explorer.admx
Internal name
Explorer/DisableGraphRecentItems

Explanation

Turning off this setting will prevent File Explorer from requesting cloud file metadata and displaying it in the homepage and other views in File Explorer. Any insights and files based on account or cloud provider activity will be stopped in views such as Recent, Recommended, Favorites, Shared, etc.

French text from Windows 11 26H2

La désactivation de ce paramètre empêche l’Explorateur de fichiers de demander les métadonnées du fichier cloud et de les afficher dans la page d’accueil et dans d’autres vues de l’Explorateur de fichiers. Tous les insights et fichiers basés sur l’activité du compte ou du fournisseur de cloud seront suspendus dans les vues telles que Récents, Recommandés, Favoris, Partagés, etc.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Explorer
Value name
DisableGraphRecentItems
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: Explorer/DisableGraphRecentItems
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableGraphRecentItems' -Value 1 -Type DWord

Disable

# Disable: Explorer/DisableGraphRecentItems
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableGraphRecentItems' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": Explorer/DisableGraphRecentItems
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'DisableGraphRecentItems' -ErrorAction SilentlyContinue

Availability

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016