Open in the explorer

Disable caching of Auto-Proxy scripts

Désactiver la mise en cache des scripts de proxy automatiques

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer
Supported on
At least Internet Explorer 5.0 FR: Au moins Internet Explorer 5.0
ADMX file
inetres.admx
Internal name
inetres/AutoProxyCache

Explanation

Prevents automatic proxy scripts, which interact with a server to automatically configure users' proxy settings, from being stored in the users' cache.

If you enable this policy, automatic proxy scripts will not be stored temporarily on the users' computer.

If you disable this policy or do not configure it, automatic proxy scripts can be stored in the users' cache.

French text from Windows 11 26H2

Empêche de sauvegarder dans le cache utilisateur les scripts de proxy automatiques, qui interagissent avec un serveur pour configurer automatiquement les paramètres de proxy de l’utilisateur.

Si vous activez ce paramètre de stratégie, les scripts de proxy automatiques ne sont pas sauvegardés temporairement dans l’ordinateur de l’utilisateur.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les scripts de proxy automatiques peuvent être sauvegardés dans le cache de l’utilisateur.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings
Value name
EnableAutoProxyResultCache
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 1

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: inetres/AutoProxyCache
$k = 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableAutoProxyResultCache' -Value 0 -Type DWord

Disable

# Disable: inetres/AutoProxyCache
$k = 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableAutoProxyResultCache' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": inetres/AutoProxyCache
$k = 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
Remove-ItemProperty -Path $k -Name 'EnableAutoProxyResultCache' -ErrorAction SilentlyContinue

Availability