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
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.
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
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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 DWordDisable
# 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 DWordRevert to "Not configured"
# Revert to "Not configured": Explorer/DisableGraphRecentItems
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'DisableGraphRecentItems' -ErrorAction SilentlyContinue