Maximum allowed Recycle Bin size: registry value RecycleBinSizeUserHKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Policy ID
RecycleBinSize
Scope
User Configuration
Supported on
Windows Server 2003, Windows XP, and Windows 2000 only
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › File Explorer

Registry

RecycleBinSize

REG_DWORDUser
Enabled value
Depends on the option value
Element
Maximum Recycle Bin size:
Value type
REG_DWORD
Maximum value
100
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"RecycleBinSize"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "RecycleBinSize" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -Name 'RecycleBinSize' -PropertyType DWord -Value '<enter value>' -Force | Out-Null