Open in the explorer

Maximum allowed Recycle Bin size

Taille maximale autorisée de la Corbeille

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › File Explorer FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Explorateur de fichiers
Supported on
Windows Server 2003, Windows XP, and Windows 2000 only FR: Windows Server 2003, Windows XP et Windows 2000 uniquement
ADMX file
WindowsExplorer.admx
Internal name
WindowsExplorer/RecycleBinSize

Explanation

Limits the percentage of a volume's disk space that can be used to store deleted files.

If you enable this setting, the user has a maximum amount of disk space that may be used for the Recycle Bin on their workstation.

If you disable or do not configure this setting, users can change the total amount of disk space used by the Recycle Bin.

Note: This setting is applied to all volumes.

French text from Windows 11 26H2

Limite le pourcentage d’espace disque d’un volume qui peut être utilisé pour stocker les fichiers supprimés.

Si vous activez ce paramètre, l’utilisateur disposera de la quantité d’espace disque maximale pouvant être utilisée pour la Corbeille sur son poste de travail.

Si vous désactivez ce paramètre ou si vous ne le configurez pas, les utilisateurs pourront modifier la quantité totale d’espace disque utilisée par la Corbeille.

Remarque : ce paramètre est appliqué à tous les volumes.

Registry

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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: WindowsExplorer/RecycleBinSize
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Maximum Recycle Bin size
Set-ItemProperty -Path $k -Name 'RecycleBinSize' -Value 10 -Type DWord  # maximum 100

Disable

# Disable: WindowsExplorer/RecycleBinSize
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Maximum Recycle Bin size:Taille maximale de la Corbeille :RecycleBinSizeSpinNumeric boxdecimalRecycleBinSizeREG_DWORD
Max: 100 · Default (UI): 10

Availability