Set maximum application caches storage limit for all domains
Définir la limite de stockage maximale des caches d’applications pour tous les domaines
Explanation
This policy setting sets the file storage limit for all combined application caches for a user. When you set this policy setting, you provide the storage limit in MB. When the limit is reached, Internet Explorer notifies the user, and the user must delete application caches before an updated one can be saved on their computer. The default maximum storage limit for all application caches is 1 GB.
If you enable this policy setting, you can set the maximum storage limit for all application caches. The default is 1 GB.
If you disable or do not configure this policy setting, Internet Explorer will use the default maximum storage limit for all application caches. The default is 1 GB.
Ce paramètre de stratégie définit la limite de stockage de fichiers de tous les caches d’applications pour un utilisateur. Lorsque vous définissez ce paramètre de stratégie, vous indiquez la limite de stockage en Mo. Lorsque la limite est atteinte, Internet Explorer avertit l’utilisateur. Ce dernier doit supprimer les caches d’applications pour permettre l’enregistrement de mises à jour de cache d’application sur son ordinateur. La limite de stockage maximale par défaut pour tous les caches d’applications est de 1 Go.
Si vous activez ce paramètre de stratégie, vous pouvez définir la limite de stockage maximale de tous les caches d’applications. La valeur par défaut est 1 Go.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, Internet Explorer utilise la limite de stockage maximale par défaut pour tous les caches d’applications. La valeur par défaut est 1 Go.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\BrowserStorage\AppCacheHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\BrowserStorage\AppCache- 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.
Computer (HKLM)
Enable
# Enable: inetres/AppCache_TotalLimitInMB
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserStorage\AppCache'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Total Storage Limit
Set-ItemProperty -Path $k -Name 'TotalLimitInMB' -Value 1024 -Type DWord # between 1 and 99999Disable
# Disable: inetres/AppCache_TotalLimitInMB
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/AppCache_TotalLimitInMB
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserStorage\AppCache'
Remove-ItemProperty -Path $k -Name 'TotalLimitInMB' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Total Storage LimitLimite de stockage totaleAppCache_TotalLimitInMBPart | Numeric boxdecimal | TotalLimitInMB | REG_DWORD | Required · Min: 1 · Max: 99999 · Default (UI): 1024 |